aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog24
-rw-r--r--cgi-bin/.cvsignore2
-rw-r--r--data/db.struct9
-rw-r--r--src/.cvsignore1
-rw-r--r--src/main.c4
-rw-r--r--xml/.cvsignore3
6 files changed, 42 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c44eb4f..c86b671 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,27 @@
+2004-09-28 Sergey Poznyakoff <gray@Mirddin.farlep.net>
+
+ * Makefile.am: Use lingua instead of eXtrans
+ * autogen.sh: Likewise
+ * configure.ac: Likewise
+ * xml/ellinika.ru.xml: Likewise
+ * xml/Makefile.am: Likewise
+
+ * xml/antonimies.xml: New file
+ * xml/arithmi.xml: New file
+ * xml/arthra.xml: New file
+ * xml/epirrhmata.xml: New file
+ * xml/epitheta.xml: New file
+ * xml/oysiastika.xml: New file
+ * xml/paroimies.xml: New file
+ * xml/rhmata.xml: New file
+ * xml/lingua.conf.in: New file
+
+ * xtrans/LINGUA.html.xtrans: Removed
+ * xtrans/Makefile.am: Removed
+ * xtrans/i18n.inc: Removed
+ * xtrans/.cvsignore: Removed
+ * lingua.xtrans: Removed
+
2004-09-20 Sergey Poznyakoff <gray@Mirddin.farlep.net>
* xml/ellinika.ru.xml: Several spelling fixes.
diff --git a/cgi-bin/.cvsignore b/cgi-bin/.cvsignore
index f7645a8..c9b1140 100644
--- a/cgi-bin/.cvsignore
+++ b/cgi-bin/.cvsignore
@@ -1,4 +1,4 @@
Makefile.in
Makefile
.deps
-dict.scm
+dict.cgi
diff --git a/data/db.struct b/data/db.struct
index afb5eee..6459f96 100644
--- a/data/db.struct
+++ b/data/db.struct
@@ -57,6 +57,7 @@ CREATE TABLE dict(
);
CREATE TABLE articles(
+ index int(32) not null auto_increment, # REL 5
ident int(32) not null, # REL 1
subindex int(32) not null,
meaning blob,
@@ -64,9 +65,17 @@ CREATE TABLE articles(
INDEX (subindex)
);
+CREATE TABLE reverse(
+ ident int(32) not null auto_increment,
+ word varchar(128) binary,
+ article int(32) # REL 5
+);
+
CREATE TABLE topic(
ident int(32) not null auto_increment, # REL 2
title varchar(128) not null,
+ type varchar(128), # Defines whether this is a topic or a
+ # lesson reference or (maybe) something else
UNIQUE (ident),
INDEX (title)
);
diff --git a/src/.cvsignore b/src/.cvsignore
index bf379c2..e023f01 100644
--- a/src/.cvsignore
+++ b/src/.cvsignore
@@ -1,3 +1,4 @@
+Makefile
Makefile.in
gram.h
input.c
diff --git a/src/main.c b/src/main.c
index f3637a3..4d0f2cf 100644
--- a/src/main.c
+++ b/src/main.c
@@ -188,6 +188,10 @@ pending_fixup()
"WHERE p.word = d.word AND p.type != 'CLOSED'");
sql_query("UPDATE pending_links p, dict d SET p.type='CLOSED' "
"WHERE p.word = d.word");
+ /* SQL92:
+ UPDATE pending_links SET type='CLOSED'
+ WHERE originator in (SELECT d.ident from dict d, pending_links p
+ WHERE p.word=d.word) */
if (!preserve_flag)
sql_query("DELETE FROM pending_links WHERE type = 'CLOSED'");
diff --git a/xml/.cvsignore b/xml/.cvsignore
index 3dda729..61bdca6 100644
--- a/xml/.cvsignore
+++ b/xml/.cvsignore
@@ -1,2 +1,5 @@
Makefile.in
Makefile
+conf.sed
+lingua.conf
+stamp-lingua

Return to:

Send suggestions and report system problems to the System administrator.