William Bowling is sharing code with you
Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.
Don't show this againFile history for adium / Plugins / WebKit Message View / Template.html
| Author | Revision | Message | Labels | Date |
|---|---|---|---|---|
|
mathuaerknedam
|
b6246b272433 |
Add 'text-rendering: optimizelegibility;' to the default message style css. Without it, text rendering is supposedly optimized for speed, but it actually makes Adium slightly SLOWER (1 sec/ 1000 msgs in stresstest msginout). Perhaps the only noticeable effect is that this enables ligatures and kerning in fonts that support it, but it's sure to be appreciated by the typographically sensitive. :) |
|
|
|
|
7ff6b3f336d6 |
Instead of inserting a <hr/> when we lose focus, which ends up breaking more than you'd expect, add a message class for the next message. Fixes #13300. |
|
|
|
|
b0e9a4466823 |
Only set shouldScroll property on the first new message. Prevents a long cascade of new messages from busting the scroll position before calling nearBottom(). |
|
|
|
|
38567e9b4371 |
A few fixes to Template.html and Renkoo message style: |
|
|
|
|
f7650158eeb5 |
Set the max width to 100%, don't scale all images up to 100%. |
|
|
|
|
eadbff5014e6 |
Simpler is better, and avoid looping though elements when we don't have to. |
|
|
|
|
80187ccccb36 |
don't call CoalescedHTML.prototype.append() from CoalescedHTML.prototype.appendNext(). That's bad juju. |
|
|
|
|
3627dfff7c3f |
Insert into the DOM if we're consecutive, append to the end if we're not. |
|
|
|
|
747f096da367 |
fix logic error. |
|
|
|
|
9642be635e28 |
If we start a consecuative message outside an existing coalescing round, start a new one that's cancelled once we get a message from a new sender. |
|
|
|
|
687f12da3240 |
Increase the coalescing timeout to 25ms, max of 400 coalesced messages (10s of potential lag before display) |
|
|
|
|
15f5873def89 |
Try not to call nearBottom() when we don't have to. |
|
|
|
|
81552ae2f111 |
So, apparently DocumentFragment does just fine with querySelector*. Save some time recalculating that. |
|
|
|
|
1baad7856ddd |
Set temporary objects to null after we're not using them. |
|
|
|
|
ea5902712400 |
Comments are nice. I like comments. |
|
|
|
|
0c12378de034 |
Reduce some duplicate code here. |
|
|
|
|
b4cc4b3566d3 |
Add replaceLast support to already coalesced message streams. |
|
|
|
|
97a8a57fcef4 |
We don't neet to create a new root node here. |
|
|
|
|
70e57c04f788 |
Don't assume a single root node. |
|
|
|
|
5fd4260e1b0d |
Correct alignment for appending next messages in single user chats. |
|
|
|
|
6c65e4eeb0db |
Only hold the buffer for 10ms. If new content comes in within that 10ms, extend it by another 10ms. |
|
|
|
|
eedc8ed773b1 |
Work on a root HTMLElement, which gives us querySelector() for the whole unattached DOM tree. |
|
|
|
|
bd02bf4291ca |
set the timeout to 100ms from 200ms. |
|
|
|
|
38433bea7f5e |
If we're already coalessing messages, fold in the last message and coalesce that one too. |
|
|
|
|
d8970611ed55 |
Fix insertion point issues by using querySelector to remove extra #insert divs |
|
|
|
|
58dcead8d4c0 |
Coalesce DOM manipulations into a single DOM insertion every 200ms. |
|
|
|
|
1b797e2e9b8e |
Put the 'defer' back for this script. I had thought it was unsupported, but perhaps not. |
|
|
|
|
26d53e9f30c5 |
A few more simplifications, getting Template.html down to an even 200 lines |
|
|
|
|
a4caa7c2401d |
Simplify Template.html a bunch. I think this may also fix a few emoticon issues |
|
|
|
|
7a58335a87f8 |
Patch from MartialL that fixes #3807. A few relatively minor changes by me |
|