<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>sample.blyte</filename>
    </added>
    <added>
      <filename>short.blyte</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -105,7 +105,7 @@ class Config:
         self.colors = { }
         
         # prefix used for temp files
-        self.tmpPrefix = &quot;oskusoft-nasp-tmp-&quot;
+        self.tmpPrefix = &quot;oskusoft-blyte-tmp-&quot;
 
         # vertical distance between rows, in pixels
         self.fontYdelta = 18</diff>
      <filename>config.py</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 # exception classes
 
-class NaspError(Exception):
+class BlyteError(Exception):
     def __init__(self, msg):
         Exception.__init__(self, msg)
         self.msg = msg
@@ -8,10 +8,10 @@ class NaspError(Exception):
     def __str__(self):
         return str(self.msg)
 
-class ConfigError(NaspError):
+class ConfigError(BlyteError):
     def __init__(self, msg):
-        NaspError.__init__(self, msg)
+        BlyteError.__init__(self, msg)
 
-class MiscError(NaspError):
+class MiscError(BlyteError):
     def __init__(self, msg):
-        NaspError.__init__(self, msg)
+        BlyteError.__init__(self, msg)</diff>
      <filename>error.py</filename>
    </modified>
    <modified>
      <diff></diff>
      <filename>logo.jpg</filename>
    </modified>
    <modified>
      <diff>@@ -369,7 +369,7 @@ class MyCtrl(wxControl):
                 
             return True
 
-        except NaspError, e:
+        except BlyteError, e:
             wxMessageBox(&quot;Error loading file: %s&quot; % e, &quot;Error&quot;,
                          wxOK, mainFrame)
 
@@ -1675,8 +1675,8 @@ class MyCtrl(wxControl):
             return
         
         dlg = wxFileDialog(mainFrame, &quot;Filename to save as&quot;,
-                           wildcard = &quot;NASP files (*.nasp)|*.nasp|All files|*&quot;,
-                           style = wxSAVE | wxOVERWRITE_PROMPT)
+            wildcard = &quot;Blyte files (*.blyte)|*.blyte|All files|*&quot;,
+            style = wxSAVE | wxOVERWRITE_PROMPT)
         if dlg.ShowModal() == wxID_OK:
             self.saveFile(dlg.GetPath())
 
@@ -1688,8 +1688,8 @@ class MyCtrl(wxControl):
             return
         
         dlg = wxFileDialog(mainFrame, &quot;Filename to export as&quot;,
-                           wildcard = &quot;PDF|*.pdf|Formatted text|*.txt&quot;,
-                           style = wxSAVE | wxOVERWRITE_PROMPT)
+            wildcard = &quot;PDF|*.pdf|Formatted text|*.txt&quot;,
+            style = wxSAVE | wxOVERWRITE_PROMPT)
 
         if dlg.ShowModal() == wxID_OK:
             if dlg.GetFilterIndex() == 0:
