Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Partial, working CPScanner and CPCharacterSet.

#18

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.

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

State: open
Milestone: none
Assigned to: Francisco Tolmasky Francisco Tolmasky

Activity

  1. Francisco Tolmasky
    Francisco Tolmasky

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

    September 8th, 2008 @ 01:49 AM

  2. Francisco Tolmasky
  3. Francisco Tolmasky
    Francisco Tolmasky

    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.

    September 15th, 2008 @ 11:08 AM

  4. Ross Boucher
    Ross Boucher
    • Assigned user set to Francisco Tolmasky
    • State changed from new to open
    • Milestone cleared.

    Any update on this?

    September 29th, 2008 @ 10:10 AM

  5. cacaodev
    cacaodev
    • 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.

    March 11th, 2009 @ 02:11 AM

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.