Permalink
Commits on Oct 12, 2011
  1. Check for 204 in -connection:didReceiveResponse: and cancel connectio…

    Owain R Hunt committed Oct 12, 2011
    …n if true, calling delegate's -noContentResponseReceivedForConnection: method without going through unnecessary parsing steps.
    
    Not sure if this is where this code is going to stay. T for B Mr Melty-Brain.
  2. Code clean-up.

    Owain R Hunt committed Oct 12, 2011
  3. Fill out stub methods for email addresses, adding relevant request/re…

    Owain R Hunt committed Oct 12, 2011
    …sponse types and setting appropriate HTTP methods on requests.
  4. Code clean-up.

    Owain R Hunt committed Oct 12, 2011
  5. Fill out remaining case statements for response types.

    Owain R Hunt committed Oct 12, 2011
Commits on Oct 6, 2011
  1. Add empty case statements for new v3 response types in parsingSucceed…

    Owain R Hunt committed Oct 6, 2011
    …edForConnection:ofResponseType:withParsedObjects:.
  2. One of the benefits of v3 is the fact that all boolean fields are now…

    Owain R Hunt committed Oct 6, 2011
    … either 'true' or 'false', rather than a mixture of that and 0/1. As a result, we can get rid of all the 'boolElements' bits of our custom parsers. That, however, is just the starter.
    
    The main course is this: we can move all dateElements processing into the main parser file instead of having it scattered throughout ~86 subclasses, and simply populate the dateElements ivar with the names of all possible date fields (since they're now more standardised and stable) when we initialise a parser instance. What does all this mean? We now have one parser class that does all the work, 14 subclasses have gone bye-bye, and -parseDataForConnection: is now 11 lines instead of 48 in v2 (and would have been at least double that if we'd continued down the same route and added all the new v3 response types).
    I win coding.
  3. Spoke too soon. We still have a few fields that like to play fast and…

    Owain R Hunt committed Oct 6, 2011
    … loose with their date formats. Compensating...
  4. Update dateFromGithubDateString to reflect the fact the Github no lon…

    Owain R Hunt committed Oct 6, 2011
    …ger returns 3 differently-formatted date strings depending on which API call you happen to make.
  5. Ignore AppController.m.

    Owain R Hunt committed Oct 6, 2011
  6. Experiment with parser.

    Owain R Hunt committed Oct 6, 2011
  7. Any -sendRequest: call can now be sent with a page:x parameter. Not y…

    orhunt committed Oct 6, 2011
    …et implemented on actual engine methods.
  8. Any -sendRequest: call can now be sent with a page:x parameter. Not y…

    orhunt committed Oct 6, 2011
    …et implemented on actual engine methods.
  9. Add 'withParameters:nil' to call within -sendRequest:requestType:resp…

    orhunt committed Oct 6, 2011
    …onseType: so it'll actually, y'know, work.
  10. Add 'withParameters:nil' to call within -sendRequest:requestType:resp…

    orhunt committed Oct 6, 2011
    …onseType: so it'll actually, y'know, work.
  11. Add request and response types for pull request and PR comments calls…

    orhunt committed Oct 6, 2011
    …. Fill out stub methods for same. Add cases to -sendRequest: where necessary to set HTTP method.
  12. Add request and response types for pull request and PR comments calls…

    orhunt committed Oct 6, 2011
    …. Fill out stub methods for same. Add cases to -sendRequest: where necessary to set HTTP method.
  13. Add all gist and gist comment related request and response types. Fil…

    orhunt committed Oct 6, 2011
    …l out stub methods for same. Add appropriate cases to -sendRequest: to set HTTP method for API calls.
  14. Add all gist and gist comment related request and response types. Fil…

    orhunt committed Oct 6, 2011
    …l out stub methods for same. Add appropriate cases to -sendRequest: to set HTTP method for API calls.
Commits on Oct 4, 2011
  1. Updating Readme.

    orhunt committed Oct 4, 2011
  2. Updating Readme.

    orhunt committed Oct 4, 2011
  3. Add stub methods for all remaining sections of API.

    orhunt committed Oct 4, 2011
    Gists, gist comments, issue events, user emails, pull requests, pull request comments and user following. Also rearrange method order to reflect order of sections in API docs.
  4. Add stub methods for all remaining sections of API.

    orhunt committed Oct 4, 2011
    Gists, gist comments, issue events, user emails, pull requests, pull request comments and user following. Also rearrange method order to reflect order of sections in API docs.