johannes | 1 Mar 2004 10:50

r5200 - in trunk/gnue-common: doc scripts

Author: johannes
Date: 2004-03-01 03:50:52 -0600 (Mon, 01 Mar 2004)
New Revision: 5200

Modified:
   trunk/gnue-common/doc/gnue-schema.dtd
   trunk/gnue-common/scripts/gnuedtd
Log:
Fixed imports in gnuedtd and updated the gnue-schema.dtd to reflect the recent
changes in GSParser.py

Modified: trunk/gnue-common/doc/gnue-schema.dtd
===================================================================
--- trunk/gnue-common/doc/gnue-schema.dtd	2004-03-01 09:48:42 UTC (rev 5199)
+++ trunk/gnue-common/doc/gnue-schema.dtd	2004-03-01 09:50:52 UTC (rev 5200)
 <at>  <at>  -1,7 +1,7  <at>  <at> 
-<!-- GNUe Schema DTD (Version 0.4.0a) -->
+<!-- GNUe Schema DTD (Version 0.5.2.99) -->

 <!--
-     Copyright 2001-2002 Free Software Foundation
+     Copyright 2001-2004 Free Software Foundation

      This file is part of GNU Enterprise.

 <at>  <at>  -47,7 +47,7  <at>  <at> 
 <!-- ================= -->
 <!-- Top level element -->
 <!-- ================= -->
-<!ELEMENT schema (data?, tables?)>
(Continue reading)

johannes | 1 Mar 2004 11:32

r5201 - trunk/gnue-common/src/datasources/drivers/appserver/appserver

Author: johannes
Date: 2004-03-01 04:32:06 -0600 (Mon, 01 Mar 2004)
New Revision: 5201

Modified:
   trunk/gnue-common/src/datasources/drivers/appserver/appserver/DataObject.py
   trunk/gnue-common/src/datasources/drivers/appserver/appserver/ResultSet.py
Log:
Added support of a fetchcount.

Modified: trunk/gnue-common/src/datasources/drivers/appserver/appserver/DataObject.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/appserver/appserver/DataObject.py	2004-03-01
09:50:52 UTC (rev 5200)
+++ trunk/gnue-common/src/datasources/drivers/appserver/appserver/DataObject.py	2004-03-01
10:32:06 UTC (rev 5201)
 <at>  <at>  -103,7 +103,8  <at>  <at> 
       tmsg = _("Error during creation of object list \n\n --- %s ---)") % msg
       raise Exceptions.ConnectionError, tmsg

-    rs = self._resultSetClass(self, cursor=listcursor, masterRecordSet=None)
+    rs = self._resultSetClass (self, cursor=listcursor, masterRecordSet=None,
+                               fetchcount = self.cache)

     if readOnly: 
       rs._readonly = readOnly

Modified: trunk/gnue-common/src/datasources/drivers/appserver/appserver/ResultSet.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/appserver/appserver/ResultSet.py	2004-03-01
(Continue reading)

reinhard | 1 Mar 2004 10:48

r5199 - in trunk: gnue-appserver gnue-common

Author: reinhard
Date: 2004-03-01 03:48:42 -0600 (Mon, 01 Mar 2004)
New Revision: 5199

Modified:
   trunk/gnue-appserver/ROADMAP.in
   trunk/gnue-appserver/TODO
   trunk/gnue-common/ROADMAP.in
   trunk/gnue-common/TODO
Log:
Updated roadmap.

Modified: trunk/gnue-appserver/ROADMAP.in
===================================================================
--- trunk/gnue-appserver/ROADMAP.in	2004-02-29 21:52:37 UTC (rev 5198)
+++ trunk/gnue-appserver/ROADMAP.in	2004-03-01 09:48:42 UTC (rev 5199)
 <at>  <at>  -41,6 +41,10  <at>  <at> 

     direct select/update access through new connection object (*)

+  [Class Repository]
+
+    gnue_nonull property for properties
+
   [Management Interface]

     add a Management interface with a safe 'shutdown' command.

Modified: trunk/gnue-appserver/TODO
===================================================================
(Continue reading)

johannes | 1 Mar 2004 13:49

