Realization

Am realizing that all my understanding is foolish and often wrong. This is in dealing with people, having conversation or building relationships etc. The understandings include all that i have been learning through J Krishnamurthy’s teachings, oneness university, understandings from work, impressions from movies,  learning’s from relationships with various friends etc.

One cannot apply the learning or understanding which is got from relating to one friend or family member to another. It may not work as each person is different. Sometimes it might look that it suits, but that’s the illusion which gives the sense of rightness.

These learning’s/approaches were often looking right and it will remain looking right from my perspective. But it would be very wrong when seen from someone else mind. So I have been illuded by my mind and was such a fool.

People keep changing like a flowing river. I can experience them at the moment only if all the images and understanding from the past die.

Note: I have been using the word ‘I’ to indicate that its perfectly possible for someone to have a contrary realization too, perhaps god only knows 😉

Exchange WebServices Offline AddressBook

It is now possible to download GAL contents for offline usage through exchange web services in Evolution. Offline GAL is termed as Offline Address-book (OAB) in Exchange WebServices and it may contain one or more Offline Address-lists (OAL).

The check-box, ‘Cache offline address-book’ would be sensitive if the OAB url is discovered using the AutoDiscover service from the previous page (‘Receiving’). On clicking the fetch buton, the available offline address-lists would be displayed in the combo box.  The user can select the address-list which he is interested in.

If the GAL is not selected for offline usage.  A GAL folder would be created in Contacts component and would be used just for auto-completion when Evolution is online.

To change an offline address-list, one just needs to go back to ‘Receiving page’ in preference and select a different address-list. This would remove the old OAL folder and its contents and create a new OAL folder.  At the moment, evolution-ews supports caching only one OAL, though it is very easy to extend it to support many. I feel it would sufficient to have one at the moment, but if a need arises, the plugin can be extended to create new OAL folders on demand.

If an address-list is chosen for offline usage, one CAN auto-complete while the caching is in progress!! All operations are asynchronous and cancellable.

Internals

OAL’s would be listed in the link  <OABUrl> + ‘oab.xml’. They would be available as compressed files, compressed using LZXD format.  There are three versions of OAB ‘2, 3, 4’ and Evolution supports downloading, version 4 OAB Full Details file.

LZXD

To put it simply, lzxd extends the lzx decompression format adding support for differential updates. I have picked up the lzx decompression code from libmspack and modified it to make it decompress the lzxd file. The support for differential update is yet to added.

OAB

The format for the uncompressed OAB Version 4 file is available at http://msdn.microsoft.com/en-us/library/cc463914%28v=EXCHG.80%29.aspx . Evolution-ews has the decoder which decodes the oab file, converts to EContact and then we  populates the address-book sqlitedb in chunks of 1000 contacts.

And now the contents are available for offline use 🙂

CamelUrl props

“oab_offline” – says if oab is marked for offline.

“oal_selected” – contains the selected “oal id:oal name”

“oaburl” – contains the oab url

ESource props

“hosturl” – contains the host url, used for auto-completion.

“oaburl” – contains the oab url.

“oalid” – id of the OAL.

“gal” – a boolean that it indicates that its gal folder.