Commit Graph

8 Commits

Author SHA1 Message Date
Allan Odgaard
c1552d56bc Include some context in error message 2014-06-28 17:42:23 +02:00
Allan Odgaard
3a0adfb6bf Collect proper error code if SecItemCopyMatching fails 2014-06-28 17:42:22 +02:00
Allan Odgaard
39b94e6ac3 Harmonize whitespace and add trailing newline 2014-04-14 14:26:52 +07:00
Allan Odgaard
10c212cbd6 Improve error dialog when failing to add license 2013-06-22 21:02:45 +07:00
Allan Odgaard
f43414ae54 Don’t use kSecAttrCreator with keychain API
The creator code is obsolete and doesn’t serve much of a purpose, as we already mention TextMate in the service name.

When updating a keychain item we leave out kSecAttrLabel and kSecAttrComment, which may fix issue #1029.
2013-06-22 21:02:45 +07:00
Allan Odgaard
f01a9d9a71 Remove keychain argument
The new (non-deprecated) API no longer allows us to target a specific keychain for add, remove, and lookup.

This wasn’t used by TextMate itself but was extremely useful for writing tests against the API (using temporary keychains).
2013-06-19 11:55:32 +07:00
Allan Odgaard
c3f79e2e05 Improve code to find license key 2013-06-18 13:43:18 +07:00
Allan Odgaard
e1b3f71a69 Let about window show license (if any)
There is currently no way to add a TextMate (1.x) license to the key chain, but those who used TextMate r9147 or earlier should have one stored already.
2012-09-30 23:06:57 +02:00