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 again

wbowling / adium (fork of adium / adium)

Fork of Adium for patches/improvements

Clone this repository (size: 338.7 MB): HTTPS / SSH
hg clone https://bitbucket.org/wbowling/adium
hg clone ssh://hg@bitbucket.org/wbowling/adium
  1. 1
  2. 2
  3. »

File 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. :)
Zachary West 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.
Stephen Holt 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().
Stephen Holt 38567e9b4371 A few fixes to Template.html and Renkoo message style:
Zachary West f7650158eeb5 Set the max width to 100%, don't scale all images up to 100%.
Stephen Holt eadbff5014e6 Simpler is better, and avoid looping though elements when we don't have to.
Stephen Holt 80187ccccb36 don't call CoalescedHTML.prototype.append() from CoalescedHTML.prototype.appendNext(). That's bad juju.
Stephen Holt 3627dfff7c3f Insert into the DOM if we're consecutive, append to the end if we're not.
Stephen Holt 747f096da367 fix logic error.
Stephen Holt 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.
Stephen Holt 687f12da3240 Increase the coalescing timeout to 25ms, max of 400 coalesced messages (10s of potential lag before display)
Stephen Holt 15f5873def89 Try not to call nearBottom() when we don't have to.
Stephen Holt 81552ae2f111 So, apparently DocumentFragment does just fine with querySelector*. Save some time recalculating that.
Stephen Holt 1baad7856ddd Set temporary objects to null after we're not using them.
Stephen Holt ea5902712400 Comments are nice. I like comments.
Stephen Holt 0c12378de034 Reduce some duplicate code here.
Stephen Holt b4cc4b3566d3 Add replaceLast support to already coalesced message streams.
Stephen Holt 97a8a57fcef4 We don't neet to create a new root node here.
Stephen Holt 70e57c04f788 Don't assume a single root node.
Stephen Holt 5fd4260e1b0d Correct alignment for appending next messages in single user chats.
Stephen Holt 6c65e4eeb0db Only hold the buffer for 10ms. If new content comes in within that 10ms, extend it by another 10ms.
Stephen Holt eedc8ed773b1 Work on a root HTMLElement, which gives us querySelector() for the whole unattached DOM tree.
Stephen Holt bd02bf4291ca set the timeout to 100ms from 200ms.
Stephen Holt 38433bea7f5e If we're already coalessing messages, fold in the last message and coalesce that one too.
Stephen Holt d8970611ed55 Fix insertion point issues by using querySelector to remove extra #insert divs
Stephen Holt 58dcead8d4c0 Coalesce DOM manipulations into a single DOM insertion every 200ms.
catfish_man 1b797e2e9b8e Put the 'defer' back for this script. I had thought it was unsupported, but perhaps not.
catfish_man 26d53e9f30c5 A few more simplifications, getting Template.html down to an even 200 lines
catfish_man a4caa7c2401d Simplify Template.html a bunch. I think this may also fix a few emoticon issues
catfish_man 7a58335a87f8 Patch from MartialL that fixes #3807. A few relatively minor changes by me
  1. 1
  2. 2
  3. »