r5202 - trunk/gnue-common/src/schema/scripter/processors

Author: johannes
Date: 2004-03-01 06:49:39 -0600 (Mon, 01 Mar 2004)
New Revision: 5202

Modified:
   trunk/gnue-common/src/schema/scripter/processors/Base.py
Log:
Use mx.DateTime.now () for the timestamp instead of strftime (), since the
latter one isn't unicode-safe :)

Modified: trunk/gnue-common/src/schema/scripter/processors/Base.py
===================================================================
--- trunk/gnue-common/src/schema/scripter/processors/Base.py	2004-03-01 10:32:06 UTC (rev 5201)
+++ trunk/gnue-common/src/schema/scripter/processors/Base.py	2004-03-01 12:49:39 UTC (rev 5202)
 <at>  <at>  -22,7 +22,7  <at>  <at> 

 from string import join
 from types import ListType, StringType
-from time import strftime
+from mx.DateTime import now

 # =============================================================================
 # Exceptions
 <at>  <at>  -133,11 +133,15  <at>  <at> 
     This method writes the 'text' (string/list) to the destination using 
     encoding. If text is a sequence it will be joined with newlines first.
     """
+
     if isinstance (text, ListType):
       astr = join (text, "\n") + u"\n"
(Continue reading)

johannes | 1 Mar 2004 14:04

r5203 - trunk/gnue-common/src/schema/scripter/processors

Author: johannes
Date: 2004-03-01 07:04:43 -0600 (Mon, 01 Mar 2004)
New Revision: 5203

Modified:
   trunk/gnue-common/src/schema/scripter/processors/Base.py
Log:
Removed debug-output

Modified: trunk/gnue-common/src/schema/scripter/processors/Base.py
===================================================================
--- trunk/gnue-common/src/schema/scripter/processors/Base.py	2004-03-01 12:49:39 UTC (rev 5202)
+++ trunk/gnue-common/src/schema/scripter/processors/Base.py	2004-03-01 13:04:43 UTC (rev 5203)
 <at>  <at>  -139,9 +139,6  <at>  <at> 
     else:
       astr = text

-    if isinstance (astr, StringType):
-      print "astr is stringtype"
-
     self.destination.write (astr.encode (self.encoding))
johannes | 1 Mar 2004 14:09

r5204 - trunk/gnue-appserver/samples

Author: johannes
Date: 2004-03-01 07:09:17 -0600 (Mon, 01 Mar 2004)
New Revision: 5204

Modified:
   trunk/gnue-appserver/samples/auth.gsd
   trunk/gnue-appserver/samples/base.gsd
   trunk/gnue-appserver/samples/sample.gfd
   trunk/gnue-appserver/samples/sample.gsd
Log:
Added column-definitions to the gsd-files.


Modified: trunk/gnue-appserver/samples/auth.gsd
===================================================================
--- trunk/gnue-appserver/samples/auth.gsd	2004-03-01 13:04:43 UTC (rev 5203)
+++ trunk/gnue-appserver/samples/auth.gsd	2004-03-01 13:09:17 UTC (rev 5204)
 <at>  <at>  -24,58 +24,87  <at>  <at> 
   </tables>
   <data>
     <tabledata name="gnue_class_dump" tablename="gnue_class">
+      <definition>
+        <column field="gnue_comment" type="string(70)"/>
+        <column field="gnue_id" type="string(32)"/>
+        <column field="gnue_module" type="string(32)"/>
+        <column field="gnue_name" type="string(35)"/>
+      </definition>
       <rows>
         <row>
-          <value field="gnue_id" type="string(32)">00000000000000000000000000000060</value>
(Continue reading)

johannes | 1 Mar 2004 14:30

r5205 - in trunk/gnue-common/src/schema: . scripter/processors

Author: johannes
Date: 2004-03-01 07:30:24 -0600 (Mon, 01 Mar 2004)
New Revision: 5205

Modified:
   trunk/gnue-common/src/schema/GSData.py
   trunk/gnue-common/src/schema/scripter/processors/HTML.py
Log:
Fixed unquoteString (), so it only removes quotes which are at the begin AND
end of the string. Fixed HTML-processor to use mx.DateTime instead of strftime

Modified: trunk/gnue-common/src/schema/GSData.py
===================================================================
--- trunk/gnue-common/src/schema/GSData.py	2004-03-01 13:09:17 UTC (rev 5204)
+++ trunk/gnue-common/src/schema/GSData.py	2004-03-01 13:30:24 UTC (rev 5205)
 <at>  <at>  -368,10 +368,8  <at>  <at> 
   This function strips away leading and trailling quotes (single or double)
   from a string.
   """
