dimas | 1 Aug 2004 17:03

r6113 - trunk/gnue-appserver/po

Author: dimas
Date: 2004-08-01 10:03:09 -0500 (Sun, 01 Aug 2004)
New Revision: 6113

Modified:
   trunk/gnue-appserver/po/ru.po
Log:
Initial translation for appserver's ru.po file.

Modified: trunk/gnue-appserver/po/ru.po
===================================================================
--- trunk/gnue-appserver/po/ru.po	2004-07-31 18:44:32 UTC (rev 6112)
+++ trunk/gnue-appserver/po/ru.po	2004-08-01 15:03:09 UTC (rev 6113)
 <at>  <at>  -3,47 +3,47  <at>  <at> 
 "Project-Id-Version: PACKAGE VERSION\n"
 "POT-Creation-Date: Fri Jul 23 10:27:56 2004\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: Dmitry Sorokin <ds <at> ics.elcom.ru>\n"
-"Language-Team: Dmitry Sorokin <ds <at> ics.elcom.ru>\n"
+"Last-Translator: Dmitry Sorokin <ds <at> vbc.elcom.ru>\n"
+"Language-Team: Dmitry Sorokin <ds <at> vbc.elcom.ru>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=koi8-r\n"
 "Content-Transfer-Encoding: 8bit\n"

 #: classrep/Base.py:153
 msgid "%s: _getSingleCondition() not implemented!"
-msgstr ""
+msgstr "%s: _getSingleCondition() не реализована!"

(Continue reading)

jcater | 1 Aug 2004 22:06

r6116 - in trunk: gnue-common gnue-reports

Author: jcater
Date: 2004-08-01 15:06:24 -0500 (Sun, 01 Aug 2004)
New Revision: 6116

Modified:
   trunk/gnue-common/setup-cvs.py
   trunk/gnue-common/setup.cvs
   trunk/gnue-reports/setup.cvs
Log:
make it so setup-cvs.py doesn't have to be run from a specific directory (i.e., determine base dir based on __file__)

Modified: trunk/gnue-common/setup-cvs.py
===================================================================
--- trunk/gnue-common/setup-cvs.py	2004-08-01 19:28:35 UTC (rev 6115)
+++ trunk/gnue-common/setup-cvs.py	2004-08-01 20:06:24 UTC (rev 6116)
 <at>  <at>  -33,9 +33,8  <at>  <at> 

 import sys, string, os, glob

-
-BASEDIR = os.path.abspath(os.path.join(os.getcwd(), '.cvsdevelbase'))
-CVSDIR = os.path.abspath(os.path.join(os.getcwd(),'..'))
+CVSDIR = os.path.abspath(os.path.join(os.path.dirname(__file__),'..'))
+BASEDIR = os.path.join(CVSDIR, '.cvsdevelbase')
 PYTHONBIN=sys.executable

 CURRENT_TOOL = ""

Modified: trunk/gnue-common/setup.cvs
===================================================================
(Continue reading)

jcater | 1 Aug 2004 21:28

r6115 - in trunk: gnue-common gnue-common/etc gnue-reports

Author: jcater
Date: 2004-08-01 14:28:35 -0500 (Sun, 01 Aug 2004)
New Revision: 6115

Removed:
   trunk/gnue-common/etc/sample.report-filters.conf
Modified:
   trunk/gnue-common/setup-cvs.py
   trunk/gnue-common/setup.cvs
   trunk/gnue-reports/setup.cvs
