#18 open
millenomi

Partial, working CPScanner and CPCharacterSet.

Reported by millenomi | September 6th, 2008 @ 10:26 AM

CPScanner and CPCharacterSet are useful in many situations, but are missing. Attached is a skeleton implementation of both of them that, while not implementing all methods of the corresponding Cocoa classes, is already useful.

See the comments in the code for more details.

Comments and changes to this ticket

  • Francisco Tolmasky

    Francisco Tolmasky September 8th, 2008 @ 01:49 AM

    Sorry I haven't gotten around to reviewing/checking this in yet, I'll try to do so tomorrow (today).

  • Francisco Tolmasky
  • Francisco Tolmasky

    Francisco Tolmasky September 15th, 2008 @ 11:08 AM

    Hey millenomi, could you do a pass over this and make it so it conforms to our new style guidelines ( http://cappuccino.org/contribute... ). If not I could do so, but I figure you'd prefer to do it yourself. Also, before we get this in we'll need you to sign a contributor agreement, which we should hopefully have by the end of today or tomorrow.

  • Ross Boucher

    Ross Boucher September 29th, 2008 @ 10:10 AM

    • Assigned user set to “Francisco Tolmasky”
    • State changed from “new” to “open”
    • Milestone cleared.

    Any update on this?

  • cacaodev

    cacaodev March 11th, 2009 @ 02:11 AM

    • Tag changed from contrib to @needanswer, contrib, patch

    This patch would be very useful with some trivial fixes in the following methods of CPScanner.

    1/ -(BOOL)_performScanWithSelector:withObject:into: (see comments in the code about how to handle references)

    2/ - (CPString) scanUpToString:(CPString)s should be rather - (BOOL) scanUpToString:(CPString)s intoString:(CPString)value and set the captured string into value (value is a reference).

    millenomi, we need you, please come back to finish this important contribution.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins

People watching this ticket

Attachments

Pages