Plugins/WebKit%20Message%20View/AIWebkitMessageViewStyle.m
3 months ago Fixed message view jumps to the bottom when Twitter Timeline updates. Fixes #15790.
3 months ago merge from default with a lot of effort
3 months ago Avoid a lot of false positives of the static analyzer.
4 months ago ARC-ify all but 7 of the remaining files in the Adium target.
5 months ago Use a serial dispatch queue for all shared localized NSDateFormatter uses.
5 months ago Clean up a lot of overincludes of <AIUtilities/AIApplicationAdditions.h>
9 months ago fix some issues with naming file transfer icons
12 months ago Enable the %service% keyword in the header.
13 months ago Remove some 10.5-compatibility code.
16 months ago The RTL check must look at the encoded message, not the template, to determine if the encoded message contains RTL text. Fixes #10403
16 months ago Added a MessageViewVersion_MinimumCompatible key to message style Info.plist keys. If set, Adium will refuse to load the style if it has a minimum version greater than its latest known version. This way, a message style which depends upon a hypothetical future version 5 message style can gracefully fail to load in Adium 1.4.2 which knows nothing of it; however, a message style using version 5 which is backwards compatible with version 4 can still be loaded. Fixes #7438 (for future iterations of the problem; nothing can be done for the described historical incompatibility).
18 months ago When checking to see if the HTML includes an RTL div, do a case-insensitive search. This check had been broken by changes in AIHTMLDecoder; it's significantly less fragile if case insensitive. Fixes #10403 I believe, though I have not tested it.
19 months ago Remove an assignment which just confuses the picture (and throws a clang warning)
19 months ago Use `-[NSString(AIStringAdditions) stringByExpandingBundlePath]` and `-[NSString(AIStringAdditions) stringByCollapsingBundlePath]` so that our cached path to the active message style is app-bundle-relative if one of our shipping style is being used. This, in turn, fixes various subtle problems which could occur particularly if the user had multiple copies of Adium in differing versions installed.
2010-05-12 Don't allow spaces in the variant name when replacing %variant% keywords; replace them with an underscore (_). Fixes #12702
2010-04-28 Cache NSDateFormatters in WKMV.
2009-12-29 Resolving most* undeclared selectors in Adium.app.
2009-12-29 Resolve implicit 64->32 bit castings in Adium.app
2009-11-30 If we don't have a content's source, avoid completely destroying Adium's state with an assertion.
2009-11-23 Added a `%variant%` keyword for message styles, and rearranged code a bit so that an AIWebkitMessageViewStyle keeps track of its active variant rather than AIWebKitMessageViewController doing so and passing it back to the activeStyle with various invocations.
2009-11-22 If we try to update icons while the webview doesn't have an accessible documentFrame (e.g. while it is still working on loading its initial HTML), try again after a second. This fixes icons which are part of the initial bolus of information presented by a webview that change shortly after it loads, which can most noticeably happen when restoring a chat using a webview with icons in its header but could also occur if a user icon changed as we opened a chat window.
2009-11-07 Third commit on a less-than one line change...go!
2009-11-07 Brain said, "localized, case-insensitive…that sounds perfect!"
2009-11-07 Sort variants using a case-insensitive localized compare, instead of neither of both.
2009-10-31 Only add color tags if a style supports colors. Fixes #13286.
2009-10-29 Add %incomingColor% and %outgoingColor%, remove %senderColor% in headers. Fixes #12666.
2009-10-28 Fix a few date formatter issues. Fixes #11981. Fixes #12545.
2009-10-28 Address a few font issues that have cropped up recently. Fixes #12906.
2009-10-24 Add %senderColor% to the header keywords. Fixes #12666.
2009-10-24 Replace %dateOpened% with the user's long localized date display. Fixes #12692.
2009-10-17 Replace %serviceIconPath% in all messages, and in the header. Fixes #12665 (though not quite the same).
2009-10-16 Patch from mathuaerknedam to replace status keywords in messages with blanks, and vice versa. Fixes #11872.
2009-07-27 Patch from '''mathuaerknedam''' which adds a message style keyword `%userIcons%` which is replaced by `showIcons` if user icons are enabled in the Messages preferences and `hideIcons` if they aren't. This lets him do some CSS voodoo of some sort :) Fixes #11874
2009-07-27 Patch from mathuaerknedam to fix `%serviceIconImg%` and add a tooltip to it. Fixes #12664. Thanks!
2009-06-24 Make mvv3 not coalesce, as originally intended. Nice catch mathuaerknedam
2009-06-20 Patch from mathuaerknedam, fixes #12448
2009-06-20 Patch from Ariel Chinn to make user coloring generic so it can be used in the log viewer
2009-06-02 My usual habit of checking in NSLog continues unabated.
2009-06-02 Don't infinite loop if an incoming message contains %message%.
2009-06-01 Synthesize a bunch of message view controller/message style methods
2009-06-01 Reload message style resources if the bundle has been updated since the last time we loaded a style
2009-05-17 Add a workaround for #11981. Refs #11981
2009-04-22 Implement a caching system for our date formatters. They showed up at 25% or so on a profile due to %shortTime% replacement in the wkmv
2009-04-11 Adds the keyword %senderPrefix% which is substituted by the textual representation of the sender's current status in a chat (@ for op, + for voice, % for halfop, . for founder, and an empty string if none). Fixes #11882.
2009-04-11 Add %service% to all WKMV templates. Fixes #11872. We use the chat's account's service instead of the source's because it is likely for statuses that the source does not exist. I don't see any other keywords which could potentially be used between status and message; the remaining are all rather specific to the type of content (sender, mostly, really). Fixes #11872.
2009-04-02 Edit the topic on double click, not on single click. When we finish topic editing, we clear out this old span, so the new one that gets inserted won't be editable.
2009-04-01 Make notifications use status.html. mathuaerknedam says they should. Fixes #11528
2009-04-01 We should not infinite loop if the message contains %message%
2009-04-01 Tentative fix for #7508. aerk, please let me know if this works. Refs #7508
2009-04-01 Replace %message% in a loop as we do other keywords. Fixes #9672
2009-03-29 For display (WKMV), use the alias in chat as formatted UID and the display name in the chat as display name. For logging, set the <message>'s alias to the display name in the chat.
2009-03-26 Only insert the topic <div> if the chat supports it. Change the "show header" option in the group chats prefpane to "show topic" and it does exactly what you think.
2009-03-26 For topics, replace {{{%message%}}} with the topic text, and {{{%topic%}}} with the editable span.
2009-03-26 Changes to the topics: %message% is now replaced by an editable <span>…</span> with an id of "topicEdit", allowing us much easier access to its specific contents. Set up an editing delegate on the WebView to monitor editable text (so, you know, the topic). Currently it gets to the point where it knows what text to update. However, I need to abstract AIChat knowing its topic and a hook into the account to update topics, first.
2009-03-26 Don't beachball if a style doesn't support topics.
2009-03-25 Initial topic should be blank, not "%@".
2009-03-25 Add a Topic template for message styles, which gets added into a <div> with id "topic" in group chats. Authors should do something like: <div contentEditable>%message%</div> (or span, or whatever) so that (in a future commit) topics can be edited. The substitutions are the same for AIContentMessages. %sender% could be nil, however, on initial join.
2009-03-04 Dot syntax. Lots of it.
2009-01-29 Propertyize a bunch of stuff, and remove some API on AIListObject that was just a passthrough to AIService
2009-01-17 Fixed scrolling to the bottom of the chat when it loads for message styles version 0 through 2 which don't include a custom template.html. Fixes #10541