Permalink
Commits on Mar 10, 2012
  1. Added insert_gist_list command.

    committed Mar 10, 2012
  2. Added insert_gist_list command.

    committed Mar 10, 2012
  3. Added insert_gist() method & InsertGistListCommand to provide gist in…

    …sertion directly into active Sublime Text 2 view.
    committed Mar 10, 2012
Commits on Jan 15, 2012
  1. Merge pull request #11 from technocoreai/master

    Better error messages and Fix some style issues with command names
    condemil committed Jan 15, 2012
Commits on Jan 13, 2012
  1. Better error messages

    This should provide somewhat better error messages. In case we actually
    reach GitHub (and not fail because of a network error), user will see
    the HTTP error code and contents of message field from the response.
    It's not perfect - ideally, we should use GitHub's response to show
    specific error messages (like 'duplicate filename), but that's a
    task for another day.
    technocoreai committed Jan 13, 2012
  2. Merge pull request #10 from technocoreai/master

    Refactorings + gist buffer support (much better workflow) + added new commands and features
    condemil committed Jan 13, 2012
  3. Better handle differnt Gist/local filenames

    If a view has a local filename and is bound to a Gist file with a
    different name, display it in the status line.
    technocoreai committed Jan 13, 2012
  4. Revert "Don't erase description on update_gist"

    This reverts commit 36ab959. Github
    folks fixed it on their side.
    technocoreai committed Jan 13, 2012
  5. Fix a bug with lost view.file_name()

    Previously, creating a gist from view that pointed to a real file
    "detached" the view from a file (because of set_name() call).
    technocoreai committed Jan 13, 2012
  6. Use gist_update_file instead of gist_update

    GistUpdateCommand was renamed to GistUpdateFileCommand, but keymaps and
    Main.sublime-menu weren't modified to acknowledge that.
    technocoreai committed Jan 13, 2012
  7. Reenable api_request_native

    api_request_native was disabled to check cURL and I forgot to enable
    it.
    technocoreai committed Jan 13, 2012
  8. Add 'Add To Gist' command

    Prompts the user for a gist and a filename and adds contents of current
    view as a new file in that gist. View is automatically gistified.
    technocoreai committed Jan 13, 2012
  9. Menu and command list changes

    Rename Update Gist to Update File.
    
    Put file-related items together and separate them from gist-related
    items.
    
    Add forgotten Delete File command.
    technocoreai committed Jan 13, 2012
  10. Add GistRenameFileCommand

    technocoreai committed Jan 13, 2012
  11. Can now create gists with multiple files

    If multiple regions are selected, user will only be prompted once for
    the filename and then a single gist with multiple files will be created
    with contents taken from selected regions.
    technocoreai committed Jan 13, 2012
  12. Add new commands to menu and command list

    Context menu: remove "get list" command, as it's available in command
    palette and main menu.
    
    Added new gist view commands: rename file, change gist description,
    delete file, delete gist. Commands themselves are not implemented yet.
    
    Main menu: split the Gist submenu into two logical blocks - commands
    that are always enabled (create gist/open gist) and gist view commands.
    technocoreai committed Jan 13, 2012
  13. Improved error handling

    @catch_errors now handles and pretty-prints other errors that the user
    may encounter, not just MissingCredentialsException.
    technocoreai committed Jan 13, 2012
  14. Switch from wget to cURL

    cURL is available as a package in all Linux distros and it allows us to
    use custom HTTP methods and not pass the password in command arguments
    (which are usually visible to other users on Unix systems).
    technocoreai committed Jan 13, 2012
  15. Use id instead of [No Name] for untitled gists.

    Gist title will now also be shown in the modeline, instead of just
    'Gist'.
    technocoreai committed Jan 13, 2012