| 1 |
<HTML> |
| 2 |
|
| 3 |
<HEAD> |
| 4 |
<TITLE>ACEDB User Group Newsletter - August 2002</TITLE> |
| 5 |
|
| 6 |
<!-- you won't pick up the style sheet if you view this template file, it works OK |
| 7 |
for the newsletters which are in the directory above. --> |
| 8 |
|
| 9 |
<LINK rel=stylesheet type="text/css" |
| 10 |
href="../newsletter.css" |
| 11 |
title="Style sheet for Acedb newsletters"> |
| 12 |
|
| 13 |
</HEAD> |
| 14 |
|
| 15 |
|
| 16 |
<BODY> |
| 17 |
|
| 18 |
<HR> |
| 19 |
<HR> |
| 20 |
|
| 21 |
<!-- Don't change this name unless you change mkindex.pl. --> |
| 22 |
<a name="Top"></a> |
| 23 |
|
| 24 |
<H1>ACEDB User Group Newsletter - August 2002</H1> |
| 25 |
|
| 26 |
|
| 27 |
<!-- ******************************************************************** --> |
| 28 |
<P>If you want to have this newsletter mailed to you <B>or</B> you want to |
| 29 |
make comments/suggestions about the format/content then |
| 30 |
send an email to <A HREF="mailto:[email protected]">[email protected]</A>. |
| 31 |
|
| 32 |
|
| 33 |
<!-- ******************************************************************** --> |
| 34 |
<P><hr width="62%" align=left> |
| 35 |
<P>A new acedb coder (Rob Clack) joins, tree display of empty strings, a server |
| 36 |
PID file and some bug fixes. |
| 37 |
|
| 38 |
|
| 39 |
<!-- ******************************************************************** --> |
| 40 |
<P><hr width="62%" align=left> |
| 41 |
<a name="General_News"></a><H2>General News</H2> |
| 42 |
|
| 43 |
<a name="Staff_change"></a><H3>Rob Clack joins us</H3> |
| 44 |
|
| 45 |
<P>At the end of last year John Sturdy unfortunately had to leave us and we |
| 46 |
have finally managed to recruit Rob Clack as a replacement. Rob will initially |
| 47 |
be taking over the acedb web site and test systems. You can send email to Rob |
| 48 |
at <A HREF="mailto:[email protected]">[email protected]</A>. |
| 49 |
|
| 50 |
|
| 51 |
<!-- ******************************************************************** --> |
| 52 |
<P><hr width="62%" align=left> |
| 53 |
<a name="New_Features"></a><H2>New Features</H2> |
| 54 |
|
| 55 |
|
| 56 |
<a name="empty_strings"></a><H3>Empty Strings in Tree Display.</H3> |
| 57 |
|
| 58 |
<P>The tree display has been altered so that it will now display |
| 59 |
<code><b><empty></b></code> for text fields with null |
| 60 |
strings, previously they were not displayed at all and hence not edittable. |
| 61 |
|
| 62 |
|
| 63 |
<a name="server_pid"></a><H3>New Server PID file</H3> |
| 64 |
|
| 65 |
<P>A new <code><b>PIDFILE</b></code> option has been added to the |
| 66 |
wspec/serverconfig.wrm file, uncommenting this will cause the server |
| 67 |
during initialisation to write a |
| 68 |
file into the <code><b>database/</b></code> subdirectory containing the pid of the server. |
| 69 |
The file will be deleted when the server terminates. You can use this |
| 70 |
file to control the server via a number of unix utilities which |
| 71 |
are commonly used to provide general control of server programs. |
| 72 |
|
| 73 |
<P>As with other new configuration options in acedb, to make use of the |
| 74 |
new options you should: |
| 75 |
|
| 76 |
<ol> |
| 77 |
<li>Get a copy of the new wspec/serverconfig.wrm from the acedb web site. |
| 78 |
<li>In your database merge your old wspec/serverconfig.wrm with the new one. |
| 79 |
<li>Uncomment the new PIDFILE flag in serverconfig.wrm |
| 80 |
<li>Run the new server against the database and you should see a file called |
| 81 |
database/SERVER_PIDFILE.wrm which should contain the pid of the server. |
| 82 |
</ol> |
| 83 |
|
| 84 |
<P>Some things to note: |
| 85 |
<ul> |
| 86 |
<li>In normal operation the server creates the pid file at start up and removes it |
| 87 |
at shutdown. |
| 88 |
<li>If the server crashes in an untrappable way then the pidfile will not be removed |
| 89 |
of course. In this case when the server starts up, if the pid file is still |
| 90 |
there it will complain but _will_ start up. If you don't want it to restart |
| 91 |
after crashing you should take a look at the NO_RESTART option in |
| 92 |
serverconfig.wrm. |
| 93 |
</ul> |
| 94 |
|
| 95 |
|
| 96 |
|
| 97 |
<!-- ******************************************************************** --> |
| 98 |
<P><hr width="62%" align=left> |
| 99 |
<a name="Bugs_Fixed"></a><H2>Bugs Fixed</H2> |
| 100 |
|
| 101 |
<a name="keymatch_bug"></a><H3>aceInKeyMatch() and exact matches</H3> |
| 102 |
|
| 103 |
<P>A bbug in aceInKeyMatch() meant that it did not distinguish an exact match from |
| 104 |
a longer keyword that began with the same letters, e.g. matching "write" to |
| 105 |
"write" and "writeaccess" should return just the exact match of "write". |
| 106 |
|
| 107 |
|
| 108 |
<a name="nosave_bug"></a><H3>Nosave option and write lock file</H3> |
| 109 |
|
| 110 |
<P>The "nosave" code in sessionDoClose() did not remove the write lock |
| 111 |
file if tace had gained write access. The bug became obvious because |
| 112 |
some tace commands do a sessionsave which removes the lock file while others don't. |
| 113 |
The reason for this inconsistency is not known. |
| 114 |
|
| 115 |
|
| 116 |
<a name="logging_bug"></a><H3>Logging stops after saving from tace</H3> |
| 117 |
|
| 118 |
<P>Dan Lawson reported that logging stops after saving from tace. |
| 119 |
It turns out that closing of the log got introduced into sessionClose() at |
| 120 |
the beginning of 2000, as part of the conversion to use aceOut for accessing |
| 121 |
the logfile. One can see why this was originally done: sessionClose() is called when the |
| 122 |
application is exitting. Unfortunately its also called when applications are |
| 123 |
just saving. To avoid this problem calls to sessionClose() have been replaced with |
| 124 |
calls to sessionMark(), sessionMark() no longer calls sessionClose(), instead |
| 125 |
they both call an internal routine closeSession(), which saves the session |
| 126 |
but does not close the log file. |
| 127 |
sessionClose() is now the routine to call when the application is going |
| 128 |
to exit. |
| 129 |
|
| 130 |
|
| 131 |
<a name="query_bugs"></a><H3>Query Fixes</H3> |
| 132 |
|
| 133 |
<P>Number evaluation has been removed from string compares, |
| 134 |
this was producing errors when obj names actually were numbers |
| 135 |
because they got rounded ! |
| 136 |
|
| 137 |
<P>An optimiser has been added in [] calcul clause after a bug report |
| 138 |
by Dave Matthews about the slowness of this. This has reduced |
| 139 |
a 10 minute query to < 1 second. |
| 140 |
|
| 141 |
|
| 142 |
<a name="fmap_bug"></a><H3>Fmap redraw bug</H3> |
| 143 |
|
| 144 |
<P>Yet another FMap bug related to stale data when recalculations |
| 145 |
are introduced into unexpected places. |
| 146 |
Add the relevant offset to the values stored in the chosen and |
| 147 |
antichosen assocs when we do a recalc - otherwise this data is no |
| 148 |
longer valid. |
| 149 |
|
| 150 |
|
| 151 |
|
| 152 |
<!-- ******************************************************************** --> |
| 153 |
<P><hr width="62%" align=left> |
| 154 |
<a name="Developers_Corner"></a><H2>Developers Corner</H2> |
| 155 |
|
| 156 |
|
| 157 |
<a name="aquila"></a><H3>Aquila work</H3> |
| 158 |
|
| 159 |
<P>Rob and Mark (Sienkiewicz) have been doing good work on aquila on serveral |
| 160 |
fronts: |
| 161 |
|
| 162 |
<ul> |
| 163 |
<li>Verifying the test results to make sure that output is actually |
| 164 |
correct rather than just different. |
| 165 |
<li>Introducing the new aquila program (written by Robs predecessor |
| 166 |
but never fully integrated into the test system). This system enables |
| 167 |
the running of individual tests or multiple tests because test script files |
| 168 |
can now "include" other test script files to build up sets of tests. |
| 169 |
<li>Putting all the aquila and build scripts into cvs. |
| 170 |
<li>Creating a document to describe how simple it is to add new tests ! |
| 171 |
</ul> |
| 172 |
|
| 173 |
|
| 174 |
|
| 175 |
<!-- ******************************************************************** --> |
| 176 |
<P><hr width="62%" align=left> |
| 177 |
<H2>August monthly build not available.</H2> |
| 178 |
|
| 179 |
<P>Apologies, once again there was no build this month due to the major |
| 180 |
SMap development work. |
| 181 |
|
| 182 |
|
| 183 |
<!-- ******************************************************************** --> |
| 184 |
<HR> |
| 185 |
<HR> |
| 186 |
|
| 187 |
<ADDRESS><A href="mailto:[email protected]">Ed Griffiths <[email protected]></A></ADDRESS> |
| 188 |
<!-- hhmts start --> |
| 189 |
Last modified: Thu Dec 19 13:33:33 GMT 2002 |
| 190 |
<!-- hhmts end --> |
| 191 |
|
| 192 |
</BODY> |
| 193 |
</HTML> |