[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/gnue-common INSTALL gnue/common/GConnectio...
From: |
Jason Cater |
Subject: |
gnue/gnue-common INSTALL gnue/common/GConnectio... |
Date: |
Fri, 25 May 2001 01:03:32 -0700 |
CVSROOT: /home/cvs
Module name: gnue
Changes by: Jason Cater <address@hidden> 01/05/25 01:03:01
Modified files:
gnue-common : INSTALL
gnue-common/gnue/common: GConnections.py GDataSource.py
Added files:
gnue-common/doc: WritingClientApps.txt
Log message:
Added documentation and a few other minor changes
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/INSTALL.diff?cvsroot=OldCVS&tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/doc/WritingClientApps.txt?cvsroot=OldCVS&rev=1.1
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/gnue/common/GConnections.py.diff?cvsroot=OldCVS&tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue-common/gnue/common/GDataSource.py.diff?cvsroot=OldCVS&tr1=1.3&tr2=1.4&r1=text&r2=text
Patches:
Index: gnue/gnue-common/INSTALL
diff -u gnue/gnue-common/INSTALL:1.1 gnue/gnue-common/INSTALL:1.2
--- gnue/gnue-common/INSTALL:1.1 Wed Apr 11 09:43:44 2001
+++ gnue/gnue-common/INSTALL Fri May 25 01:03:01 2001
@@ -5,3 +5,8 @@
for help:
./setup.py --help
+
+
+After installing, if you plan on connecting to databases,
+you will need to set up your connections definition file.
+See doc/Connections.txt for more information.
Index: gnue/gnue-common/gnue/common/GConnections.py
diff -u gnue/gnue-common/gnue/common/GConnections.py:1.4
gnue/gnue-common/gnue/common/GConnections.py:1.5
--- gnue/gnue-common/gnue/common/GConnections.py:1.4 Thu May 17 11:59:32 2001
+++ gnue/gnue-common/gnue/common/GConnections.py Fri May 25 01:03:01 2001
@@ -127,7 +127,7 @@
for att in self._parser.options(connection_name):
rv[att] = self._parser.get(connection_name, att)
else:
- raise NotFoundError
+ raise NotFoundError
return rv
Index: gnue/gnue-common/gnue/common/GDataSource.py
diff -u gnue/gnue-common/gnue/common/GDataSource.py:1.3
gnue/gnue-common/gnue/common/GDataSource.py:1.4
--- gnue/gnue-common/gnue/common/GDataSource.py:1.3 Fri May 18 08:51:52 2001
+++ gnue/gnue-common/gnue/common/GDataSource.py Fri May 25 01:03:01 2001
@@ -94,8 +94,60 @@
'table': (0, 0, char, None),
'cache': (0, 0, int, None),
'prequery': (0, 0, bool, 0),
- 'order_by': (0, 0, char, None) }
+ 'order_by': (0, 0, char, None),
+ 'master': (0, 0, char, None),
+ 'masterlink': (0, 0, char, None),
+ 'detaillink': (0, 0, char, None) }
xmlElements = {
'sql': (GSql, { }, 1) }
+
+
+
+####
+# These may be used by an xml-query based DataSource later
+# 'query': (GRQquery, { 'id': (1, 1, char, None),
+# 'uniqueness': (0, 0, char, None)}, 1),
+# 'fields': (GRQfields, { }, 1),
+# 'subquery': (GRQsubquery, { }, 1),
+# 'fields': (GRQfields, { }, 1),
+# 'columns': (GRQcolumns, { }, 1),
+# 'field': (GRQfield, { 'id': (1, 1, char, None)}, 1),
+# 'subcolumn': (GRQsubcolumn,{ }, 1),
+# 'source': (GRQsource, { 'id': (1, 1, char, None)}, 1),
+# 'table': (GRQtable, { 'name': (1, 0, char, None)}, 1),
+# 'func': (GRQfunc, { 'name': (1, 0, char, None)}, 1),
+# 'column': (GRQcolumn, { 'name': (1, 0, char, None)}, 1),
+# 'sources': (GRQsources, { }, 1),
+# 'conditions': (GRQconditions,{ }, 1),
+# 'groupby': (GRQgroupby, { }, 1),
+# 'having': (GRQhaving, { }, 1),
+# 'union': (GRQunion, { 'type': (1, 0, char, None)}, 1),
+# 'const': (GRQconst, { 'type': (1, 0, char, None)}, 1),
+# 'add': (GRQadd, { }, 1),
+# 'sub': (GRQsub, { }, 1),
+# 'mul': (GRQmul, { }, 1),
+# 'div': (GRQdiv, { }, 1),
+# 'and': (GRQand, { }, 1),
+# 'or': (GRQor, { }, 1),
+# 'not': (GRQnot, { }, 1),
+# 'negate': (GRQnegate, { }, 1),
+# 'eq': (GRQeq, { }, 1),
+# 'ne': (GRQne, { }, 1),
+# 'gt': (GRQgt, { }, 1),
+# 'ge': (GRQge, { }, 1),
+# 'lt': (GRQlt, { }, 1),
+# 'le': (GRQle, { }, 1),
+# 'like': (GRQlike, { }, 1),
+# 'notlike': (GRQnotlike, { }, 1),
+# 'between': (GRQbetween, { }, 1),
+# 'notbetween': (GRQnotbetween,{ }, 1),
+# 'count': (GRQcount, { }, 1),
+# 'countdistinct':(GRQcountdistinct,{ }, 1),
+# 'countall': (GRQcountall, { }, 1),
+# 'sum': (GRQsum, { }, 1),
+# 'avg': (GRQavg, { }, 1),
+# 'max': (GRQmax, { }, 1),
+# 'min': (GRQmin, { }, 1)
+####
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/gnue-common INSTALL gnue/common/GConnectio...,
Jason Cater <=