Stefano Ghirlanda <[EMAIL PROTECTED]> writes:
| Ok, done. The "int clients" in LyXServer has been replaced by
| "vector<string> clients". The server adds the clients names on
| "hello" messages instead of doing clients++. On "bye" messages, the server
| checks that the client is in the vector<string>, and removes it if that's
| the case. Otherwise a warning message is sent to lyxerr. Here is a sample
| session:
Please note we don't use the STL in LyX 1.0.x, so there you hva to
roll your own lists. In LyX 1.1.x we use STL so there you can use your
vector (are you sure you don't want it to be a list?)
Also all extensive work with lyxserver should be done in 1.1.x since
we won't continue with 1.0.x. (And I will not even allow it in 1.0.x,
new bugs tend to pop up with every new feature/extension/extensive bug
fix, so should just stop very soon now.)
Lgb