No new functions but a lot of changes underneath.
Tested it for some time, hope nothing goes wrong.
If anything funny happens try clearing all saved tabs.
Try not to have extensions disabled when you expect updates (reason for strange request).
Some notable changes include:
- changes to the tab data stored and the way they are managed
- improving the reliability of double click undo
- reduced event page wake up caused indirectly by custom undo hotkey
Before the jump to some technical details I would like to thank Sergey Zagursky for the updated Russian translations. His updated Russian translation for SimpleExtManager will be released later in the upcoming version.
Kind of in the mood for some writing so... :P
Stored tab data related changes
Actually this started 1-2 versions back. I changed the delimiter used and trimmed off the unused data. Also went on to create an index for the current open tabs entries in order to save some time from looping through the whole localStorage. These changes are what led to the forced reset in 18.104.22.168.
In this version the closed tabs entries are indexed as well, this reduces the looping and eliminates wasted loops incurred when entries in between are deleted in the previous sequential implementation. Also with the index implementation, 3 localStorage variables that were used in the previous sequential implementation can be removed.
Overall the logic is less complex and hopefully more stable and reliable.
Double click undo code
While testing the tab data related changes I came across the unreliable triggering of the double click undo function. After some sleuthing, the problem is narrowed to the non-persistent nature of the event page (this and the async methods can be a headache sometimes). Also noticed that the double click behaviour of the icons are back to that of pre-Aura.
In the end I reverted back to the previous double click undo logic with the Chrome message passing API to get double click undo to work more consistently.
Ok, the post is getting a bit long so I'll leave it at that.
Theres still many changes under the hood but I guess the average user won't want to know all the nitty-gritty technical details.
Hours to Google I/O, wonder what will be announced!