@@ -1919,7 +1919,7 @@ class MyCtrl(wxControl):
 
         # FIXME: debug stuff
         elif (kc &lt; 256) and (chr(kc) == &quot;&#229;&quot;):
-            self.loadFile(&quot;default.nasp&quot;)
+            self.loadFile(&quot;default.blyte&quot;)
         elif (kc &lt; 256) and (chr(kc) == &quot;&#197;&quot;):
             self.OnSettings()
         elif (kc &lt; 256) and (chr(kc) == &quot;&#164;&quot;):
@@ -2260,9 +2260,8 @@ class MyFrame(wxFrame):
         # these are hidden here because they're somewhat harder to find
         # here than in misc.pyo
         misc.isEval = False
-        misc.licensedTo = &quot;Evaluation version.&quot;
+        misc.licensedTo = &quot;Evaluation copy.&quot;
         misc.version = &quot;0.7&quot;
-        misc.copyright = &quot;&#169; Oskusoft 2004. All rights reserved.&quot;
 
         hsizer.Add(self.typeCb)
 
@@ -2330,7 +2329,7 @@ class MyFrame(wxFrame):
         return newPanel
 
     def setTitle(self, text):
-        self.SetTitle(&quot;Nasp - %s&quot; % text)
+        self.SetTitle(&quot;Blyte - %s&quot; % text)
 
     def setTabText(self, panel, text):
         i = self.findPage(panel)
@@ -2368,8 +2367,8 @@ class MyFrame(wxFrame):
 
     def OnOpen(self, event):
         dlg = wxFileDialog(self, &quot;File to open&quot;,
-                           wildcard = &quot;NASP files (*.nasp)|*.nasp|All files|*&quot;,
-                           style = wxOPEN)
+            wildcard = &quot;Blyte files (*.blyte)|*.blyte|All files|*&quot;,
+            style = wxOPEN)
         if dlg.ShowModal() == wxID_OK:
             if not self.notebook.GetPage(self.findPage(self.panel))\
                    .ctrl.isUntouched():
@@ -2467,7 +2466,7 @@ class MyFrame(wxFrame):
         dlg.Show()
 
     def OnAbout(self, event):
-        win = splash.SplashWindow(self, 10000)
+        win = splash.SplashWindow(self, -1)
         win.Show()
         
     def OnTypeCombo(self, event):
@@ -2504,7 +2503,7 @@ class MyApp(wxApp):
         cfg = config.Config()
         refreshGuiConfig()
                 
-        mainFrame = MyFrame(NULL, -1, &quot;Nasp&quot;)
+        mainFrame = MyFrame(NULL, -1, &quot;Blyte&quot;)
         mainFrame.init()
         mainFrame.Show(True)
 </diff>
      <filename>main.py</filename>
    </modified>
    <modified>
      <diff>@@ -6,10 +6,8 @@ class SplashWindow(wxFrame):
     
     def __init__(self, parent, delay):
         wxFrame.__init__(self, parent, -1, &quot;Splash&quot;,
-                         pos = wxDefaultPosition,
-                         size = (100, 100),
-                         style = wxFRAME_FLOAT_ON_PARENT | wxSTAY_ON_TOP |
-                         wxSIMPLE_BORDER)
+            pos = wxDefaultPosition, size = (100, 100),
+            style = wxFRAME_FLOAT_ON_PARENT | wxSTAY_ON_TOP | wxSIMPLE_BORDER)
 
         if not SplashWindow.inited:
             SplashWindow.inited = True
@@ -22,18 +20,26 @@ class SplashWindow(wxFrame):
             self.pic = None
             self.SetClientSizeWH(512, 384)
 
+        # FIXME: check crc32 and w/h of picture, quit if they don't match
+
         self.CenterOnScreen()
 
         self.textColor = wxColour(0, 0, 0)
         self.font = wxFont(12, wxMODERN, wxNORMAL, wxNORMAL)
-            
-        self.timer = wxTimer(self)
-        EVT_TIMER(self, -1, self.OnTimer)
-        self.timer.Start(delay, True)
-        
+
+        if delay != -1:
+            self.timer = wxTimer(self)
+            EVT_TIMER(self, -1, self.OnTimer)
+            self.timer.Start(delay, True)
+        else:
+            EVT_LEFT_DOWN(self, self.OnClick)
+
         EVT_PAINT(self, self.OnPaint)
         EVT_CLOSE(self, self.OnCloseWindow)
 
+    def OnClick(self, event):
+        self.Close()
+
     def OnPaint(self, event):
         dc = wxPaintDC(self)
 
@@ -45,15 +51,9 @@ class SplashWindow(wxFrame):
         else:
             dc.DrawText(&quot;Splash screen image not found&quot;, 50, 50)
 
-        dc.DrawText(&quot;Version %s&quot; % misc.version, 200, 135)
-        dc.DrawText(misc.copyright, 125, 165)
-        
-        s = misc.licensedTo
-        w, h = dc.GetTextExtent(s)
-        w += 15
-        h += 15
-        size = self.GetClientSize()
-        dc.DrawText(s, size.width - w, size.height - h)
+        x = 421
+        dc.DrawText(&quot;Version %s&quot; % misc.version, x, 346)
+        dc.DrawText(misc.licensedTo, x, 360)
         
     def OnTimer(self, event):
         self.timer.Stop()</diff>
      <filename>splash.py</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>README</filename>
    </removed>
    <removed>
      <filename>sample.nasp</filename>
    </removed>
    <removed>
      <filename>short.nasp</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>297279d49f1f55baa9db012ec3d7008ed5e47b65</id>
    </parent>
  </parents>
  <author>
    <name>Osku Salerma</name>
    <email>osku@iki.fi</email>
  </author>
  <url>http://github.com/oskusalerma/blyte/commit/2c3963047da469fd62444ada37e0488453a9c573</url>
  <id>2c3963047da469fd62444ada37e0488453a9c573</id>
  <committed-date>2004-07-09T03:48:31-07:00</committed-date>
  <authored-date>2004-07-09T03:48:31-07:00</authored-date>
  <message>Name program 'Blyte'.

 Rename all references Nasp -&gt; Blyte.

 Add new splash screen.

  Splash screen dialog when shown from menu doesn't use a timer, but waits
  until is clicked on to go away.</message>
  <tree>9f7e86acad768c0d72d4e7fdae14d3cfac97d216</tree>
  <committer>
    <name>Osku Salerma</name>
    <email>osku@iki.fi</email>
  </committer>
</commit>
