Last commit for DB.script: 9825b22d6de715972f6e2b644cf269874a95d15f

- Fixed AI2TV settings dialog. Dialog works with a few minor bugs:

mg689 [2002-10-14 21:33:03]
 - Fixed AI2TV settings dialog. Dialog works with a few minor bugs:
    1. Dialog window transfers its events to main client to handle them (i.e.
        it catches 'w', but also lets main client interpret 'w' as walking forward).
    2. AI2TV control dialog does not get destroyed when necessary.
  1. CREATE TABLE SOURCE(ID INTEGER,PROTOCOL VARCHAR,URL VARCHAR,SIZE INTEGER,TYPE VARCHAR,CREATED VARCHAR,LAST_MOD VARCHAR,SRC VARCHAR,PARENT INTEGER,CLASSTYPE VARCHAR,SUBTYPE VARCHAR,SHAPE VARCHAR,SHAPE2D VARCHAR,OPT1 VARCHAR,OPT2 VARCHAR,OPT3 VARCHAR,OPT4 VARCHAR,OPT5 VARCHAR,UNIQUE(ID),UNIQUE(PROTOCOL,URL))
  2. CREATE INDEX ID ON SOURCE(ID)
  3. CREATE INDEX URL ON SOURCE(PROTOCOL,URL)
  4. CREATE TABLE TABLE1(URL VARCHAR,TYPE VARCHAR,CLASSTYPE VARCHAR,SUBTYPE VARCHAR,SHAPE VARCHAR,SHAPE2D VARCHAR)
  5. CREATE USER SA PASSWORD "" ADMIN
  6. CREATE ALIAS DAYNAME FOR "org.hsql.Library.dayname"
  7. CREATE ALIAS SPACE FOR "org.hsql.Library.space"
  8. CREATE ALIAS SUBSTRING FOR "org.hsql.Library.substring"
  9. CREATE ALIAS SQRT FOR "java.lang.Math.sqrt"
  10. CREATE ALIAS ABS FOR "java.lang.Math.abs"
  11. CREATE ALIAS POWER FOR "java.lang.Math.pow"
  12. CREATE ALIAS CHAR FOR "org.hsql.Library.character"
  13. CREATE ALIAS CONCAT FOR "org.hsql.Library.concat"
  14. CREATE ALIAS PI FOR "org.hsql.Library.pi"
  15. CREATE ALIAS SECOND FOR "org.hsql.Library.second"
  16. CREATE ALIAS TRUNCATE FOR "org.hsql.Library.truncate"
  17. CREATE ALIAS MONTH FOR "org.hsql.Library.month"
  18. CREATE ALIAS LOWER FOR "org.hsql.Library.lcase"
  19. CREATE ALIAS ATAN2 FOR "java.lang.Math.atan2"
  20. CREATE ALIAS REPEAT FOR "org.hsql.Library.repeat"
  21. CREATE ALIAS DAYOFMONTH FOR "org.hsql.Library.dayofmonth"
  22. CREATE ALIAS TAN FOR "java.lang.Math.tan"
  23. CREATE ALIAS RADIANS FOR "java.lang.Math.toRadians"
  24. CREATE ALIAS FLOOR FOR "java.lang.Math.floor"
  25. CREATE ALIAS NOW FOR "org.hsql.Library.now"
  26. CREATE ALIAS ACOS FOR "java.lang.Math.acos"
  27. CREATE ALIAS DAYOFWEEK FOR "org.hsql.Library.dayofweek"
  28. CREATE ALIAS CEILING FOR "java.lang.Math.ceil"
  29. CREATE ALIAS DAYOFYEAR FOR "org.hsql.Library.dayofyear"
  30. CREATE ALIAS LCASE FOR "org.hsql.Library.lcase"
  31. CREATE ALIAS WEEK FOR "org.hsql.Library.week"
  32. CREATE ALIAS SOUNDEX FOR "org.hsql.Library.soundex"
  33. CREATE ALIAS ASIN FOR "java.lang.Math.asin"
  34. CREATE ALIAS LOCATE FOR "org.hsql.Library.locate"
  35. CREATE ALIAS EXP FOR "java.lang.Math.exp"
  36. CREATE ALIAS MONTHNAME FOR "org.hsql.Library.monthname"
  37. CREATE ALIAS YEAR FOR "org.hsql.Library.year"
  38. CREATE ALIAS LEFT FOR "org.hsql.Library.left"
  39. CREATE ALIAS ROUNDMAGIC FOR "org.hsql.Library.roundMagic"
  40. CREATE ALIAS BITOR FOR "org.hsql.Library.bitor"
  41. CREATE ALIAS LTRIM FOR "org.hsql.Library.ltrim"
  42. CREATE ALIAS COT FOR "org.hsql.Library.cot"
  43. CREATE ALIAS COS FOR "java.lang.Math.cos"
  44. CREATE ALIAS MOD FOR "org.hsql.Library.mod"
  45. CREATE ALIAS SIGN FOR "org.hsql.Library.sign"
  46. CREATE ALIAS DEGREES FOR "java.lang.Math.toDegrees"
  47. CREATE ALIAS LOG FOR "java.lang.Math.log"
  48. CREATE ALIAS SIN FOR "java.lang.Math.sin"
  49. CREATE ALIAS CURTIME FOR "org.hsql.Library.curtime"
  50. CREATE ALIAS DIFFERENCE FOR "org.hsql.Library.difference"
  51. CREATE ALIAS INSERT FOR "org.hsql.Library.insert"
  52. CREATE ALIAS DATABASE FOR "org.hsql.Library.database"
  53. CREATE ALIAS MINUTE FOR "org.hsql.Library.minute"
  54. CREATE ALIAS HOUR FOR "org.hsql.Library.hour"
  55. CREATE ALIAS IDENTITY FOR "org.hsql.Library.identity"
  56. CREATE ALIAS QUARTER FOR "org.hsql.Library.quarter"
  57. CREATE ALIAS CURDATE FOR "org.hsql.Library.curdate"
  58. CREATE ALIAS BITAND FOR "org.hsql.Library.bitand"
  59. CREATE ALIAS USER FOR "org.hsql.Library.user"
  60. CREATE ALIAS UCASE FOR "org.hsql.Library.ucase"
  61. CREATE ALIAS RTRIM FOR "org.hsql.Library.rtrim"
  62. CREATE ALIAS LOG10 FOR "org.hsql.Library.log10"
  63. CREATE ALIAS RIGHT FOR "org.hsql.Library.right"
  64. CREATE ALIAS ATAN FOR "java.lang.Math.atan"
  65. CREATE ALIAS UPPER FOR "org.hsql.Library.ucase"
  66. CREATE ALIAS ASCII FOR "org.hsql.Library.ascii"
  67. CREATE ALIAS RAND FOR "java.lang.Math.random"
  68. CREATE ALIAS LENGTH FOR "org.hsql.Library.length"
  69. CREATE ALIAS ROUND FOR "org.hsql.Library.round"
  70. CREATE ALIAS REPLACE FOR "org.hsql.Library.replace"
  71. INSERT INTO SOURCE VALUES(1,'http','http://www.suhit.com/',-1,'text/html','1025383658631','-1','null',-1,'Connector','Connector','stool','stool','null','6','\u000a\u0009<Source>http://www.suhit.com/top.gif</Source>\u000a\u000a\u000a\u0009<Source>http://www.suhit.com/header.gif</Source>\u000a\u000a\u000a\u0009<Source>http://www.suhit.com/comp.gif</Source>\u000a\u000a\u000a\u0009<Source>http://www.suhit.com/nice.gif</Source>\u000a\u000a\u000a\u0009<Source>http://www.suhit.com/city.gif</Source>\u000a\u000a\u000a\u0009<Source>http://www.suhit.com/art.gif</Source>\u000a\u000a','14','http://www.suhit.com/comp.html\u000ahttp://www.suhit.com/nice.html\u000ahttp://www.suhit.com/city.html\u000ahttp://www.suhit.com/art.html\u000ahttp://www.suhit.com/resume.html\u000ahttp://www.suhit.com/checkers.html\u000ahttp://www.suhit.com/sp.html\u000ahttp://www.suhit.com/dungeons.html\u000ahttp://www.suhit.com/porsche.html\u000ahttp://www.suhit.com/diablo.html\u000ahttp://www.suhit.com/links.html\u000ahttp://www.suhit.com/friends.html\u000ahttp://www.suhit.com/miscel.html\u000ahttp://www.suhit.com/contact.html\u000a')
  72. INSERT INTO TABLE1 VALUES('http://www.suhit.com/top.gif','IMAGE','Component','Component','cube','cube')
  73. INSERT INTO TABLE1 VALUES('http://www.suhit.com/header.gif','IMAGE','Component','Component','cube','cube')
  74. INSERT INTO TABLE1 VALUES('http://www.suhit.com/comp.gif','IMAGE','Component','Component','cube','cube')
  75. INSERT INTO TABLE1 VALUES('http://www.suhit.com/nice.gif','IMAGE','Component','Component','cube','cube')
  76. INSERT INTO TABLE1 VALUES('http://www.suhit.com/city.gif','IMAGE','Component','Component','cube','cube')
  77. INSERT INTO TABLE1 VALUES('http://www.suhit.com/art.gif','IMAGE','Component','Component','cube','cube')
  78. INSERT INTO TABLE1 VALUES('http://www.suhit.com/comp.html','LINK','Connector','Connector','stool','stool')
  79. INSERT INTO TABLE1 VALUES('http://www.suhit.com/nice.html','LINK','Connector','Connector','stool','stool')
  80. INSERT INTO TABLE1 VALUES('http://www.suhit.com/city.html','LINK','Connector','Connector','stool','stool')
  81. INSERT INTO TABLE1 VALUES('http://www.suhit.com/art.html','LINK','Connector','Connector','stool','stool')
  82. INSERT INTO TABLE1 VALUES('http://www.suhit.com/resume.html','LINK','Connector','Connector','stool','stool')
  83. INSERT INTO TABLE1 VALUES('http://www.suhit.com/checkers.html','LINK','Connector','Connector','stool','stool')
  84. INSERT INTO TABLE1 VALUES('http://www.suhit.com/sp.html','LINK','Connector','Connector','stool','stool')
  85. INSERT INTO TABLE1 VALUES('http://www.suhit.com/dungeons.html','LINK','Connector','Connector','stool','stool')
  86. INSERT INTO TABLE1 VALUES('http://www.suhit.com/porsche.html','LINK','Connector','Connector','stool','stool')
  87. INSERT INTO TABLE1 VALUES('http://www.suhit.com/diablo.html','LINK','Connector','Connector','stool','stool')
  88. INSERT INTO TABLE1 VALUES('http://www.suhit.com/links.html','LINK','Connector','Connector','stool','stool')
  89. INSERT INTO TABLE1 VALUES('http://www.suhit.com/friends.html','LINK','Connector','Connector','stool','stool')
  90. INSERT INTO TABLE1 VALUES('http://www.suhit.com/miscel.html','LINK','Connector','Connector','stool','stool')
  91. INSERT INTO TABLE1 VALUES('http://www.suhit.com/contact.html','LINK','Connector','Connector','stool','stool')
  92. /*C2*/CONNECT USER sa PASSWORD ""