Product Application Framework
Type new
Title New configuration entry DataFilesChangedCheckValue for linguistic
Posted by [EMAIL PROTECTED]
Affected ,all
Effective from CWS tl10


API/ BASIC [ ]
Configuration [x]
File format change [ ]
Help/ Guide [x]
Performance test [ ]
Translation [ ]
UI relevant [ ]

Description
There is a new configuration entry for the linguistic named
"ServiceManager/DataFilesChangedCheckValue" of type integer (32 bit).

It used to save a kind of hash value for all installed writing-aids
data files.
The directories used to look at are the path set for the linguistic
(usually share/dict where all SO data files go) and its sub-directory
"ooo" (where all OOo data files are located).
This 'hash' value is builded from all the files in those directory by
using their names, size and modification time.

The value calculated this way will be stored in
DataFilesChangedCheckValue in order to have a quick check available if
data files were added, deleted or modified. And now only if one of
those happened the configuration gets updated.

The effect of this is that now only once after an Office installation
the configuration will be updated (which will still take about 8
seconds due to having about 4-6 times more languages per default
available than in SO 7) and never ever after if the above listed
directory contents are not changed.
Of course if the user installs new files or updates/remove existing
ones the configuration will be updated again next time when the Office
is started (and the linguistic is used).

Effectively the delay on application start-up when using the
linguistic will now be less than a second.


Regards,
Thomas




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to