commit-gnue
[Top][All Lists]
Advanced

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

gnue/gnuef AUTHORS INSTALL README TODO src/GFOp...


From: James Thompson
Subject: gnue/gnuef AUTHORS INSTALL README TODO src/GFOp...
Date: Mon, 11 Dec 2000 08:58:07 -0800

CVSROOT:        /cvs
Module name:    gnue
Changes by:     James Thompson <address@hidden> 00/12/11 08:58:07

Modified files:
        gnuef          : AUTHORS INSTALL README TODO 
        gnuef/src      : GFOptions.py UIwxpython.py 
Added files:
        gnuef          : FAQ 
Removed files:
        gnuef          : README.developers README.wxwindows 

Log message:
        Updated docs
        Moved the .bmp hard coding from UIwxpython to GFOptions.py
        Switched form width/height to char based
        2nd attempt at good char based placement in UIwxpython
        should fix themes screwing up pixel based form placement bug (we'll 
miss you)

CVSWeb URLs:
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/gnuef/FAQ.diff?r1=NONE&r2=1.1
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/gnuef/AUTHORS.diff?r1=1.6&r2=1.7
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/gnuef/INSTALL.diff?r1=1.4&r2=1.5
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/gnuef/README.diff?r1=1.11&r2=1.12
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/gnuef/TODO.diff?r1=1.28&r2=1.29
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/gnuef/README.developers.diff?r1=1.1&r2=NONE
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/gnuef/README.wxwindows.diff?r1=1.3&r2=NONE
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/gnuef/src/GFOptions.py.diff?r1=1.3&r2=1.4
http://subversions.gnu.org/cgi-bin/cvsweb/gnue/gnuef/src/UIwxpython.py.diff?r1=1.39&r2=1.40

Patches:
Index: gnue/gnuef/AUTHORS
diff -u gnue/gnuef/AUTHORS:1.6 gnue/gnuef/AUTHORS:1.7
--- gnue/gnuef/AUTHORS:1.6      Wed Nov 15 08:57:53 2000
+++ gnue/gnuef/AUTHORS  Mon Dec 11 08:58:07 2000
@@ -1,8 +1,11 @@
 Jamest Thompson <address@hidden>
   Everything and the kitchen sink. 
   
+Chris Spence <>
+  Lots of stuff including GFParser.py code, GUI login in wxwindows, curses 
support
+
 Arno  <address@hidden>
-  Lot of little hacks and Curses Implementation
+  Lot of little hacks and Original Curses Implementation
 
 Derek Neighbors <address@hidden>
   Parameter checking/parsing.
@@ -11,10 +14,8 @@
   Autoconf support.
   Database drivers abstraction
 
-Chris Spence <>
-  GFParser.py code
-
 Georg Lehner <address@hidden>
   new INSTALL document
 
 If we've missed anyone please let us know.
+
Index: gnue/gnuef/INSTALL
diff -u gnue/gnuef/INSTALL:1.4 gnue/gnuef/INSTALL:1.5
--- gnue/gnuef/INSTALL:1.4      Tue Dec  5 20:42:58 2000
+++ gnue/gnuef/INSTALL  Mon Dec 11 08:58:07 2000
@@ -132,6 +132,16 @@
 Enter in the gnue/gnuef directory. Issue "./setup.py build" and as
 root "./setyp.py install".
 
+
+Note: the current cvs defines two graphics splashScreenBMP and smallBMP in the 
GFOptions.py
+file.  You'll need to manually create the directory and move these files into 
place.  To do
+that with the default options do the following from the top gnuef directory
+
+mkdir -p /usr/local/gnue/shared
+cp src/gnue-splash.bmp /usr/local/gnue/shared
+cp src/gnue.bmp /usr/local/gnue/shared
+chmod -R o+rx /usr/local/gnue
+
 Now you can run your first sample: "gfclient samples/form.gfd".
 
 Open Questions:
Index: gnue/gnuef/README
diff -u gnue/gnuef/README:1.11 gnue/gnuef/README:1.12
--- gnue/gnuef/README:1.11      Mon Nov  6 20:31:09 2000
+++ gnue/gnuef/README   Mon Dec 11 08:58:07 2000
@@ -40,7 +40,6 @@
     wxGTK (http://www.freiburg.linux.de/~wxxt/download.html)
 
     wxPython (http://www.wxpython.org/download.php)
-    Please see README.wxwindows
 
   To access postgresql databases
 
@@ -54,12 +53,19 @@
 
 To Test:
 
-  Run tests by switching to client dir and doing
+  To test without installing run the setup_cvs_devel.sh script then
+  switch to client dir and do
 
-  ./gfclient -u=[text|gui] ../samples/form.gfd
+  ./gfclient -u=[text|gui] ../samples/simple/form.gfd
 
-  If you run without -u option it will default to gui or wxWindows.
+  If you installed then just call the program 
+  
+  gfclient -u=[text|gui] filename.gfd
 
+  If you run without -u option it will default to gui (wxPython) 
+
+  Other samples can be found under samples 
+  
   To run data aware scripts you must make sure the database tags
   have the host name your database lives on as it is currently 
   defaulted to gnue.
@@ -70,6 +76,9 @@
     ex: psql
         \i scriptname.sql
 
+
+  wxPython UI key bindings
+
   F5  - Marks record for delete
   F6  - Commits, Updates, Inserts
   F8  - Initializes Query
@@ -79,10 +88,11 @@
 
 To install:
   If you wish to work on development of gnuef you'll 
-  run ./autogen.sh from the top gnuef directory.  The
-  only part of this in use in the creation of some
-  symlinks in the client directory.  There is no need 
-  to run configure, make, or make install.
+  run ./setup_cvs_devel.sh from the top gnuef directory.
+  This allows you to keep both an installed version on the
+  system for production use while allowing you to use your 
+  development code base by switching to the client dir and 
+  running ./gfclient from there
 
   To install in usable area
 
Index: gnue/gnuef/TODO
diff -u gnue/gnuef/TODO:1.28 gnue/gnuef/TODO:1.29
--- gnue/gnuef/TODO:1.28        Wed Dec  6 12:23:44 2000
+++ gnue/gnuef/TODO     Mon Dec 11 08:58:07 2000
@@ -2,17 +2,14 @@
 name in []
 
 **MUST HAVES for 0.1.0
-**  Create UI/Form event interactions for login[chriss]
 **  debug master/detail [jamest]
-**  curses support up to date [jamest]
+**  curses support up to date [chriss]
 **  cvs cleanup[jamest]
 **  windows support (ODBC?) [jade]
 **  fix mySQL support [jade]
 
 **Like to haves for 0.1.0
-**  clean up named triggers[chris]
-**  the x/y width units problem AKA Convert the form and view to support
-    text based instead of pixel based [jamest]
+**  clean up named triggers[chriss]
 **  Sloppy query - a query mode that lets you ignore things like -'s in a
     part number.  To find 123-123123-12312 you'd enter 12312312312312.  This
     is an enduser request i see it being done with text query inserting %
@@ -30,9 +27,6 @@
 
   Database error handling
 
-
-
-
   Add layout manager support[perlpoet]
 
   clean up code  [everyone working on the code]
@@ -84,7 +78,6 @@
 
     Add support of mouse focus to the charater
 
-
   Long term:
 
     Create GNUE Forms: Designer the screen painter
@@ -93,8 +86,8 @@
       mouse navigation to different blocks
 
     Possibly allow for pluggable UI implementation
-
 
+    Rewrite the event system to allow greater efficency and flexibility
 
 
 
Index: gnue/gnuef/src/GFOptions.py
diff -u gnue/gnuef/src/GFOptions.py:1.3 gnue/gnuef/src/GFOptions.py:1.4
--- gnue/gnuef/src/GFOptions.py:1.3     Sat Dec  9 13:59:16 2000
+++ gnue/gnuef/src/GFOptions.py Mon Dec 11 08:58:07 2000
@@ -1,6 +1,16 @@
-DEBUG = 0
+# Adjust for your install (only used for graphics right now)
 
-_msgNOTSAVED = "Data not saved. Commit or rollback changes."
+prefix="/usr/local/gnue"
+splashScreenBMP=prefix+"/shared/gnuef-spash.bmp"
+smallBMP=prefix+"/shared/gnue.bmp"
 
+# Might need altered but I doubt it
+
 widgetHeight=1 # The default height of widgets for widgets that don't specify 
height in .gfd file
+
+# Do not alter below here unless you really, really want to
+
+DEBUG = 0
+
+_msgNOTSAVED = "Data not saved. Commit or rollback changes."
 
Index: gnue/gnuef/src/UIwxpython.py
diff -u gnue/gnuef/src/UIwxpython.py:1.39 gnue/gnuef/src/UIwxpython.py:1.40
--- gnue/gnuef/src/UIwxpython.py:1.39   Sat Dec  9 13:59:16 2000
+++ gnue/gnuef/src/UIwxpython.py        Mon Dec 11 08:58:07 2000
@@ -112,7 +112,7 @@
     #independent way.
     #object tree building
     wxInitAllImageHandlers()
-    self.splash = SplashScreen(None, bitmapfile='../src/gnue-splash.bmp',
+    self.splash = SplashScreen(None, bitmapfile=GFOptions.splashScreenBMP,
                                duration=1000, callback=self.onMain)
     self.splash.Show(true)
     return true
@@ -414,10 +414,10 @@
     self.charHeight = self.frame.GetCharHeight()
 
     
-#    self.borderPercentage = (20.0 / 100.0)+1
-#    self.textPercentage = (7.5 / 100.0)+1
-    self.borderPercentage = 1
-    self.textPercentage = 1
+    self.borderPercentage = (10 / 100.0)+1
+    self.textPercentage = (7.5 / 100.0)+1
+#    self.borderPercentage = 1
+#    self.textPercentage = 1
 
     self.widgetWidth = self.charWidth * self.borderPercentage
     self.widgetHeight = self.charHeight * self.borderPercentage
@@ -591,7 +591,7 @@
     self.dlg.SetBackgroundColour(wxWHITE)
     self.dlg.SetAutoLayout(true)
     
-    bmp = wxImage('../src/gnue.bmp', wxBITMAP_TYPE_BMP).ConvertToBitmap()
+    bmp = wxImage(GFOptions.smallBMP, wxBITMAP_TYPE_BMP).ConvertToBitmap()
     self.usernameEntry = wxTextCtrl(self.dlg, 1020)
     self.passwordEntry = wxTextCtrl(self.dlg, 1030,"", 
wxPoint(-1,-1),wxSize(-1,-1),wxTE_PASSWORD)
     



reply via email to

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