-  if len (aString) and aString [0] in ['"', "'"]:
-    aString = aString [1:]
+  if len (aString) > 1 and aString [0] in ['"', "'"]:
+    if aString [-1] == aString [0]:
+      aString = aString [1:-1]

-  if len (aString) and aString [-1] in ['"', "'"]:
-    aString = aString [:-1]
-
   return aString

(Continue reading)

reinhard | 1 Mar 2004 19:05

r5206 - in trunk: gnue-designer gnue-forms gnue-navigator gnue-reports

Author: reinhard
Date: 2004-03-01 12:05:54 -0600 (Mon, 01 Mar 2004)
New Revision: 5206

Modified:
   trunk/gnue-designer/MANIFEST.in
   trunk/gnue-forms/MANIFEST.in
   trunk/gnue-navigator/MANIFEST.in
   trunk/gnue-reports/MANIFEST.in
Log:
Updated list of distributable files to not include .svn directories.

Modified: trunk/gnue-designer/MANIFEST.in
===================================================================
--- trunk/gnue-designer/MANIFEST.in	2004-03-01 13:30:24 UTC (rev 5205)
+++ trunk/gnue-designer/MANIFEST.in	2004-03-01 18:05:54 UTC (rev 5206)
 <at>  <at>  -7,8 +7,15  <at>  <at> 
 include README
 include TODO

+include doc/*
+include doc/man/*
+include doc/technotes/*
+
 include images/*
-include scripts/gnue-designer

-recursive-include doc *
-recursive-include packaging *
+include packaging/debian/*
(Continue reading)

reinhard | 1 Mar 2004 20:20

r5207 - in trunk/gnue-appserver: doc/technotes src src/classrep

Author: reinhard
Date: 2004-03-01 13:20:36 -0600 (Mon, 01 Mar 2004)
New Revision: 5207

Modified:
   trunk/gnue-appserver/doc/technotes/00002.txt
   trunk/gnue-appserver/src/classrep/Procedure.py
   trunk/gnue-appserver/src/classrep/Property.py
   trunk/gnue-appserver/src/geasInstance.py
Log:
Introduced module property for Property and Procedure objects in class
repository.

Modified: trunk/gnue-appserver/doc/technotes/00002.txt
===================================================================
--- trunk/gnue-appserver/doc/technotes/00002.txt	2004-03-01 18:05:54 UTC (rev 5206)
+++ trunk/gnue-appserver/doc/technotes/00002.txt	2004-03-01 19:20:36 UTC (rev 5207)
 <at>  <at>  -60,6 +60,7  <at>  <at> 
 Apart from that, the Python object of class "Property" has the following
 properties:

+* module:     The module defining the property
 * fullName:   The fully qualified name
 * fullType:   The complete data type of the property, including length and 
               scale. This is the appserver-specific data type, e.g. a column
 <at>  <at>  -76,3 +77,17  <at>  <at> 
               'gnue_id' has 'string(32)' as dbFullType, as well as the above
               'address_country' column would be 'string(32)'. A column with
               fullType 'boolean' has a dbFullType 'boolean'.
+
(Continue reading)

reinhard | 1 Mar 2004 22:53

r5208 - trunk/gnue-forms/samples/intro

Author: reinhard
Date: 2004-03-01 15:53:28 -0600 (Mon, 01 Mar 2004)
New Revision: 5208

Modified:
   trunk/gnue-forms/samples/intro/PigLatinPublicDomain.txt
Log:
Removed executable property.

Property changes on: trunk/gnue-forms/samples/intro/PigLatinPublicDomain.txt
___________________________________________________________________
Name: svn:executable
   - *

Gmane