Ignore:
Timestamp:
06/23/07 20:46:17 (17 years ago)
Author:
Nicholas Riley
Message:

ICeCoffEE.[hm]: Move parsing functions (ICCF_CheckRange,
ICCF_Delimiters, ICCF_ParseURL) and Internet Config start/stop
routines (ICCF_Stop/StartIC) to ICeCoffEEParser.[hm] so they can be
tested outside the APE. Also move ICCF_MAX_URL_LEN definition, and
extract guts of NSTextView parsing into ICCF_URLEnclosingRange.
Remove comment about TXNClick; if MLTE is deprecated I'm not going to
mess with it.

ICeCoffEEParser.[hm]: Moved everything discussed above to here.

ICeCoffEEServices.m: Some comments, now I realize how irritating the
service localization problem is.

ICeCoffEETerminal.m: Remove long-unused reference to
ICeCoffEEScanner.h (was from 1.2?).

ICeCoffEEScanner.[hm]: Removed, no longer in use.

TestParser.m: Very simple first pass at testing. There's much more I
want to do here.

urls.plist: First pass at URL test cases.

ICeCoffEE.xcodeproj: Add TestParser target (yes, it uses ZeroLink
because my machine is slow and it actually helps).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ICeCoffEE/ICeCoffEE/ICeCoffEE.h

    r183 r322  
    2626iccfURLAction ICCF_KeyboardAction(NSEvent *e);
    2727
    28 // throws an exception if the URL range is nonexistent or too big
    29 void ICCF_CheckRange(NSRange range);
    30 
    31 // returns NSCharacterSets representing valid URL delimiters for left and right sides
    32 void ICCF_Delimiters(NSCharacterSet **leftPtr, NSCharacterSet **rightPtr);
    33 
    34 // start Internet Config (before ICCF_LaunchURL)
    35 void ICCF_StartIC();
    36 
    37 // stop Internet Config (after ICCF_LaunchURL)
    38 void ICCF_StopIC();
    39 
    40 // calls ICParseURL, returns output range
    41 void ICCF_ParseURL(NSString *string, NSRange *range);
    42 
    4328// calls ICCF_DoURLAction
    4429// returns YES unless the user cancelled
Note: See TracChangeset for help on using the changeset viewer.