Log:
fixed the ./setup-cvs.py script to work correctly on new checkouts (.conf files weren't working right)

Deleted: trunk/gnue-common/etc/sample.report-filters.conf
===================================================================
--- trunk/gnue-common/etc/sample.report-filters.conf	2004-08-01 16:51:53 UTC (rev 6114)
+++ trunk/gnue-common/etc/sample.report-filters.conf	2004-08-01 19:28:35 UTC (rev 6115)
 <at>  <at>  -1,150 +0,0  <at>  <at> 
-#
-# This creates a nickname for the various report types.
-#
-[mappings]
-simple = GNUe:Reports:SimpleTabulation
-mailmerge = GNUe:Reports:MailMerge
-labels = GNUe:Reports:Labels
-standard = GNUe:Reports:Standard
-
-#
-# Settings for the different filters
-#
(Continue reading)

jcater | 1 Aug 2004 22:39

r6117 - trunk/gnue-common

Author: jcater
Date: 2004-08-01 15:39:16 -0500 (Sun, 01 Aug 2004)
New Revision: 6117

Modified:
   trunk/gnue-common/setup-cvs.py
Log:
fix a previous 'fix'

Modified: trunk/gnue-common/setup-cvs.py
===================================================================
--- trunk/gnue-common/setup-cvs.py	2004-08-01 20:06:24 UTC (rev 6116)
+++ trunk/gnue-common/setup-cvs.py	2004-08-01 20:39:16 UTC (rev 6117)
 <at>  <at>  -421,14 +421,14  <at>  <at> 

 rootCommands.append("""
     cd %(GNUEDIR)s
-    ln -f -s %(CVSDIR)s/gnue/gnue-common/module/base/__init__.py .
-    ln -f -s %(CVSDIR)s/gnue/gnue-common/src common
-    if [ -f %(CVSDIR)s/gnue/gnue-common/src/.GDTD.py ]; then rm -f
%(CVSDIR)s/gnue/gnue-common/src/.GDTD.py; fi
-#    ln -f -s %(CVSDIR)s/gnue/gnue-common/scripts/gnuedtd %(CVSDIR)s/common/src/.GDTD.py
+    ln -f -s %(CVSDIR)s/gnue-common/module/base/__init__.py .
+    ln -f -s %(CVSDIR)s/gnue-common/src common
+    if [ -f %(CVSDIR)s/gnue-common/src/.GDTD.py ]; then rm -f %(CVSDIR)s/gnue-common/src/.GDTD.py; fi
+#    ln -f -s %(CVSDIR)s/gnue-common/scripts/gnuedtd %(CVSDIR)s/common/src/.GDTD.py

 #    cd %(CONFDIR)s/etc
 #   rm -f sample.*
-#    ln -f -s %(CVSDIR)s/gnue/gnue-common/etc/sample.* .
(Continue reading)

johannes | 1 Aug 2004 18:51

r6114 - trunk/gnue-common/src/schema/scripter

Author: johannes
Date: 2004-08-01 11:51:53 -0500 (Sun, 01 Aug 2004)
New Revision: 6114

Modified:
   trunk/gnue-common/src/schema/scripter/Scripter.py
Log:
Use unicode-translate for messages

Modified: trunk/gnue-common/src/schema/scripter/Scripter.py
===================================================================
--- trunk/gnue-common/src/schema/scripter/Scripter.py	2004-08-01 15:03:09 UTC (rev 6113)
+++ trunk/gnue-common/src/schema/scripter/Scripter.py	2004-08-01 16:51:53 UTC (rev 6114)
 <at>  <at>  -120,7 +120,7  <at>  <at> 
       self.tabledata = []

       for item in range (len (self._files)):
-        print _("Loading gsd file '%s' ...") % self.ARGUMENTS [item]
+        print u_("Loading gsd file '%s' ...") % self.ARGUMENTS [item]

         try:
           schema = GSParser.loadFile (self._files [item])
 <at>  <at>  -463,7 +463,7  <at>  <at> 

     self.connections.loginToConnection (self.connection)

-    print _("Updating schema ...")
+    print u_("Updating schema ...")
     code = self.connection.updateSchema (self.tables,
                                          self.OPTIONS ['file-only'])
(Continue reading)

btami | 1 Aug 2004 23:37

r6118 - trunk/gnue-appserver/src/gcd

Author: btami
Date: 2004-08-01 16:37:26 -0500 (Sun, 01 Aug 2004)
New Revision: 6118

Modified:
   trunk/gnue-appserver/src/gcd/gcd2sql.py
Log:
used unicode-translate for messages

Modified: trunk/gnue-appserver/src/gcd/gcd2sql.py
===================================================================
--- trunk/gnue-appserver/src/gcd/gcd2sql.py	2004-08-01 20:39:16 UTC (rev 6117)
+++ trunk/gnue-appserver/src/gcd/gcd2sql.py	2004-08-01 21:37:26 UTC (rev 6118)
 <at>  <at>  -150,7 +150,7  <at>  <at> 
       self.parameters = {}

       for item in range (len (self._files)):
-        print _("Loading gcd file '%s' ...") % self._args [item]
+        print u_("Loading gcd file '%s' ...") % self._args [item]

         try:
           schema = GCParser.loadFile (self._files [item])
 <at>  <at>  -363,7 +363,7  <at>  <at> 

     self.connections.loginToConnection (connection)

-    print _("Updating schema ...")
+    print u_("Updating schema ...")
     code = connection.updateSchema (self.tables, self.OPTIONS ['file-only'])

(Continue reading)

johannes | 2 Aug 2004 10:48

r6119 - in trunk: gnue-appserver/src/gcd gnue-common/src/schema/scripter

Author: johannes
Date: 2004-08-02 03:48:32 -0500 (Mon, 02 Aug 2004)
New Revision: 6119

Modified:
   trunk/gnue-appserver/src/gcd/gcd2sql.py
   trunk/gnue-common/src/schema/scripter/Scripter.py
Log:
Make them compatible to python2.1 again, keeping the unicode-fix

Modified: trunk/gnue-appserver/src/gcd/gcd2sql.py
===================================================================
--- trunk/gnue-appserver/src/gcd/gcd2sql.py	2004-08-01 21:37:26 UTC (rev 6118)
+++ trunk/gnue-appserver/src/gcd/gcd2sql.py	2004-08-02 08:48:32 UTC (rev 6119)
 <at>  <at>  -150,7 +150,7  <at>  <at> 
       self.parameters = {}

       for item in range (len (self._files)):
-        print u_("Loading gcd file '%s' ...") % self._args [item]
+        print o (u_("Loading gcd file '%s' ...") % self._args [item])

         try:
           schema = GCParser.loadFile (self._files [item])
 <at>  <at>  -363,7 +363,7  <at>  <at> 

     self.connections.loginToConnection (connection)

-    print u_("Updating schema ...")
+    print _("Updating schema ...")
     code = connection.updateSchema (self.tables, self.OPTIONS ['file-only'])
(Continue reading)

jcater | 3 Aug 2004 03:26

r6120 - trunk/gnue-forms/src/uidrivers/wx

Author: jcater
Date: 2004-08-02 20:26:48 -0500 (Mon, 02 Aug 2004)
New Revision: 6120

Modified:
   trunk/gnue-forms/src/uidrivers/wx/UIWXSplashScreen.py
Log:
fixed the splashscreen to work with wx 2.5.x

Modified: trunk/gnue-forms/src/uidrivers/wx/UIWXSplashScreen.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/wx/UIWXSplashScreen.py	2004-08-02 08:48:32 UTC (rev 6119)
+++ trunk/gnue-forms/src/uidrivers/wx/UIWXSplashScreen.py	2004-08-03 01:26:48 UTC (rev 6120)
 <at>  <at>  -29,7 +29,13  <at>  <at> 

 import os.path
 from wxPython.wx import *
-from wxPython.lib.splashscreen import SplashScreen
+try:
+  from wx import SplashScreen
+  newsplash = True
+except ImportError:
+  from wxPython.lib.splashscreen import SplashScreen
+  newsplash = False
+
 from gnue.common.apps import GConfig
 from gnue.forms import VERSION

 <at>  <at>  -40,11 +46,19  <at>  <at> 
       bitmapFile=gConfigForms('splashScreenPNG')
(Continue reading)

jcater | 3 Aug 2004 03:46

r6121 - trunk/gnue-forms/src/uidrivers/wx/widgets/form

Author: jcater
Date: 2004-08-02 20:46:23 -0500 (Mon, 02 Aug 2004)
New Revision: 6121

Modified:
   trunk/gnue-forms/src/uidrivers/wx/widgets/form/wrappers.py
Log:
fix notebook page changing bug in wx 2.5.x

Modified: trunk/gnue-forms/src/uidrivers/wx/widgets/form/wrappers.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/wx/widgets/form/wrappers.py	2004-08-03 01:26:48 UTC (rev 6120)
+++ trunk/gnue-forms/src/uidrivers/wx/widgets/form/wrappers.py	2004-08-03 01:46:23 UTC (rev 6121)
 <at>  <at>  -150,11 +150,19  <at>  <at> 
   # Catch the tab changes
   def notebookTabHandler(self,event):
     if event.GetEventType() == wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING:
+      self.__alreadyChanged = True
       self.uiform._eventHandler('requestPAGE',event.GetSelection(), _form=self.form)
+      del self.__alreadyChanged

   def setPage(self, page):
-    pageId = self._pageList.index(page)
-    self.pane.SetSelection(pageId)
+    try:
+      # This is to trap mouse page changes, which 
+      # causes SetSelection to be called twice 
+      self.__alreadyChanged
+      return
+    except AttributeError:
(Continue reading)

jcater | 3 Aug 2004 05:46

r6122 - in trunk: gnue-designer/src gnue-designer/src/base gnue-designer/src/base/tools gnue-forms/src/uidrivers/wx

Author: jcater
Date: 2004-08-02 22:46:51 -0500 (Mon, 02 Aug 2004)
New Revision: 6122

Modified:
   trunk/gnue-designer/src/Designer.py
   trunk/gnue-designer/src/base/Icons.py
   trunk/gnue-designer/src/base/tools/PropertyEditor.py
   trunk/gnue-forms/src/uidrivers/wx/GFwxApp.py
Log:
initial work on getting Designer to work with wx 2.5+

Modified: trunk/gnue-designer/src/Designer.py
===================================================================
--- trunk/gnue-designer/src/Designer.py	2004-08-03 01:46:23 UTC (rev 6121)
+++ trunk/gnue-designer/src/Designer.py	2004-08-03 03:46:51 UTC (rev 6122)
 <at>  <at>  -71,12 +71,10  <at>  <at> 
 from base import TemplateParser, TemplateChooser, MRUManager
 from gnue.forms.GFConfig import ConfigOptions
 from base.Config import ConfigOptions as DesignerConfigOptions
+from gnue.forms.uidrivers.wx.GFwxApp import setWxApp

 import time

-from gnue.forms.uidrivers.wx import UILoginHandler #  import UIdriver as UIwxpython
-
-
 class Designer(GClientApp, wxApp):

   # GClientApp stuff...
(Continue reading)


Gmane