📄 history.txt
字号:
MsgCommunicator: History of changes
===================================
- version 2.10 (12/26/2006)
New features added:
1. TwoServers demo has been added.
2. Some network parameter optimisation was made.
3. Server heavy load when connecting with wrong parameters is resolved.
Now MsgServer is more protected from DoS attack by illegal
connections.
Bugs fixed:
1. Disconnect event bug has been fixed. Now Off-Line event is sending
when user is disconnecting. Also, Off-Line event will be sent if
user disconnects abnormaly (due network problems or app's kill) --
set WaitForPingAnswer in NetworkSettings to specify client alive
detection timeout (in msec).
2. CryptoParams bug in MsgServer has been fixed. Now you can use
network data encryption as it was enabled since the first version
of MsgCommunicator.
3. ServerID set algorithm is changed. Now server will be stopped then
started again when ServerID changes. Also, now ServerID updates in
configuration file when it changed. Use new TwoServers demo to
investigate multi-server configuration behavior. Each servers must
have unique host:port network address (ServerID can be the same).
4. Now server host/port settings will be updated after start, so you
can learn the port your server started on.
5. BDS 2006 C++Builder and C++ Builder 4,5,6 compatibility is improved.
ShortString type was replaced to String in the following pulic methods:
TMsgClient:
- AddUserToContacts
- UpdateUserInContacts
- FindUsers
- RegisterNewUser
- UpdateUserInfo
TMsgServer:
- AddUserToContacts
- UpdateUserInContacts
- FindUsers
- InsertUser
- UpdateUser
- version 2.00 Final (11/23/2005)
New features added:
1. MaxConnections property was added to TMsgServer.
2. GetUserContacts, AddUserToContacts, UpdateUserInContacts,
RemoveUserFromContacts methods were added to TMsgServer.
3. Documentation updated: Developer's Guide and Component Reference.
Bugs fixed:
1. Some minor bugs in demos were fixed.
- version 2.00 Beta (10/24/2005)
New features added:
1. Accuracer Database Module.
2. MySQL Database Module.
3. Message history on the client side as well as on the server side
(database module required). OnSaveMessage event was added to
TMsgClient and TMsgServer.
4. Messages search. (Database module required). FindMessages method
was added to TMsgClient and TMsgServer.
5. Users search. (Database module required). FindUsers method
was added to TMsgClient and TMsgServer.
6. User authentication by password. Logon, Logoff methods,
Password and Logged properties were added to TMsgClient.
7. TMsgDatabase, TMsgDatabaseAccuracer, TMsgTempTable, TMsgTempTableAccuracer,
TMsgTempTableSQLMemTable, TMsgDatabaseMySQL classes were added for database support.
8. Database and TempTable properties, OnError event
were added to TMsgClient and TMsgServer.
9. StoreMessageHistory property was added to TMsgClient and TMsgServer.
10. OnReceiveCommand event and SendCommand method were modified (parameter
Buffer is now PChar).
11. OnReceiveCommand,OnReceiveTextMessage,OnReceiveBinaryMessage,
OnReceiveStreamMessage events were modified -
parameters SendingDate and DeliveryDate were added.
12. New unit MsgDatabase was added. It contains base classes
TMsgDatabase and TMsgTempTable.
13. TMsgUserInfo, TMsgBaseUserInfo records were changed.
Now TMsgBaseUserInfo is used only for storing users data in files.
14. TMsgContactInfo type was added to MsgComBase unit.
15. GetContactDisplayName method was added to TMsgClient and TMsgServer.
16. Contacts and ContactCount properties were added to TMsgClient.
17. UpdateUserInContacts method was added to TMsgClient.
18. SortUsers method was added to TMsgServer, GetUsers method was modified (parameters).
19. The following methods in TMsgClient were changed (return types and parameters):
- GetUserInfo
- IsUserOnline
- IsUserExisting
- GetMyContactsList was renamed to GetContacts
- RegisterNewUser (now it returns error code if user already exists)
- UpdateMyUserInfo was renamed to UpdateUserInfo (now it returns error code
if user does not exist and uses current UserID instead of UserInfo.UserID)
- AddUserToMyContacts was renamed to AddUserToContacts
- RemoveUserFromMyContacts was renamed to RemoveUserFromContacts
20. All demos updated to v.2.00 interface. TwoClientsAndServer demo is removed.
21. New demos - Databases (Accuracer Client, Accuracer Server,
MySQL Client, MySQL Server)
- version 1.42 (09/21/2005)
New features added:
1. Auto detection of an abnormal client disconnection in TMsgServer.
2. OnError events in TMsgClient and TMsgServer have been added.
3. Network stability has been improved.
4. Changes in connection parameters.
Bugs fixed:
1. Range Check Error in Peer-To-Peer Demo in Delphi 2005.
2. Wrong client number in online/offline events on client if UserID>255.
- version 1.41 (05/16/2005)
New features added:
1. OnUserOnLine/OnUserOffLine events support in peer-to-peer mode.
2. New property TMsgClient.CurrentVersion
3. Changes in TMsgServer.CurrentVersion
Bugs fixed:
1. Disconnecting problems.
2. Connecting with encryption parameters.
- version 1.40 (02/04/2005)
New features added:
1. Peer-To-Peer mode. Direct connections in client/server mode. Direct messaging.
New properties: TMsgClient.Active, TMsgClient.AllowDirectly,
TMsgClient.ConnectedDirectly.
New methods: TMsgClient.ConnectDirectly. TMsgClient.SendMessage methods were
modified to support direct messaging.
2. Peer-To-Peer Demo.
3. CustomCommands Demo.
4. TMsgServer.ClearContacts method.
5. TMsgServer.GetUsers method.
Bugs fixed:
1. Client/server custom command receiving bug.
- version 1.30 (12/24/2004)
New features added:
1. Advanced fields in contacts list: on-line/off-line status, current
host and port (if this user is connected to the server now).
2. TMsgClient.SendCommand, TMsgServer.OnReceiveCommand have been added
to support client to server direction of custom commands.
3. A new server property UseConfigFile which you can set to False to prevent
any operations with configuration file.
4. TMsgSever.OnUserRegistered, TMsgServer.OnUserInfoChanged server events
were added to make more flexible server interface.
Bugs fixed:
1. Bug with IDE hang in case you specify wrong connection parameters in
design-time.
- version 1.20 (12/01/2004)
New features added:
1. Off-line messages support on the server. Now all messages store on the
server while a client is off-line. When the client connects to the
server, server sends to the client all the messages stored for this
client.
- version 1.10 (11/01/2004)
New features added:
1. MsgClient demo for Delphi and C++ Builder.
2. MsgServer demo for Delphi and C++ Builder.
3. Some changes in a connecting process algorithm.
4. TMsgClient.UpdateMyUserInfo was added. Now you can change details of
registered user.
5. TMsgClient.IsUserExisting has been added. It is more clear and convenient
way than TMsgClient.GetUserInfo to check if user with such ID is already
registered on the server or not.
6. UserID field in TMsgClientInfo type has been added. Now
TMsgServer.GetClients and TMsgServer.IsClientConnected are supporting
UserID.
7. TMsgServer.IsClientConnected has been added for more convenience.
8. TMsgServer.IsUserExisting has been added.
9. TMsgServer.GetNewUserID has been added.
10.OnUserOnLine and OnUserOffLine events is now supported.
11.TMsgServer.SendCommand method and TMsgClient.OnReceiveCommand event were
added.
Now you can send your custom commands from MsgServer to MsgClient.
It enables you, for example, easily implement any server event handlers
on client side.
12.TMsgServer.InsertUser, TMsgServer.UpdateUser, TMsgServer.DeleteUser, and
TMsgServer.DisconnectUser methods were added to allow administration
functions on the server.
13.TMsgServer.MinUserID property to allow reserve of numbers space for
server identifiers.
14.Developer's Guide was added to MsgCommunicator Manual.
Some additions and improvements in Component Reference which has been
included in this united manual, too.
Bugs fixed:
1. Bug with LocalPort property in MsgServer. Now MsgServer works properly
with remote connections from network.
- version 1.01 (09/27/2004)
Bugs fixed:
1. Bug with MsgClient connection parameters.
2. Bug with TMsgClient.Connected property in design-time.
- version 1.00 (09/27/2004)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -