William Bowling
|
5a9ea2979605 |
Merge from hg.adium.im |
|
|
Stephen Holt
|
6388b2768ef1 |
Complete libpurple uiops struct initializers in AdiumLibpurple.framework |
|
|
William Bowling
|
24c2afb2e56b |
merge |
|
|
Zachary West
|
d88a4b7a70a8 |
Display unhandled purple conversation writes in the next run loop. Fixes #13190. |
|
|
William Bowling
|
bfdbbb6fd385 |
Display the unsent message that is passed from libpurple instead of ignoring it. Fixes #13190. |
|
|
Stephen Holt
|
4bcad311909f |
Some new type fixes for 64bit in our libpurple connector. Should fix some odd issues, like crashing when initiating an OTR session. |
|
|
Zachary West
|
177b25c92580 |
Update the alias, if necessary, when updating a chat participant. |
|
|
Zachary West
|
0da4ed51dce3 |
Normalize the UID (possibly getting their real UID) when receiving a message from a group chat participant. Fixes #11416. |
|
|
Zachary West
|
ffda06c9025e |
Protect against get_cb_real_name returning NULL, since apparently the jabber prpl likes to do so. Fixes #11963. |
|
|
catfish_man
|
df033cc40f2d |
Disable the 'always search user paths' option (it's only enabled by default for backwards compatibility with gcc3) and fix the resulting errors. |
|
|
Zachary West
|
d5c020dfbf46 |
Avoid leaking this GList* the proper way. |
|
|
Zachary West
|
8d9461f9b987 |
Avoid leaking this GList*. |
|
|
Zachary West
|
0173ee011c24 |
Avoid doing a second buddy lookup on every update. |
|
|
Zachary West
|
f5e4bfc98331 |
Expose and display the attributes of PurpleConvChatBuddies I added in [26956], namely userhost and realname for IRC contacts. On join, we WHO the channel, and store userhosts and realnames for users. I need to add a timeout to the IRC protocol to WHO regularly to get status and real names for users who joined, but that can come later. |
|
|
Zachary West
|
aa25eda4e915 |
Add a Contextual and Display menu item for "Show Join/Leave Messages", defaulting to YES. This isn't currently saved anywhere, so it would have to be reapplied for each channel each time. |
|
|
Zachary West
|
1a09253849eb |
Except for errors, print all messages written to the chat using {{{purple_conversation_write}}} as events. Fixes #11796. |
|
|
Zachary West
|
c9a3f439efaf |
Remove CBPurpleAccount's knowledge of PurpleConvChatBuddys, instead send it the information it needs. I removed {{{uidForContactWithUID:inChat:}}} in favor of using the {{{get_cb_real_name}}} function in libpurple which returns the same thing. Always send a valid, normalized UID to CBPurpleAccount when dealing with participants, and always use the full name value if available. Fixes renaming of contacts, etc., in Jabber chats, and makes the code a good amount better. |
|
|
Zachary West
|
0b7d93a3f72d |
Use purple_normalize() when passing around quasi-UIDs for users, like most other code. There's one inlet where we accidentally let unnormalized UIDs through: when we're passing the GList* to CBPurpleAccount of participants, so we normalize here instead of when we're passing it. |
|
|
Zachary West
|
6eddc7deb5f3 |
Store flags and aliases for chats in the appropriate chats. Creates a new AIListContact cell for displaying in group chats, which prefixes the user with the character representing their status. As of yet, they aren't sorted by this order. |
|
|
Zachary West
|
5c49008f90f4 |
Provide a central method for displaying events in a chat. Respect libpurple's PURPLE_MESSAGE_NO_LINKIFY, which will process the HTML but nothing further; this makes joins/parts a lot more presentable in group chats, especially given that IRC contains hostnames which the lexer thinks are emails. |
|
|
Zachary West
|
a8048a3cf06d |
[26555] didn't actually fix the issue, it just made it random and worse. Opens #10189. |
|
|
Zachary West
|
327c3114443d |
Don't display "You have connected" when joining a chat; only when an already-open chat gets added (i.e., we reconnected). Fixes #10189. |
|
|
Zachary West
|
761b05dfd208 |
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. |
|
|
David Smith
|
092c44a2cfbb |
Having a separate notification center for Adium leads to the possibility of accidentally using the wrong one, which has tripped me up on more than one occasion. This switches us over to using the default center. |
|
|
David Smith
|
6aa798b1ca14 |
There was a bunch of redundant code here |
|
|
Evan Schoenberg
|
e366ffaf3fb7 |
Added NULL placeholder for the send_confirm callback |
|
|
David Smith
|
67f287b7723d |
These are not account names, they do not need (or want) normalizing. Let me know if this breaks non-XMPP stuff... it should not, it fixes XMPP stuff |
|
|
David Smith
|
718a1c581b07 |
Add initial support for ops/hops/voice/etc |
|
|
David Smith
|
837e43c8d35d |
I was hungry and didn't feel like working on hard stuff, so I did a bunch of propertyizing instead. |
|
|
David Smith
|
47acbc0cc17a |
Propertyize AIListObject and convert some more controller accesses to dot syntax |
|
|