Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#1179 closed Defect (Fixed)

[PATCH] Tweak definition of MVChatString to fix type encodings

Reported by: eridius Owned by: timothy
Component: Chat Core (IRC) Version: 2.1 (Mac)
Severity: Normal Keywords:


@encode() doesn't handle typedefs the same way as native classes, so every usage of MVChatString * in Chat Core is encoded as {NSAttributedString=#} rather than @. The practical effect this has is F-Script can no longer use the sendMessage:... methods as they want an FSPointer instead of an NSAttributedString.

The attached patch changes the typedefs into #defines, which fixes the encoding.

Change History (4)

comment:1 Changed 12 years ago by eridius

Ack, WikiFormatting destroyed my message. The erroneous encoding is ^{NSAttributedString=#}

comment:2 Changed 12 years ago by timothy

  • Resolution set to fixed
  • Status changed from new to closed

Landed in [3774].

comment:3 Changed 11 years ago by Robby

  • milestone set to Colloquy 2.2

comment:4 Changed 11 years ago by Robby

  • priority changed from Highest to Normal
  • Severity changed from Blocker to Normal
Note: See TracTickets for help on using tickets.