Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: api3
Commits on Oct 12, 2011
  1. Check for 204 in -connection:didReceiveResponse: and cancel connectio…

    Owain R Hunt authored
    …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 authored
  3. Fill out stub methods for email addresses, adding relevant request/re…

    Owain R Hunt authored
    …sponse types and setting appropriate HTTP methods on requests.
  4. Code clean-up.

    Owain R Hunt authored
  5. Fill out remaining case statements for response types.

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

    Owain R Hunt authored
    …edForConnection:ofResponseType:withParsedObjects:.
  2. One of the benefits of v3 is the fact that all boolean fields are now…

    Owain R Hunt authored
    … 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 authored
    … loose with their date formats. Compensating...
  4. Update dateFromGithubDateString to reflect the fact the Github no lon…

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

    Owain R Hunt authored
  6. Experiment with parser.

    Owain R Hunt authored
  7. @orhunt
  8. @orhunt
  9. @orhunt

    Any -sendRequest: call can now be sent with a page:x parameter. Not y…

    orhunt authored
    …et implemented on actual engine methods.
  10. @orhunt

    Any -sendRequest: call can now be sent with a page:x parameter. Not y…

    orhunt authored
    …et implemented on actual engine methods.
  11. @orhunt

    Add 'withParameters:nil' to call within -sendRequest:requestType:resp…

    orhunt authored
    …onseType: so it'll actually, y'know, work.
  12. @orhunt

    Add 'withParameters:nil' to call within -sendRequest:requestType:resp…

    orhunt authored
    …onseType: so it'll actually, y'know, work.
  13. @orhunt

    Add request and response types for pull request and PR comments calls…

    orhunt authored
    …. Fill out stub methods for same. Add cases to -sendRequest: where necessary to set HTTP method.
  14. @orhunt

    Add request and response types for pull request and PR comments calls…

    orhunt authored
    …. Fill out stub methods for same. Add cases to -sendRequest: where necessary to set HTTP method.
  15. @orhunt
  16. @orhunt
  17. @orhunt

    Add all gist and gist comment related request and response types. Fil…

    orhunt authored
    …l out stub methods for same. Add appropriate cases to -sendRequest: to set HTTP method for API calls.
  18. @orhunt

    Add all gist and gist comment related request and response types. Fil…

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

    Updating Readme.

    orhunt authored
  2. @orhunt

    Updating Readme.

    orhunt authored
  3. @orhunt

    Add stub methods for all remaining sections of API.

    orhunt authored
    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. @orhunt

    Add stub methods for all remaining sections of API.

    orhunt authored
    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.
  5. @orhunt
  6. @orhunt
  7. @orhunt
  8. @orhunt
  9. @orhunt
  10. @orhunt
Something went wrong with that request. Please try again.