mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 08:12:28 +00:00
Converted project to ARC
This commit is contained in:
@@ -9,36 +9,36 @@
|
|||||||
/* Begin PBXBuildFile section */
|
/* Begin PBXBuildFile section */
|
||||||
4C01C23F1764D2980016D5D0 /* KdbEntry+Undo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C01C23E1764D2980016D5D0 /* KdbEntry+Undo.m */; };
|
4C01C23F1764D2980016D5D0 /* KdbEntry+Undo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C01C23E1764D2980016D5D0 /* KdbEntry+Undo.m */; };
|
||||||
4C01C2421764D8980016D5D0 /* MPContextMenuHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C01C2411764D8980016D5D0 /* MPContextMenuHelper.m */; };
|
4C01C2421764D8980016D5D0 /* MPContextMenuHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C01C2411764D8980016D5D0 /* MPContextMenuHelper.m */; };
|
||||||
4C01C245176500C40016D5D0 /* HNHLevelIndicatorCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C01C244176500C40016D5D0 /* HNHLevelIndicatorCell.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C01C245176500C40016D5D0 /* HNHLevelIndicatorCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C01C244176500C40016D5D0 /* HNHLevelIndicatorCell.m */; };
|
||||||
4C0D9B37177F84D700D0857C /* HNHSecureTextView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C0D9B36177F84D700D0857C /* HNHSecureTextView.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C0D9B37177F84D700D0857C /* HNHSecureTextView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C0D9B36177F84D700D0857C /* HNHSecureTextView.m */; };
|
||||||
4C0D9B3A177F867100D0857C /* HNHSecureLayoutManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C0D9B39177F867100D0857C /* HNHSecureLayoutManager.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C0D9B3A177F867100D0857C /* HNHSecureLayoutManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C0D9B39177F867100D0857C /* HNHSecureLayoutManager.m */; };
|
||||||
4C1DDCDD1711ECEB00C98DA3 /* PasswordCreatorWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C1DDCDC1711ECEB00C98DA3 /* PasswordCreatorWindow.xib */; };
|
4C1DDCDD1711ECEB00C98DA3 /* PasswordCreatorWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C1DDCDC1711ECEB00C98DA3 /* PasswordCreatorWindow.xib */; };
|
||||||
4C22040D1746ED160054C916 /* KdbGroup+Undo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C22040C1746ED160054C916 /* KdbGroup+Undo.m */; };
|
4C22040D1746ED160054C916 /* KdbGroup+Undo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C22040C1746ED160054C916 /* KdbGroup+Undo.m */; };
|
||||||
4C245B76176E1E3D0086100E /* DDData.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A6A176E1E3C0086100E /* DDData.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C245B76176E1E3D0086100E /* DDData.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A6A176E1E3C0086100E /* DDData.m */; };
|
||||||
4C245B77176E1E3D0086100E /* DDNumber.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A6C176E1E3C0086100E /* DDNumber.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C245B77176E1E3D0086100E /* DDNumber.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A6C176E1E3C0086100E /* DDNumber.m */; };
|
||||||
4C245B78176E1E3D0086100E /* DDRange.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A6E176E1E3C0086100E /* DDRange.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C245B78176E1E3D0086100E /* DDRange.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A6E176E1E3C0086100E /* DDRange.m */; };
|
||||||
4C245B79176E1E3D0086100E /* HTTPAuthenticationRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A70176E1E3C0086100E /* HTTPAuthenticationRequest.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C245B79176E1E3D0086100E /* HTTPAuthenticationRequest.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A70176E1E3C0086100E /* HTTPAuthenticationRequest.m */; };
|
||||||
4C245B7A176E1E3D0086100E /* HTTPConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A72176E1E3C0086100E /* HTTPConnection.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C245B7A176E1E3D0086100E /* HTTPConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A72176E1E3C0086100E /* HTTPConnection.m */; };
|
||||||
4C245B7B176E1E3D0086100E /* HTTPMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A75176E1E3C0086100E /* HTTPMessage.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C245B7B176E1E3D0086100E /* HTTPMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A75176E1E3C0086100E /* HTTPMessage.m */; };
|
||||||
4C245B7C176E1E3D0086100E /* HTTPServer.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A78176E1E3C0086100E /* HTTPServer.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C245B7C176E1E3D0086100E /* HTTPServer.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A78176E1E3C0086100E /* HTTPServer.m */; };
|
||||||
4C245B7D176E1E3D0086100E /* MultipartFormDataParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A7B176E1E3C0086100E /* MultipartFormDataParser.m */; };
|
4C245B7D176E1E3D0086100E /* MultipartFormDataParser.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A7B176E1E3C0086100E /* MultipartFormDataParser.m */; };
|
||||||
4C245B7E176E1E3D0086100E /* MultipartMessageHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A7D176E1E3C0086100E /* MultipartMessageHeader.m */; };
|
4C245B7E176E1E3D0086100E /* MultipartMessageHeader.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A7D176E1E3C0086100E /* MultipartMessageHeader.m */; };
|
||||||
4C245B7F176E1E3D0086100E /* MultipartMessageHeaderField.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A7F176E1E3C0086100E /* MultipartMessageHeaderField.m */; };
|
4C245B7F176E1E3D0086100E /* MultipartMessageHeaderField.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A7F176E1E3C0086100E /* MultipartMessageHeaderField.m */; };
|
||||||
4C245B80176E1E3D0086100E /* HTTPAsyncFileResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A82176E1E3C0086100E /* HTTPAsyncFileResponse.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C245B80176E1E3D0086100E /* HTTPAsyncFileResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A82176E1E3C0086100E /* HTTPAsyncFileResponse.m */; };
|
||||||
4C245B81176E1E3D0086100E /* HTTPDataResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A84176E1E3C0086100E /* HTTPDataResponse.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C245B81176E1E3D0086100E /* HTTPDataResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A84176E1E3C0086100E /* HTTPDataResponse.m */; };
|
||||||
4C245B82176E1E3D0086100E /* HTTPDynamicFileResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A86176E1E3C0086100E /* HTTPDynamicFileResponse.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C245B82176E1E3D0086100E /* HTTPDynamicFileResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A86176E1E3C0086100E /* HTTPDynamicFileResponse.m */; };
|
||||||
4C245B83176E1E3D0086100E /* HTTPErrorResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A88176E1E3C0086100E /* HTTPErrorResponse.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C245B83176E1E3D0086100E /* HTTPErrorResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A88176E1E3C0086100E /* HTTPErrorResponse.m */; };
|
||||||
4C245B84176E1E3D0086100E /* HTTPFileResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A8A176E1E3C0086100E /* HTTPFileResponse.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C245B84176E1E3D0086100E /* HTTPFileResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A8A176E1E3C0086100E /* HTTPFileResponse.m */; };
|
||||||
4C245B85176E1E3D0086100E /* HTTPRedirectResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A8C176E1E3C0086100E /* HTTPRedirectResponse.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C245B85176E1E3D0086100E /* HTTPRedirectResponse.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A8C176E1E3C0086100E /* HTTPRedirectResponse.m */; };
|
||||||
4C245B86176E1E3D0086100E /* WebSocket.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A8E176E1E3C0086100E /* WebSocket.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C245B86176E1E3D0086100E /* WebSocket.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245A8E176E1E3C0086100E /* WebSocket.m */; };
|
||||||
4C245BE9176E1E3D0086100E /* GCDAsyncSocket.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245B61176E1E3D0086100E /* GCDAsyncSocket.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C245BE9176E1E3D0086100E /* GCDAsyncSocket.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245B61176E1E3D0086100E /* GCDAsyncSocket.m */; };
|
||||||
4C245BEB176E1E3D0086100E /* DDAbstractDatabaseLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245B65176E1E3D0086100E /* DDAbstractDatabaseLogger.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C245BEB176E1E3D0086100E /* DDAbstractDatabaseLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245B65176E1E3D0086100E /* DDAbstractDatabaseLogger.m */; };
|
||||||
4C245BEC176E1E3D0086100E /* DDASLLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245B67176E1E3D0086100E /* DDASLLogger.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C245BEC176E1E3D0086100E /* DDASLLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245B67176E1E3D0086100E /* DDASLLogger.m */; };
|
||||||
4C245BED176E1E3D0086100E /* DDFileLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245B69176E1E3D0086100E /* DDFileLogger.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C245BED176E1E3D0086100E /* DDFileLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245B69176E1E3D0086100E /* DDFileLogger.m */; };
|
||||||
4C245BEE176E1E3D0086100E /* DDLog.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245B6B176E1E3D0086100E /* DDLog.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C245BEE176E1E3D0086100E /* DDLog.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245B6B176E1E3D0086100E /* DDLog.m */; };
|
||||||
4C245BEF176E1E3D0086100E /* DDTTYLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245B6D176E1E3D0086100E /* DDTTYLogger.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C245BEF176E1E3D0086100E /* DDTTYLogger.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245B6D176E1E3D0086100E /* DDTTYLogger.m */; };
|
||||||
4C245BF0176E1E3D0086100E /* ContextFilterLogFormatter.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245B70176E1E3D0086100E /* ContextFilterLogFormatter.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C245BF0176E1E3D0086100E /* ContextFilterLogFormatter.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245B70176E1E3D0086100E /* ContextFilterLogFormatter.m */; };
|
||||||
4C245BF1176E1E3D0086100E /* DispatchQueueLogFormatter.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245B72176E1E3D0086100E /* DispatchQueueLogFormatter.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C245BF1176E1E3D0086100E /* DispatchQueueLogFormatter.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C245B72176E1E3D0086100E /* DispatchQueueLogFormatter.m */; };
|
||||||
4C25D58716CF0FAA00F6806C /* EntryView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C25D58616CF0FAA00F6806C /* EntryView.xib */; };
|
4C25D58716CF0FAA00F6806C /* EntryView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C25D58616CF0FAA00F6806C /* EntryView.xib */; };
|
||||||
4C2724CE1778EFB100FD8456 /* NSData+Random.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C2724CD1778EFB100FD8456 /* NSData+Random.m */; };
|
4C2724CE1778EFB100FD8456 /* NSData+Random.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C2724CD1778EFB100FD8456 /* NSData+Random.m */; };
|
||||||
4C2724D11778EFE300FD8456 /* NSString+Empty.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C2724D01778EFE300FD8456 /* NSString+Empty.m */; };
|
4C2724D11778EFE300FD8456 /* NSString+Empty.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C2724D01778EFE300FD8456 /* NSString+Empty.m */; };
|
||||||
@@ -53,29 +53,29 @@
|
|||||||
4C2E382316D1421B00037A9D /* MPIconHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C2E382216D1421B00037A9D /* MPIconHelper.m */; };
|
4C2E382316D1421B00037A9D /* MPIconHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C2E382216D1421B00037A9D /* MPIconHelper.m */; };
|
||||||
4C2E382616D1470200037A9D /* MPViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C2E382516D1470200037A9D /* MPViewController.m */; };
|
4C2E382616D1470200037A9D /* MPViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C2E382516D1470200037A9D /* MPViewController.m */; };
|
||||||
4C36E5B4177CD4FB00152132 /* Kdb4Tree+KVOAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C36E5B3177CD4FB00152132 /* Kdb4Tree+KVOAdditions.m */; };
|
4C36E5B4177CD4FB00152132 /* Kdb4Tree+KVOAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C36E5B3177CD4FB00152132 /* Kdb4Tree+KVOAdditions.m */; };
|
||||||
4C37A6731769393300AD0A40 /* HNHTableHeaderCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C37A6721769393300AD0A40 /* HNHTableHeaderCell.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C37A6731769393300AD0A40 /* HNHTableHeaderCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C37A6721769393300AD0A40 /* HNHTableHeaderCell.m */; };
|
||||||
4C37A84015B8B474005EF8EE /* MPOutlineDataSource.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C37A83F15B8B474005EF8EE /* MPOutlineDataSource.m */; };
|
4C37A84015B8B474005EF8EE /* MPOutlineDataSource.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C37A83F15B8B474005EF8EE /* MPOutlineDataSource.m */; };
|
||||||
4C3BD51516D276F800389F1F /* MPToolbarDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C3BD51416D276F800389F1F /* MPToolbarDelegate.m */; };
|
4C3BD51516D276F800389F1F /* MPToolbarDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C3BD51416D276F800389F1F /* MPToolbarDelegate.m */; };
|
||||||
4C3D4C0817594CA40038DAAC /* HNHSeparator.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C3D4C0717594CA40038DAAC /* HNHSeparator.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C3D4C0817594CA40038DAAC /* HNHSeparator.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C3D4C0717594CA40038DAAC /* HNHSeparator.m */; };
|
||||||
4C3E1CC0177DEFB3003BD9BD /* StringField+Undo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C3E1CBF177DEFB3003BD9BD /* StringField+Undo.m */; };
|
4C3E1CC0177DEFB3003BD9BD /* StringField+Undo.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C3E1CBF177DEFB3003BD9BD /* StringField+Undo.m */; };
|
||||||
4C3FFD9E16DAF60600DF9186 /* FilterBar.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C3FFD9D16DAF60600DF9186 /* FilterBar.xib */; };
|
4C3FFD9E16DAF60600DF9186 /* FilterBar.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C3FFD9D16DAF60600DF9186 /* FilterBar.xib */; };
|
||||||
4C431BCD16E2A82800700A81 /* MPPasteBoardController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C431BCC16E2A82700700A81 /* MPPasteBoardController.m */; };
|
4C431BCD16E2A82800700A81 /* MPPasteBoardController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C431BCC16E2A82700700A81 /* MPPasteBoardController.m */; };
|
||||||
4C431BCF16E2BAB000700A81 /* OverlayWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C431BCE16E2BAB000700A81 /* OverlayWindow.xib */; };
|
4C431BCF16E2BAB000700A81 /* OverlayWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C431BCE16E2BAB000700A81 /* OverlayWindow.xib */; };
|
||||||
4C46B88517063A070046109A /* NSString+MPPasswordCreation.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C46B88417063A070046109A /* NSString+MPPasswordCreation.m */; };
|
4C46B88517063A070046109A /* NSString+MPPasswordCreation.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C46B88417063A070046109A /* NSString+MPPasswordCreation.m */; };
|
||||||
4C46B88817063A170046109A /* NSString+MPPasswordAnalysis.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C46B88717063A170046109A /* NSString+MPPasswordAnalysis.m */; };
|
4C46B88817063A170046109A /* NSString+MPPasswordAnalysis.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C46B88717063A170046109A /* NSString+MPPasswordAnalysis.m */; };
|
||||||
4C46E09E17673A0A00DA62E8 /* HNHShadowBox.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C46E09D17673A0A00DA62E8 /* HNHShadowBox.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C46E09E17673A0A00DA62E8 /* HNHShadowBox.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C46E09D17673A0A00DA62E8 /* HNHShadowBox.m */; };
|
||||||
4C4A100F176286FD00BBF2CA /* MPTableView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C4A100E176286FD00BBF2CA /* MPTableView.m */; };
|
4C4A100F176286FD00BBF2CA /* MPTableView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C4A100E176286FD00BBF2CA /* MPTableView.m */; };
|
||||||
4C4A101217629DA900BBF2CA /* KdbGroup+KVOAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C4A101117629DA900BBF2CA /* KdbGroup+KVOAdditions.m */; };
|
4C4A101217629DA900BBF2CA /* KdbGroup+KVOAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C4A101117629DA900BBF2CA /* KdbGroup+KVOAdditions.m */; };
|
||||||
4C4FCE15177CFE6B00BBF7AE /* MPCustomFieldTableCellView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C4FCE14177CFE6B00BBF7AE /* MPCustomFieldTableCellView.m */; };
|
4C4FCE15177CFE6B00BBF7AE /* MPCustomFieldTableCellView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C4FCE14177CFE6B00BBF7AE /* MPCustomFieldTableCellView.m */; };
|
||||||
4C4FCE18177D03D700BBF7AE /* Kdb4Entry+KVOAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C4FCE17177D03D700BBF7AE /* Kdb4Entry+KVOAdditions.m */; };
|
4C4FCE18177D03D700BBF7AE /* Kdb4Entry+KVOAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C4FCE17177D03D700BBF7AE /* Kdb4Entry+KVOAdditions.m */; };
|
||||||
4C52A244177D7B9F0000D88F /* HNHScrollView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C52A243177D7B9F0000D88F /* HNHScrollView.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C52A244177D7B9F0000D88F /* HNHScrollView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C52A243177D7B9F0000D88F /* HNHScrollView.m */; };
|
||||||
4C569D9E17652B0600595B62 /* MPConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C569D9D17652B0600595B62 /* MPConstants.m */; };
|
4C569D9E17652B0600595B62 /* MPConstants.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C569D9D17652B0600595B62 /* MPConstants.m */; };
|
||||||
4C569DA117652BFE00595B62 /* MPEntryTableDataSource.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C569DA017652BFE00595B62 /* MPEntryTableDataSource.m */; };
|
4C569DA117652BFE00595B62 /* MPEntryTableDataSource.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C569DA017652BFE00595B62 /* MPEntryTableDataSource.m */; };
|
||||||
4C569DA417653F3500595B62 /* KdbEntry+MPTreeTools.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C569DA317653F3500595B62 /* KdbEntry+MPTreeTools.m */; };
|
4C569DA417653F3500595B62 /* KdbEntry+MPTreeTools.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C569DA317653F3500595B62 /* KdbEntry+MPTreeTools.m */; };
|
||||||
4C586F9E16D07ABD00E7DB57 /* 00_PasswordTemplate.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 4C586F9D16D07ABD00E7DB57 /* 00_PasswordTemplate.pdf */; };
|
4C586F9E16D07ABD00E7DB57 /* 00_PasswordTemplate.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 4C586F9D16D07ABD00E7DB57 /* 00_PasswordTemplate.pdf */; };
|
||||||
4C586FA016D07D7200E7DB57 /* 01_PackageNetworkTemplate.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 4C586F9F16D07D7200E7DB57 /* 01_PackageNetworkTemplate.pdf */; };
|
4C586FA016D07D7200E7DB57 /* 01_PackageNetworkTemplate.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 4C586F9F16D07D7200E7DB57 /* 01_PackageNetworkTemplate.pdf */; };
|
||||||
4C586FA216D07F6A00E7DB57 /* 02_MessageBoxWarningTemplate.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 4C586FA116D07F6A00E7DB57 /* 02_MessageBoxWarningTemplate.pdf */; };
|
4C586FA216D07F6A00E7DB57 /* 02_MessageBoxWarningTemplate.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 4C586FA116D07F6A00E7DB57 /* 02_MessageBoxWarningTemplate.pdf */; };
|
||||||
4C58BD4F176370B100B8178C /* HNHBadgedTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C58BD4E176370B100B8178C /* HNHBadgedTextField.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C58BD4F176370B100B8178C /* HNHBadgedTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C58BD4E176370B100B8178C /* HNHBadgedTextField.m */; };
|
||||||
4C5A11FE1708DE8700223D8A /* MPPasswordCreatorViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C5A11FC1708DE8700223D8A /* MPPasswordCreatorViewController.m */; };
|
4C5A11FE1708DE8700223D8A /* MPPasswordCreatorViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C5A11FC1708DE8700223D8A /* MPPasswordCreatorViewController.m */; };
|
||||||
4C5A11FF1708DE8800223D8A /* PasswordCreatorView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C5A11FD1708DE8700223D8A /* PasswordCreatorView.xib */; };
|
4C5A11FF1708DE8800223D8A /* PasswordCreatorView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C5A11FD1708DE8700223D8A /* PasswordCreatorView.xib */; };
|
||||||
4C5BF67B175C01F300D53DF7 /* MPUppercaseStringValueTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C5BF67A175C01F300D53DF7 /* MPUppercaseStringValueTransformer.m */; };
|
4C5BF67B175C01F300D53DF7 /* MPUppercaseStringValueTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C5BF67A175C01F300D53DF7 /* MPUppercaseStringValueTransformer.m */; };
|
||||||
@@ -116,7 +116,7 @@
|
|||||||
4C669B9F16760ED100DD0774 /* RandomStream.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C669B7516760ED100DD0774 /* RandomStream.m */; };
|
4C669B9F16760ED100DD0774 /* RandomStream.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C669B7516760ED100DD0774 /* RandomStream.m */; };
|
||||||
4C669BA016760ED100DD0774 /* Salsa20RandomStream.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C669B7716760ED100DD0774 /* Salsa20RandomStream.m */; };
|
4C669BA016760ED100DD0774 /* Salsa20RandomStream.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C669B7716760ED100DD0774 /* Salsa20RandomStream.m */; };
|
||||||
4C669BA216760ED100DD0774 /* UUID.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C669B7B16760ED100DD0774 /* UUID.m */; };
|
4C669BA216760ED100DD0774 /* UUID.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C669B7B16760ED100DD0774 /* UUID.m */; };
|
||||||
4C69A73A16D589DF00EC1B1A /* HNHGradientView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C69A73916D589DF00EC1B1A /* HNHGradientView.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C69A73A16D589DF00EC1B1A /* HNHGradientView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C69A73916D589DF00EC1B1A /* HNHGradientView.m */; };
|
||||||
4C74DD07177BD1640034A9DB /* MPCustomFieldView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C74DD06177BD1640034A9DB /* MPCustomFieldView.m */; };
|
4C74DD07177BD1640034A9DB /* MPCustomFieldView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C74DD06177BD1640034A9DB /* MPCustomFieldView.m */; };
|
||||||
4C76155C1764C04C0015A1A6 /* GeneralSettings.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C76155E1764C04C0015A1A6 /* GeneralSettings.xib */; };
|
4C76155C1764C04C0015A1A6 /* GeneralSettings.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C76155E1764C04C0015A1A6 /* GeneralSettings.xib */; };
|
||||||
4C7615631764C08C0015A1A6 /* PasswordEditView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C7615651764C08C0015A1A6 /* PasswordEditView.xib */; };
|
4C7615631764C08C0015A1A6 /* PasswordEditView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C7615651764C08C0015A1A6 /* PasswordEditView.xib */; };
|
||||||
@@ -130,10 +130,10 @@
|
|||||||
4C77E37315B84A240093A587 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C77E37215B84A240093A587 /* main.m */; };
|
4C77E37315B84A240093A587 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C77E37215B84A240093A587 /* main.m */; };
|
||||||
4C77E37A15B84A240093A587 /* MPAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C77E37915B84A240093A587 /* MPAppDelegate.m */; };
|
4C77E37A15B84A240093A587 /* MPAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C77E37915B84A240093A587 /* MPAppDelegate.m */; };
|
||||||
4C77E37D15B84A240093A587 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C77E37B15B84A240093A587 /* MainMenu.xib */; };
|
4C77E37D15B84A240093A587 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C77E37B15B84A240093A587 /* MainMenu.xib */; };
|
||||||
4C79DF2A176685870083708F /* HNHRoundedTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C79DF29176685870083708F /* HNHRoundedTextField.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C79DF2A176685870083708F /* HNHRoundedTextField.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C79DF29176685870083708F /* HNHRoundedTextField.m */; };
|
||||||
4C7E832A172DE2F2002493D8 /* MPPasswordEditViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C7E8329172DE2F2002493D8 /* MPPasswordEditViewController.m */; };
|
4C7E832A172DE2F2002493D8 /* MPPasswordEditViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C7E8329172DE2F2002493D8 /* MPPasswordEditViewController.m */; };
|
||||||
4C7F35681779DFFB00C57890 /* Errors.strings in Resources */ = {isa = PBXBuildFile; fileRef = 4C7F356A1779DFFB00C57890 /* Errors.strings */; };
|
4C7F35681779DFFB00C57890 /* Errors.strings in Resources */ = {isa = PBXBuildFile; fileRef = 4C7F356A1779DFFB00C57890 /* Errors.strings */; };
|
||||||
4C80BB6F176DE06F00E5E248 /* HNHScrollDocumentViewAdapter.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C80BB6E176DE06F00E5E248 /* HNHScrollDocumentViewAdapter.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C80BB6F176DE06F00E5E248 /* HNHScrollDocumentViewAdapter.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C80BB6E176DE06F00E5E248 /* HNHScrollDocumentViewAdapter.m */; };
|
||||||
4C811C8316ECD06E00C4BAC6 /* MPKeyfilePathControlDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C811C8216ECD06E00C4BAC6 /* MPKeyfilePathControlDelegate.m */; };
|
4C811C8316ECD06E00C4BAC6 /* MPKeyfilePathControlDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C811C8216ECD06E00C4BAC6 /* MPKeyfilePathControlDelegate.m */; };
|
||||||
4C83814215BF4677001AE468 /* MPDocumentWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C83814115BF4677001AE468 /* MPDocumentWindowController.m */; };
|
4C83814215BF4677001AE468 /* MPDocumentWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C83814115BF4677001AE468 /* MPDocumentWindowController.m */; };
|
||||||
4C83F4AA1774B155006C5FC0 /* Kdb3Tree+NewTree.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C83F4A91774B155006C5FC0 /* Kdb3Tree+NewTree.m */; };
|
4C83F4AA1774B155006C5FC0 /* Kdb3Tree+NewTree.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C83F4A91774B155006C5FC0 /* Kdb3Tree+NewTree.m */; };
|
||||||
@@ -143,29 +143,29 @@
|
|||||||
4C888C9716EB754B003D34A1 /* MPActionHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C888C9616EB754B003D34A1 /* MPActionHelper.m */; };
|
4C888C9716EB754B003D34A1 /* MPActionHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C888C9616EB754B003D34A1 /* MPActionHelper.m */; };
|
||||||
4C8FECC816D57E3200BF26CF /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C8FECC716D57E3200BF26CF /* QuartzCore.framework */; };
|
4C8FECC816D57E3200BF26CF /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4C8FECC716D57E3200BF26CF /* QuartzCore.framework */; };
|
||||||
4C920E2A16DCDFA00083839B /* MPLoggerProxy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C920E2916DCDFA00083839B /* MPLoggerProxy.m */; };
|
4C920E2A16DCDFA00083839B /* MPLoggerProxy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C920E2916DCDFA00083839B /* MPLoggerProxy.m */; };
|
||||||
4C9D6AA917615199001C660C /* HNHRoundedSecureTextFieldCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C9D6AA817615199001C660C /* HNHRoundedSecureTextFieldCell.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4C9D6AA917615199001C660C /* HNHRoundedSecureTextFieldCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C9D6AA817615199001C660C /* HNHRoundedSecureTextFieldCell.m */; };
|
||||||
4CA0B2ED15BCADAC00654E32 /* SettingsWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4CA0B2EC15BCADAC00654E32 /* SettingsWindow.xib */; };
|
4CA0B2ED15BCADAC00654E32 /* SettingsWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4CA0B2EC15BCADAC00654E32 /* SettingsWindow.xib */; };
|
||||||
4CA0B2F915BCAF6700654E32 /* MPGeneralSettingsController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CA0B2F815BCAF6700654E32 /* MPGeneralSettingsController.m */; };
|
4CA0B2F915BCAF6700654E32 /* MPGeneralSettingsController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CA0B2F815BCAF6700654E32 /* MPGeneralSettingsController.m */; };
|
||||||
4CA0B2FC15BCAF8600654E32 /* MPSettingsWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CA0B2FB15BCAF8600654E32 /* MPSettingsWindowController.m */; };
|
4CA0B2FC15BCAF8600654E32 /* MPSettingsWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CA0B2FB15BCAF8600654E32 /* MPSettingsWindowController.m */; };
|
||||||
4CA0E3A7176FAF99004D18CB /* MPDocumentQueryService.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CA0E3A6176FAF99004D18CB /* MPDocumentQueryService.m */; };
|
4CA0E3A7176FAF99004D18CB /* MPDocumentQueryService.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CA0E3A6176FAF99004D18CB /* MPDocumentQueryService.m */; };
|
||||||
4CA2335A176DBFE100F0B6AC /* MPLockDaemon.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CA23359176DBFE100F0B6AC /* MPLockDaemon.m */; };
|
4CA2335A176DBFE100F0B6AC /* MPLockDaemon.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CA23359176DBFE100F0B6AC /* MPLockDaemon.m */; };
|
||||||
4CAD747B15B887FD00104512 /* DDXMLElementAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CAD745715B887FD00104512 /* DDXMLElementAdditions.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4CAD747B15B887FD00104512 /* DDXMLElementAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CAD745715B887FD00104512 /* DDXMLElementAdditions.m */; };
|
||||||
4CAD747C15B887FD00104512 /* NSString+DDXML.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CAD745A15B887FD00104512 /* NSString+DDXML.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4CAD747C15B887FD00104512 /* NSString+DDXML.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CAD745A15B887FD00104512 /* NSString+DDXML.m */; };
|
||||||
4CAD747D15B887FD00104512 /* DDXMLDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CAD745D15B887FD00104512 /* DDXMLDocument.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4CAD747D15B887FD00104512 /* DDXMLDocument.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CAD745D15B887FD00104512 /* DDXMLDocument.m */; };
|
||||||
4CAD747E15B887FD00104512 /* DDXMLElement.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CAD745F15B887FD00104512 /* DDXMLElement.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4CAD747E15B887FD00104512 /* DDXMLElement.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CAD745F15B887FD00104512 /* DDXMLElement.m */; };
|
||||||
4CAD747F15B887FD00104512 /* DDXMLNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CAD746115B887FD00104512 /* DDXMLNode.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4CAD747F15B887FD00104512 /* DDXMLNode.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CAD746115B887FD00104512 /* DDXMLNode.m */; };
|
||||||
4CAD748C15B889B700104512 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4CAD748B15B889B700104512 /* Security.framework */; };
|
4CAD748C15B889B700104512 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4CAD748B15B889B700104512 /* Security.framework */; };
|
||||||
4CAD748E15B88AC100104512 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 4CAD748D15B88AC100104512 /* libz.dylib */; };
|
4CAD748E15B88AC100104512 /* libz.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 4CAD748D15B88AC100104512 /* libz.dylib */; };
|
||||||
4CAF62FC1763604000CD7084 /* HNHBadgedTextFieldCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CAF62FB1763604000CD7084 /* HNHBadgedTextFieldCell.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4CAF62FC1763604000CD7084 /* HNHBadgedTextFieldCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CAF62FB1763604000CD7084 /* HNHBadgedTextFieldCell.m */; };
|
||||||
4CB9339916D3A0DD00A13B5D /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = 4CB9339716D3A0DD00A13B5D /* Credits.rtf */; };
|
4CB9339916D3A0DD00A13B5D /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = 4CB9339716D3A0DD00A13B5D /* Credits.rtf */; };
|
||||||
4CBA2ABA17074C07006D8139 /* MPSettingsHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CBA2AB917074C07006D8139 /* MPSettingsHelper.m */; };
|
4CBA2ABA17074C07006D8139 /* MPSettingsHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CBA2AB917074C07006D8139 /* MPSettingsHelper.m */; };
|
||||||
4CC1AEBE16D4467C006D2AAB /* KdbTree+MPAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CC1AEBD16D4467C006D2AAB /* KdbTree+MPAdditions.m */; };
|
4CC1AEBE16D4467C006D2AAB /* KdbTree+MPAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CC1AEBD16D4467C006D2AAB /* KdbTree+MPAdditions.m */; };
|
||||||
4CC299FF176F99E50050C939 /* MPRequestHandlerService.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CC299FE176F99E50050C939 /* MPRequestHandlerService.m */; };
|
4CC299FF176F99E50050C939 /* MPRequestHandlerService.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CC299FE176F99E50050C939 /* MPRequestHandlerService.m */; };
|
||||||
4CC29A02176F9D140050C939 /* MPTestAssociateRequestHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CC29A01176F9D140050C939 /* MPTestAssociateRequestHandler.m */; };
|
4CC29A02176F9D140050C939 /* MPTestAssociateRequestHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CC29A01176F9D140050C939 /* MPTestAssociateRequestHandler.m */; };
|
||||||
4CC3AABD175F4983003EF01B /* HNHRoundedTextFieldCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CC3AAB9175F4983003EF01B /* HNHRoundedTextFieldCell.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4CC3AABD175F4983003EF01B /* HNHRoundedTextFieldCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CC3AAB9175F4983003EF01B /* HNHRoundedTextFieldCell.m */; };
|
||||||
4CC672791781D0C0006DEDCF /* KdbGroup+MPAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CC672781781D0C0006DEDCF /* KdbGroup+MPAdditions.m */; };
|
4CC672791781D0C0006DEDCF /* KdbGroup+MPAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CC672781781D0C0006DEDCF /* KdbGroup+MPAdditions.m */; };
|
||||||
4CC6727C1781D0D2006DEDCF /* KdbEntry+MPAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CC6727B1781D0D2006DEDCF /* KdbEntry+MPAdditions.m */; };
|
4CC6727C1781D0D2006DEDCF /* KdbEntry+MPAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CC6727B1781D0D2006DEDCF /* KdbEntry+MPAdditions.m */; };
|
||||||
4CC7EA1B17807E7E0089D4F3 /* HNHRoundendTextFieldCellHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CC7EA1A17807E7E0089D4F3 /* HNHRoundendTextFieldCellHelper.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4CC7EA1B17807E7E0089D4F3 /* HNHRoundendTextFieldCellHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CC7EA1A17807E7E0089D4F3 /* HNHRoundendTextFieldCellHelper.m */; };
|
||||||
4CD5D702177A5EE400100649 /* DocumentSettingsWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4CD5D701177A5EE400100649 /* DocumentSettingsWindow.xib */; };
|
4CD5D702177A5EE400100649 /* DocumentSettingsWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4CD5D701177A5EE400100649 /* DocumentSettingsWindow.xib */; };
|
||||||
4CD5D705177A5F3300100649 /* MPDocumentSettingsWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CD5D704177A5F3300100649 /* MPDocumentSettingsWindowController.m */; };
|
4CD5D705177A5F3300100649 /* MPDocumentSettingsWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CD5D704177A5F3300100649 /* MPDocumentSettingsWindowController.m */; };
|
||||||
4CD78ABC16D155FF00768A1D /* 07_NotepadTemplate.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 4CD78AB716D155FF00768A1D /* 07_NotepadTemplate.pdf */; };
|
4CD78ABC16D155FF00768A1D /* 07_NotepadTemplate.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 4CD78AB716D155FF00768A1D /* 07_NotepadTemplate.pdf */; };
|
||||||
@@ -184,7 +184,7 @@
|
|||||||
4CF6C711176F4533007A811D /* MPStringLengthValueTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CF6C710176F4533007A811D /* MPStringLengthValueTransformer.m */; };
|
4CF6C711176F4533007A811D /* MPStringLengthValueTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CF6C710176F4533007A811D /* MPStringLengthValueTransformer.m */; };
|
||||||
4CF6C718176F5234007A811D /* MPAssociateRequestHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CF6C717176F5234007A811D /* MPAssociateRequestHandler.m */; };
|
4CF6C718176F5234007A811D /* MPAssociateRequestHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CF6C717176F5234007A811D /* MPAssociateRequestHandler.m */; };
|
||||||
4CF78057176E5CFD0032EE71 /* MPConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CF78056176E5CFD0032EE71 /* MPConnection.m */; };
|
4CF78057176E5CFD0032EE71 /* MPConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CF78056176E5CFD0032EE71 /* MPConnection.m */; };
|
||||||
4CF7805A176E6D5F0032EE71 /* HNHTableRowView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CF78059176E6D5F0032EE71 /* HNHTableRowView.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
4CF7805A176E6D5F0032EE71 /* HNHTableRowView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CF78059176E6D5F0032EE71 /* HNHTableRowView.m */; };
|
||||||
4CF7805D176E71170032EE71 /* MPServerDaemon.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CF7805C176E71170032EE71 /* MPServerDaemon.m */; };
|
4CF7805D176E71170032EE71 /* MPServerDaemon.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CF7805C176E71170032EE71 /* MPServerDaemon.m */; };
|
||||||
4CF7805F176E75110032EE71 /* ServerSettings.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4CF7805E176E75110032EE71 /* ServerSettings.xib */; };
|
4CF7805F176E75110032EE71 /* ServerSettings.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4CF7805E176E75110032EE71 /* ServerSettings.xib */; };
|
||||||
4CF78064176E75AD0032EE71 /* MPServerSettingsController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CF78063176E75AD0032EE71 /* MPServerSettingsController.m */; };
|
4CF78064176E75AD0032EE71 /* MPServerSettingsController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4CF78063176E75AD0032EE71 /* MPServerSettingsController.m */; };
|
||||||
@@ -1655,6 +1655,7 @@
|
|||||||
4C77E38115B84A240093A587 /* Debug */ = {
|
4C77E38115B84A240093A587 /* Debug */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
|
CLANG_ENABLE_OBJC_ARC = YES;
|
||||||
COMBINE_HIDPI_IMAGES = YES;
|
COMBINE_HIDPI_IMAGES = YES;
|
||||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||||
GCC_PREFIX_HEADER = "MacPass/MacPass-Prefix.pch";
|
GCC_PREFIX_HEADER = "MacPass/MacPass-Prefix.pch";
|
||||||
@@ -1668,6 +1669,7 @@
|
|||||||
4C77E38215B84A240093A587 /* Release */ = {
|
4C77E38215B84A240093A587 /* Release */ = {
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
|
CLANG_ENABLE_OBJC_ARC = YES;
|
||||||
COMBINE_HIDPI_IMAGES = YES;
|
COMBINE_HIDPI_IMAGES = YES;
|
||||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||||
GCC_PREFIX_HEADER = "MacPass/MacPass-Prefix.pch";
|
GCC_PREFIX_HEADER = "MacPass/MacPass-Prefix.pch";
|
||||||
|
|||||||
@@ -47,9 +47,8 @@
|
|||||||
group.image = 37;
|
group.image = 37;
|
||||||
[parentGroup addGroup:group];
|
[parentGroup addGroup:group];
|
||||||
|
|
||||||
[rootGroup release];
|
|
||||||
|
|
||||||
return [tree autorelease];
|
return tree;
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
@@ -71,7 +71,7 @@
|
|||||||
group.image = 37;
|
group.image = 37;
|
||||||
[parentGroup addGroup:group];
|
[parentGroup addGroup:group];
|
||||||
|
|
||||||
return [tree autorelease];
|
return tree;
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
static NSDictionary *actionDict;
|
static NSDictionary *actionDict;
|
||||||
static dispatch_once_t onceToken;
|
static dispatch_once_t onceToken;
|
||||||
dispatch_once(&onceToken, ^{
|
dispatch_once(&onceToken, ^{
|
||||||
actionDict = [@{
|
actionDict = @{
|
||||||
@(MPActionAddEntry) : @"createEntry:",
|
@(MPActionAddEntry) : @"createEntry:",
|
||||||
@(MPActionAddGroup) : @"createGroup:",
|
@(MPActionAddGroup) : @"createGroup:",
|
||||||
@(MPActionCopyPassword) : @"copyPassword:",
|
@(MPActionCopyPassword) : @"copyPassword:",
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
@(MPActionToggleInspector) : @"toggleInspector:",
|
@(MPActionToggleInspector) : @"toggleInspector:",
|
||||||
@(MPActionLock) : @"lock:",
|
@(MPActionLock) : @"lock:",
|
||||||
@(MPActionEmptyTrash) : @"emptyTrash:"
|
@(MPActionEmptyTrash) : @"emptyTrash:"
|
||||||
} retain];
|
};
|
||||||
});
|
});
|
||||||
return NSSelectorFromString(actionDict[@(type)]);
|
return NSSelectorFromString(actionDict[@(type)]);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
@interface MPAppDelegate : NSObject <NSApplicationDelegate>
|
@interface MPAppDelegate : NSObject <NSApplicationDelegate>
|
||||||
|
|
||||||
@property (retain) IBOutlet NSWindow *passwordCreatorWindow;
|
@property (strong) IBOutlet NSWindow *passwordCreatorWindow;
|
||||||
|
|
||||||
- (IBAction)showPasswordCreator:(id)sender;
|
- (IBAction)showPasswordCreator:(id)sender;
|
||||||
|
|
||||||
|
|||||||
@@ -23,8 +23,8 @@
|
|||||||
MPLockDaemon *lockDaemon;
|
MPLockDaemon *lockDaemon;
|
||||||
}
|
}
|
||||||
|
|
||||||
@property (retain, nonatomic) MPSettingsWindowController *settingsController;
|
@property (strong, nonatomic) MPSettingsWindowController *settingsController;
|
||||||
@property (retain, nonatomic) MPPasswordCreatorViewController *passwordCreatorController;
|
@property (strong, nonatomic) MPPasswordCreatorViewController *passwordCreatorController;
|
||||||
|
|
||||||
- (IBAction)showPreferences:(id)sender;
|
- (IBAction)showPreferences:(id)sender;
|
||||||
|
|
||||||
@@ -47,14 +47,6 @@
|
|||||||
lockDaemon = [[MPLockDaemon alloc] init];
|
lockDaemon = [[MPLockDaemon alloc] init];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)dealloc {
|
|
||||||
[_settingsController release];
|
|
||||||
[_passwordCreatorController release];
|
|
||||||
[_passwordCreatorWindow release];
|
|
||||||
[serverDaemon release];
|
|
||||||
[lockDaemon release];
|
|
||||||
[super dealloc];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (NSString *)applicationName {
|
- (NSString *)applicationName {
|
||||||
return [[NSBundle mainBundle] infoDictionary][@"CFBundleName"];
|
return [[NSBundle mainBundle] infoDictionary][@"CFBundleName"];
|
||||||
@@ -63,7 +55,7 @@
|
|||||||
#pragma mark Menu Actions
|
#pragma mark Menu Actions
|
||||||
- (void)showPreferences:(id)sender {
|
- (void)showPreferences:(id)sender {
|
||||||
if(self.settingsController == nil) {
|
if(self.settingsController == nil) {
|
||||||
self.settingsController = [[[MPSettingsWindowController alloc] init] autorelease];
|
self.settingsController = [[MPSettingsWindowController alloc] init];
|
||||||
}
|
}
|
||||||
[self.settingsController showSettings];
|
[self.settingsController showSettings];
|
||||||
}
|
}
|
||||||
@@ -73,7 +65,7 @@
|
|||||||
[[NSBundle mainBundle] loadNibNamed:@"PasswordCreatorWindow"owner:self topLevelObjects:nil];
|
[[NSBundle mainBundle] loadNibNamed:@"PasswordCreatorWindow"owner:self topLevelObjects:nil];
|
||||||
}
|
}
|
||||||
if(!self.passwordCreatorController) {
|
if(!self.passwordCreatorController) {
|
||||||
self.passwordCreatorController = [[[MPPasswordCreatorViewController alloc] init] autorelease];
|
self.passwordCreatorController = [[MPPasswordCreatorViewController alloc] init];
|
||||||
NSView *creatorView = [_passwordCreatorController view];
|
NSView *creatorView = [_passwordCreatorController view];
|
||||||
//NSView *contentView = [_passwordCreatorWindow contentView];
|
//NSView *contentView = [_passwordCreatorWindow contentView];
|
||||||
[self.passwordCreatorWindow setContentView:creatorView];
|
[self.passwordCreatorWindow setContentView:creatorView];
|
||||||
|
|||||||
@@ -28,8 +28,6 @@
|
|||||||
keyEquivalent:@"E"];
|
keyEquivalent:@"E"];
|
||||||
|
|
||||||
[items addObjectsFromArray:@[ newGroup, newEntry ]];
|
[items addObjectsFromArray:@[ newGroup, newEntry ]];
|
||||||
[newEntry release];
|
|
||||||
[newGroup release];
|
|
||||||
}
|
}
|
||||||
if(insertDelete || insertTrash) {
|
if(insertDelete || insertTrash) {
|
||||||
[self _beginSection:items];
|
[self _beginSection:items];
|
||||||
@@ -38,7 +36,6 @@
|
|||||||
action:[MPActionHelper actionOfType:MPActionDelete]
|
action:[MPActionHelper actionOfType:MPActionDelete]
|
||||||
keyEquivalent:@""];
|
keyEquivalent:@""];
|
||||||
[items addObject:delete];
|
[items addObject:delete];
|
||||||
[delete release];
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if(insertTrash) {
|
if(insertTrash) {
|
||||||
@@ -49,7 +46,6 @@
|
|||||||
unichar backSpace = NSBackspaceCharacter;
|
unichar backSpace = NSBackspaceCharacter;
|
||||||
[emptyTrash setKeyEquivalent:[NSString stringWithCharacters:&backSpace length:1]];
|
[emptyTrash setKeyEquivalent:[NSString stringWithCharacters:&backSpace length:1]];
|
||||||
[items addObject:emptyTrash];
|
[items addObject:emptyTrash];
|
||||||
[emptyTrash release];
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -67,7 +63,6 @@
|
|||||||
action:0
|
action:0
|
||||||
keyEquivalent:@""];
|
keyEquivalent:@""];
|
||||||
[urlItem setSubmenu:urlMenu];
|
[urlItem setSubmenu:urlMenu];
|
||||||
[urlMenu release];
|
|
||||||
|
|
||||||
NSMenuItem *copyURL = [[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"COPY_URL", @"")
|
NSMenuItem *copyURL = [[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"COPY_URL", @"")
|
||||||
action:[MPActionHelper actionOfType:MPActionCopyURL]
|
action:[MPActionHelper actionOfType:MPActionCopyURL]
|
||||||
@@ -77,13 +72,8 @@
|
|||||||
keyEquivalent:@"U"];
|
keyEquivalent:@"U"];
|
||||||
[urlMenu addItem:copyURL];
|
[urlMenu addItem:copyURL];
|
||||||
[urlMenu addItem:openURL];
|
[urlMenu addItem:openURL];
|
||||||
[openURL release];
|
|
||||||
[copyURL release];
|
|
||||||
|
|
||||||
[items addObjectsFromArray:@[ copyUsername, copyPassword, urlItem]];
|
[items addObjectsFromArray:@[ copyUsername, copyPassword, urlItem]];
|
||||||
[urlItem release];
|
|
||||||
[copyPassword release];
|
|
||||||
[copyUsername release];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return items;
|
return items;
|
||||||
|
|||||||
@@ -10,8 +10,8 @@
|
|||||||
|
|
||||||
@interface MPCustomFieldTableCellView : NSTableCellView
|
@interface MPCustomFieldTableCellView : NSTableCellView
|
||||||
|
|
||||||
@property (assign) IBOutlet NSTextField *labelTextField;
|
@property (weak) IBOutlet NSTextField *labelTextField;
|
||||||
@property (assign) IBOutlet NSTextField *valueTextField;
|
@property (weak) IBOutlet NSTextField *valueTextField;
|
||||||
@property (assign) IBOutlet NSButton *removeButton;
|
@property (weak) IBOutlet NSButton *removeButton;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
@@ -10,8 +10,8 @@
|
|||||||
|
|
||||||
@interface MPCustomFieldView : NSView
|
@interface MPCustomFieldView : NSView
|
||||||
|
|
||||||
@property (assign) IBOutlet NSTextField *labelTextField;
|
@property (weak) IBOutlet NSTextField *labelTextField;
|
||||||
@property (assign) IBOutlet NSTextField *valueTextField;
|
@property (weak) IBOutlet NSTextField *valueTextField;
|
||||||
@property (assign) IBOutlet NSButton *deleteButton;
|
@property (weak) IBOutlet NSButton *deleteButton;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
@@ -39,11 +39,11 @@ APPKIT_EXTERN NSString *const MPDocumentGroupKey;
|
|||||||
@property (assign, getter = isLocked) BOOL locked;
|
@property (assign, getter = isLocked) BOOL locked;
|
||||||
/* true, if document is loaded and decrypted (tree is loaded) */
|
/* true, if document is loaded and decrypted (tree is loaded) */
|
||||||
@property (assign, readonly, getter = isDecrypted) BOOL decrypted;
|
@property (assign, readonly, getter = isDecrypted) BOOL decrypted;
|
||||||
@property (retain, readonly, nonatomic) KdbTree *tree;
|
@property (strong, readonly, nonatomic) KdbTree *tree;
|
||||||
@property (assign, readonly, nonatomic) KdbGroup *root;
|
@property (weak, readonly, nonatomic) KdbGroup *root;
|
||||||
@property (readonly, retain) MPRootAdapter *rootAdapter;
|
@property (readonly, strong) MPRootAdapter *rootAdapter;
|
||||||
@property (nonatomic, retain) NSString *password;
|
@property (nonatomic, strong) NSString *password;
|
||||||
@property (nonatomic, retain) NSURL *key;
|
@property (nonatomic, strong) NSURL *key;
|
||||||
|
|
||||||
@property (assign, readonly) MPDatabaseVersion version;
|
@property (assign, readonly) MPDatabaseVersion version;
|
||||||
@property (assign, readonly, getter = isReadOnly) BOOL readOnly;
|
@property (assign, readonly, getter = isReadOnly) BOOL readOnly;
|
||||||
|
|||||||
@@ -43,19 +43,19 @@ NSString *const MPDocumentGroupKey = @"MPDocumentGroupKey";
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@property (retain, nonatomic) KdbTree *tree;
|
@property (strong, nonatomic) KdbTree *tree;
|
||||||
@property (assign, nonatomic) KdbGroup *root;
|
@property (weak, nonatomic) KdbGroup *root;
|
||||||
@property (nonatomic, readonly) KdbPassword *passwordHash;
|
@property (weak, nonatomic, readonly) KdbPassword *passwordHash;
|
||||||
@property (assign) MPDatabaseVersion version;
|
@property (assign) MPDatabaseVersion version;
|
||||||
|
|
||||||
@property (assign, nonatomic) BOOL secured;
|
@property (assign, nonatomic) BOOL secured;
|
||||||
@property (assign) BOOL decrypted;
|
@property (assign) BOOL decrypted;
|
||||||
@property (assign) BOOL readOnly;
|
@property (assign) BOOL readOnly;
|
||||||
|
|
||||||
@property (retain) NSURL *lockFileURL;
|
@property (strong) NSURL *lockFileURL;
|
||||||
|
|
||||||
@property (readonly) BOOL useTrash;
|
@property (readonly) BOOL useTrash;
|
||||||
@property (readonly) KdbGroup *trash;
|
@property (weak, readonly) KdbGroup *trash;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@@ -85,7 +85,7 @@ NSString *const MPDocumentGroupKey = @"MPDocumentGroupKey";
|
|||||||
self.tree = [Kdb4Tree templateTree];
|
self.tree = [Kdb4Tree templateTree];
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
[self release];
|
self = nil;
|
||||||
return nil;
|
return nil;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -94,18 +94,11 @@ NSString *const MPDocumentGroupKey = @"MPDocumentGroupKey";
|
|||||||
|
|
||||||
- (void)dealloc {
|
- (void)dealloc {
|
||||||
[self _cleanupLock];
|
[self _cleanupLock];
|
||||||
[_tree release];
|
|
||||||
[_password release];
|
|
||||||
[_key release];
|
|
||||||
[_lockFileURL release];
|
|
||||||
[_rootAdapter release];
|
|
||||||
[super dealloc];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)makeWindowControllers {
|
- (void)makeWindowControllers {
|
||||||
MPDocumentWindowController *windowController = [[MPDocumentWindowController alloc] init];
|
MPDocumentWindowController *windowController = [[MPDocumentWindowController alloc] init];
|
||||||
[self addWindowController:windowController];
|
[self addWindowController:windowController];
|
||||||
[windowController release];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)windowControllerDidLoadNib:(NSWindowController *)aController
|
- (void)windowControllerDidLoadNib:(NSWindowController *)aController
|
||||||
@@ -179,23 +172,21 @@ NSString *const MPDocumentGroupKey = @"MPDocumentGroupKey";
|
|||||||
|
|
||||||
- (void)setPassword:(NSString *)password {
|
- (void)setPassword:(NSString *)password {
|
||||||
if(![_password isEqualToString:password]) {
|
if(![_password isEqualToString:password]) {
|
||||||
[_password release];
|
_password = password;
|
||||||
_password = [password retain];
|
|
||||||
_secured |= ([_password length] > 0);
|
_secured |= ([_password length] > 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)setKey:(NSURL *)key {
|
- (void)setKey:(NSURL *)key {
|
||||||
if(![[_key absoluteString] isEqualToString:[key absoluteString]]) {
|
if(![[_key absoluteString] isEqualToString:[key absoluteString]]) {
|
||||||
[_key release];
|
_key = key;
|
||||||
_key = [key retain];
|
|
||||||
_secured |= (_key != nil);
|
_secured |= (_key != nil);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
- (KdbPassword *)passwordHash {
|
- (KdbPassword *)passwordHash {
|
||||||
|
|
||||||
return [[[KdbPassword alloc] initWithPassword:self.password passwordEncoding:NSUTF8StringEncoding keyFileURL:self.key] autorelease];
|
return [[KdbPassword alloc] initWithPassword:self.password passwordEncoding:NSUTF8StringEncoding keyFileURL:self.key];
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (BOOL)autosavesInPlace
|
+ (BOOL)autosavesInPlace
|
||||||
@@ -206,8 +197,7 @@ NSString *const MPDocumentGroupKey = @"MPDocumentGroupKey";
|
|||||||
#pragma mark Data Accesors
|
#pragma mark Data Accesors
|
||||||
- (void)setTree:(KdbTree *)tree {
|
- (void)setTree:(KdbTree *)tree {
|
||||||
if(_tree != tree) {
|
if(_tree != tree) {
|
||||||
[_tree release];
|
_tree = tree;
|
||||||
_tree = [tree retain];
|
|
||||||
self.rootAdapter.tree = _tree;
|
self.rootAdapter.tree = _tree;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,11 +41,6 @@
|
|||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)dealloc
|
|
||||||
{
|
|
||||||
[rootUuid release];
|
|
||||||
[super dealloc];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (KdbEntry *)configurationEntry {
|
- (KdbEntry *)configurationEntry {
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -13,28 +13,28 @@
|
|||||||
@interface MPDocumentSettingsWindowController : NSWindowController
|
@interface MPDocumentSettingsWindowController : NSWindowController
|
||||||
|
|
||||||
|
|
||||||
@property (assign) IBOutlet NSTabView *sectionTabView;
|
@property (weak) IBOutlet NSTabView *sectionTabView;
|
||||||
|
|
||||||
/* General Tab */
|
/* General Tab */
|
||||||
@property (assign) IBOutlet NSTextField *databaseNameTextField;
|
@property (weak) IBOutlet NSTextField *databaseNameTextField;
|
||||||
@property (assign) IBOutlet NSTextView *databaseDescriptionTextView;
|
@property (unsafe_unretained) IBOutlet NSTextView *databaseDescriptionTextView;
|
||||||
|
|
||||||
/* Protection */
|
/* Protection */
|
||||||
@property (assign) IBOutlet NSTextField *passwordTextField;
|
@property (weak) IBOutlet NSTextField *passwordTextField;
|
||||||
@property (assign) IBOutlet NSPathControl *keyfilePathControl;
|
@property (weak) IBOutlet NSPathControl *keyfilePathControl;
|
||||||
|
|
||||||
/* Display Tab */
|
/* Display Tab */
|
||||||
@property (assign) IBOutlet NSButton *protectTitleCheckButton;
|
@property (weak) IBOutlet NSButton *protectTitleCheckButton;
|
||||||
@property (assign) IBOutlet NSButton *protectUserNameCheckButton;
|
@property (weak) IBOutlet NSButton *protectUserNameCheckButton;
|
||||||
@property (assign) IBOutlet NSButton *protectPasswortCheckButton;
|
@property (weak) IBOutlet NSButton *protectPasswortCheckButton;
|
||||||
@property (assign) IBOutlet NSButton *protectURLCheckButton;
|
@property (weak) IBOutlet NSButton *protectURLCheckButton;
|
||||||
@property (assign) IBOutlet NSButton *protectNotesCheckButton;
|
@property (weak) IBOutlet NSButton *protectNotesCheckButton;
|
||||||
|
|
||||||
|
|
||||||
/* Advanced Tab*/
|
/* Advanced Tab*/
|
||||||
@property (assign) IBOutlet NSButton *enableRecycleBinCheckButton;
|
@property (weak) IBOutlet NSButton *enableRecycleBinCheckButton;
|
||||||
@property (assign) IBOutlet NSButton *emptyRecycleBinOnQuitCheckButton;
|
@property (weak) IBOutlet NSButton *emptyRecycleBinOnQuitCheckButton;
|
||||||
@property (assign) IBOutlet NSPopUpButton *selectRecycleBinGroupPopUpButton;
|
@property (weak) IBOutlet NSPopUpButton *selectRecycleBinGroupPopUpButton;
|
||||||
|
|
||||||
- (id)initWithDocument:(MPDocument *)document;
|
- (id)initWithDocument:(MPDocument *)document;
|
||||||
- (void)update;
|
- (void)update;
|
||||||
|
|||||||
@@ -117,14 +117,12 @@
|
|||||||
[groupItem setState:NSOnState];
|
[groupItem setState:NSOnState];
|
||||||
}
|
}
|
||||||
[menu addItem:groupItem];
|
[menu addItem:groupItem];
|
||||||
[groupItem release];
|
|
||||||
}
|
}
|
||||||
NSMenuItem *selectItem = [[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"SELECT_RECYCLEBIN", @"Menu item if no reycleBin is selected") action:NULL keyEquivalent:@""];
|
NSMenuItem *selectItem = [[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"SELECT_RECYCLEBIN", @"Menu item if no reycleBin is selected") action:NULL keyEquivalent:@""];
|
||||||
[selectItem setAction:@selector(_didSelectTrashFolder:)];
|
[selectItem setAction:@selector(_didSelectTrashFolder:)];
|
||||||
[selectItem setTarget:self];
|
[selectItem setTarget:self];
|
||||||
[menu insertItem:selectItem atIndex:0];
|
[menu insertItem:selectItem atIndex:0];
|
||||||
[selectItem release];
|
|
||||||
|
|
||||||
return [menu autorelease];
|
return menu;
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
|||||||
@@ -22,17 +22,17 @@ APPKIT_EXTERN NSString *const MPCurrentItemChangedNotification;
|
|||||||
|
|
||||||
@interface MPDocumentWindowController : NSWindowController <NSWindowDelegate>
|
@interface MPDocumentWindowController : NSWindowController <NSWindowDelegate>
|
||||||
|
|
||||||
@property (readonly, retain) MPPasswordInputController *passwordInputController;
|
@property (readonly, strong) MPPasswordInputController *passwordInputController;
|
||||||
@property (readonly, retain) MPPasswordEditViewController *passwordEditController;
|
@property (readonly, strong) MPPasswordEditViewController *passwordEditController;
|
||||||
@property (readonly, retain) MPEntryViewController *entryViewController;
|
@property (readonly, strong) MPEntryViewController *entryViewController;
|
||||||
@property (readonly, retain) MPOutlineViewController *outlineViewController;
|
@property (readonly, strong) MPOutlineViewController *outlineViewController;
|
||||||
@property (readonly, retain) MPInspectorViewController *inspectorViewController;
|
@property (readonly, strong) MPInspectorViewController *inspectorViewController;
|
||||||
|
|
||||||
|
|
||||||
/* Holds the current item. That is either a KdbGroup or a KdbEntry */
|
/* Holds the current item. That is either a KdbGroup or a KdbEntry */
|
||||||
@property (readonly, assign) id currentItem;
|
@property (readonly, unsafe_unretained) id currentItem;
|
||||||
@property (readonly, assign) KdbGroup *currentGroup;
|
@property (readonly, unsafe_unretained) KdbGroup *currentGroup;
|
||||||
@property (readonly, assign) KdbEntry *currentEntry;
|
@property (readonly, unsafe_unretained) KdbEntry *currentEntry;
|
||||||
|
|
||||||
|
|
||||||
- (void)showEntries;
|
- (void)showEntries;
|
||||||
|
|||||||
@@ -26,21 +26,21 @@ NSString *const MPCurrentItemChangedNotification = @"com.hicknhack.macpass.MPCur
|
|||||||
id _firstResponder;
|
id _firstResponder;
|
||||||
}
|
}
|
||||||
|
|
||||||
@property (retain) IBOutlet NSSplitView *splitView;
|
@property (strong) IBOutlet NSSplitView *splitView;
|
||||||
|
|
||||||
@property (retain) NSToolbar *toolbar;
|
@property (strong) NSToolbar *toolbar;
|
||||||
@property (assign) id currentItem;
|
@property (unsafe_unretained) id currentItem;
|
||||||
@property (assign) KdbGroup *currentGroup;
|
@property (unsafe_unretained) KdbGroup *currentGroup;
|
||||||
@property (assign) KdbEntry *currentEntry;
|
@property (unsafe_unretained) KdbEntry *currentEntry;
|
||||||
|
|
||||||
@property (retain) MPPasswordInputController *passwordInputController;
|
@property (strong) MPPasswordInputController *passwordInputController;
|
||||||
@property (retain) MPPasswordEditViewController *passwordEditController;
|
@property (strong) MPPasswordEditViewController *passwordEditController;
|
||||||
@property (retain) MPEntryViewController *entryViewController;
|
@property (strong) MPEntryViewController *entryViewController;
|
||||||
@property (retain) MPOutlineViewController *outlineViewController;
|
@property (strong) MPOutlineViewController *outlineViewController;
|
||||||
@property (retain) MPInspectorViewController *inspectorViewController;
|
@property (strong) MPInspectorViewController *inspectorViewController;
|
||||||
@property (retain) MPDocumentSettingsWindowController *documentSettingsWindowController;
|
@property (strong) MPDocumentSettingsWindowController *documentSettingsWindowController;
|
||||||
|
|
||||||
@property (retain) MPToolbarDelegate *toolbarDelegate;
|
@property (strong) MPToolbarDelegate *toolbarDelegate;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@@ -66,17 +66,8 @@ NSString *const MPCurrentItemChangedNotification = @"com.hicknhack.macpass.MPCur
|
|||||||
- (void)dealloc {
|
- (void)dealloc {
|
||||||
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
||||||
|
|
||||||
[_toolbar release];
|
|
||||||
|
|
||||||
[_passwordInputController release];
|
|
||||||
[_passwordEditController release];
|
|
||||||
[_entryViewController release];
|
|
||||||
[_outlineViewController release];
|
|
||||||
[_inspectorViewController release];
|
|
||||||
|
|
||||||
[_toolbarDelegate release];
|
|
||||||
[_splitView release];
|
|
||||||
[super dealloc];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark View Handling
|
#pragma mark View Handling
|
||||||
@@ -207,7 +198,7 @@ NSString *const MPCurrentItemChangedNotification = @"com.hicknhack.macpass.MPCur
|
|||||||
|
|
||||||
- (void)showPasswordInput {
|
- (void)showPasswordInput {
|
||||||
if(!self.passwordInputController) {
|
if(!self.passwordInputController) {
|
||||||
self.passwordInputController = [[[MPPasswordInputController alloc] init] autorelease];
|
self.passwordInputController = [[MPPasswordInputController alloc] init];
|
||||||
}
|
}
|
||||||
[self _setContentViewController:self.passwordInputController];
|
[self _setContentViewController:self.passwordInputController];
|
||||||
[self.passwordInputController requestPassword];
|
[self.passwordInputController requestPassword];
|
||||||
|
|||||||
@@ -11,6 +11,6 @@
|
|||||||
@class MPEntryViewController;
|
@class MPEntryViewController;
|
||||||
@interface MPEntryTableDataSource : NSObject <NSTableViewDataSource>
|
@interface MPEntryTableDataSource : NSObject <NSTableViewDataSource>
|
||||||
|
|
||||||
@property (assign, nonatomic) MPEntryViewController *viewController;
|
@property (weak, nonatomic) MPEntryViewController *viewController;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
@@ -32,7 +32,6 @@
|
|||||||
NSPasteboardItem *pBoardItem = [[NSPasteboardItem alloc] init];
|
NSPasteboardItem *pBoardItem = [[NSPasteboardItem alloc] init];
|
||||||
[pBoardItem setString:[uuid description] forType:MPPasteBoardType];
|
[pBoardItem setString:[uuid description] forType:MPPasteBoardType];
|
||||||
[pboard writeObjects:@[pBoardItem]];
|
[pboard writeObjects:@[pBoardItem]];
|
||||||
[pBoardItem release];
|
|
||||||
|
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,11 +31,11 @@ typedef NS_ENUM( NSUInteger, MPCopyContentTypeTag) {
|
|||||||
|
|
||||||
@interface MPEntryViewController : MPViewController <NSTableViewDelegate>
|
@interface MPEntryViewController : MPViewController <NSTableViewDelegate>
|
||||||
|
|
||||||
@property (readonly, assign, nonatomic) KdbEntry *selectedEntry;
|
@property (readonly, weak, nonatomic) KdbEntry *selectedEntry;
|
||||||
|
|
||||||
@property (assign,readonly) NSTableView *entryTable;
|
@property (weak,readonly) NSTableView *entryTable;
|
||||||
@property (readonly, retain) NSArrayController *entryArrayController;
|
@property (readonly, strong) NSArrayController *entryArrayController;
|
||||||
@property (nonatomic, retain) NSString *filter;
|
@property (nonatomic, strong) NSString *filter;
|
||||||
|
|
||||||
|
|
||||||
/* Call this after alle viewcontroller are loaded */
|
/* Call this after alle viewcontroller are loaded */
|
||||||
|
|||||||
@@ -61,27 +61,27 @@ NSString *const _toggleFilterUsernameButton = @"SearchUsername";
|
|||||||
|
|
||||||
@interface MPEntryViewController ()
|
@interface MPEntryViewController ()
|
||||||
|
|
||||||
@property (retain) NSArrayController *entryArrayController;
|
@property (strong) NSArrayController *entryArrayController;
|
||||||
@property (retain) NSArray *filteredEntries;
|
@property (strong) NSArray *filteredEntries;
|
||||||
@property (retain) IBOutlet NSView *filterBar;
|
@property (strong) IBOutlet NSView *filterBar;
|
||||||
@property (assign) IBOutlet NSTableView *entryTable;
|
@property (weak) IBOutlet NSTableView *entryTable;
|
||||||
@property (retain) IBOutlet NSLayoutConstraint *tableToTop;
|
@property (strong) IBOutlet NSLayoutConstraint *tableToTop;
|
||||||
@property (assign) IBOutlet NSButton *filterDoneButton;
|
@property (weak) IBOutlet NSButton *filterDoneButton;
|
||||||
|
|
||||||
@property (assign) IBOutlet NSButton *filterTitleButton;
|
@property (weak) IBOutlet NSButton *filterTitleButton;
|
||||||
@property (assign) IBOutlet NSButton *filterUsernameButton;
|
@property (weak) IBOutlet NSButton *filterUsernameButton;
|
||||||
@property (assign) IBOutlet NSButton *filterURLButton;
|
@property (weak) IBOutlet NSButton *filterURLButton;
|
||||||
@property (assign) IBOutlet NSTextField *filterLabelTextField;
|
@property (weak) IBOutlet NSTextField *filterLabelTextField;
|
||||||
@property (assign) IBOutlet NSSearchField *filterSearchField;
|
@property (weak) IBOutlet NSSearchField *filterSearchField;
|
||||||
@property (assign) IBOutlet HNHGradientView *bottomBar;
|
@property (weak) IBOutlet HNHGradientView *bottomBar;
|
||||||
@property (assign) IBOutlet NSButton *addEntryButton;
|
@property (weak) IBOutlet NSButton *addEntryButton;
|
||||||
|
|
||||||
@property (assign) KdbEntry *selectedEntry;
|
@property (weak) KdbEntry *selectedEntry;
|
||||||
|
|
||||||
@property (nonatomic, retain) MPEntryTableDataSource *dataSource;
|
@property (nonatomic, strong) MPEntryTableDataSource *dataSource;
|
||||||
|
|
||||||
@property (assign, nonatomic) MPFilterModeType filterMode;
|
@property (assign, nonatomic) MPFilterModeType filterMode;
|
||||||
@property (retain, nonatomic) NSDictionary *filterButtonToMode;
|
@property (strong, nonatomic) NSDictionary *filterButtonToMode;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@@ -96,10 +96,10 @@ NSString *const _toggleFilterUsernameButton = @"SearchUsername";
|
|||||||
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
|
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
|
||||||
if(self) {
|
if(self) {
|
||||||
_filterMode = MPFilterTitles;
|
_filterMode = MPFilterTitles;
|
||||||
_filterButtonToMode = [@{ _toggleFilterUsernameButton : @(MPFilterUsernames),
|
_filterButtonToMode = @{ _toggleFilterUsernameButton : @(MPFilterUsernames),
|
||||||
_toggleFilterTitleButton : @(MPFilterTitles),
|
_toggleFilterTitleButton : @(MPFilterTitles),
|
||||||
_toggleFilterURLButton : @(MPFilterUrls)
|
_toggleFilterURLButton : @(MPFilterUrls)
|
||||||
} retain];
|
};
|
||||||
_entryArrayController = [[NSArrayController alloc] init];
|
_entryArrayController = [[NSArrayController alloc] init];
|
||||||
_dataSource = [[MPEntryTableDataSource alloc] init];
|
_dataSource = [[MPEntryTableDataSource alloc] init];
|
||||||
_dataSource.viewController = self;
|
_dataSource.viewController = self;
|
||||||
@@ -111,14 +111,6 @@ NSString *const _toggleFilterUsernameButton = @"SearchUsername";
|
|||||||
- (void)dealloc {
|
- (void)dealloc {
|
||||||
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
||||||
|
|
||||||
[_entryArrayController release];
|
|
||||||
[_filteredEntries release];
|
|
||||||
[_filter release];
|
|
||||||
[_filterBar release];
|
|
||||||
[_tableToTop release];
|
|
||||||
[_dataSource release];
|
|
||||||
[_filterButtonToMode release];
|
|
||||||
[super dealloc];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)didLoadView {
|
- (void)didLoadView {
|
||||||
@@ -273,8 +265,7 @@ NSString *const _toggleFilterUsernameButton = @"SearchUsername";
|
|||||||
|
|
||||||
- (void)setFilter:(NSString *)filter {
|
- (void)setFilter:(NSString *)filter {
|
||||||
if(_filter != filter) {
|
if(_filter != filter) {
|
||||||
[_filter release];
|
_filter = filter;
|
||||||
_filter = [filter retain];
|
|
||||||
[self updateFilter];
|
[self updateFilter];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -437,7 +428,6 @@ NSString *const _toggleFilterUsernameButton = @"SearchUsername";
|
|||||||
[menu addItem:item];
|
[menu addItem:item];
|
||||||
}
|
}
|
||||||
[self.entryTable setMenu:menu];
|
[self.entryTable setMenu:menu];
|
||||||
[menu release];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma makr Action Helper
|
#pragma makr Action Helper
|
||||||
|
|||||||
@@ -12,9 +12,9 @@
|
|||||||
|
|
||||||
@interface MPGeneralSettingsController : MPViewController <MPSettingsTab>
|
@interface MPGeneralSettingsController : MPViewController <MPSettingsTab>
|
||||||
|
|
||||||
@property (assign) IBOutlet NSButton *clearPasteboardOnQuitCheckButton;
|
@property (weak) IBOutlet NSButton *clearPasteboardOnQuitCheckButton;
|
||||||
@property (assign) IBOutlet NSPopUpButton *clearPasteboardTimeoutPopup;
|
@property (weak) IBOutlet NSPopUpButton *clearPasteboardTimeoutPopup;
|
||||||
@property (assign) IBOutlet NSPopUpButton *idleTimeOutPopup;
|
@property (weak) IBOutlet NSPopUpButton *idleTimeOutPopup;
|
||||||
@property (assign) IBOutlet NSButton *lockOnSleepCheckButton;
|
@property (weak) IBOutlet NSButton *lockOnSleepCheckButton;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
MPIconType iconType = (MPIconType)[iconNumber integerValue];
|
MPIconType iconType = (MPIconType)[iconNumber integerValue];
|
||||||
[icons addObject:[MPIconHelper icon:iconType]];
|
[icons addObject:[MPIconHelper icon:iconType]];
|
||||||
}
|
}
|
||||||
return [icons autorelease];
|
return icons;
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (NSDictionary *)availableIconNames {
|
+ (NSDictionary *)availableIconNames {
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
@interface MPIconSelectViewController : MPViewController <NSCollectionViewDelegate>
|
@interface MPIconSelectViewController : MPViewController <NSCollectionViewDelegate>
|
||||||
|
|
||||||
@property (assign) IBOutlet NSCollectionView *iconCollectionView;
|
@property (weak) IBOutlet NSCollectionView *iconCollectionView;
|
||||||
- (IBAction)useDefault:(id)sender;
|
- (IBAction)useDefault:(id)sender;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
@@ -36,10 +36,5 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (IBAction)useDefault:(id)sender {
|
- (IBAction)useDefault:(id)sender {
|
||||||
SEL hidePopup = @selector(hideImagePopup:);
|
|
||||||
id target = [[NSApplication sharedApplication] targetForAction:hidePopup to:nil from:self];
|
|
||||||
if( target ) {
|
|
||||||
[target performSelector:hidePopup withObject:self];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
|||||||
@@ -16,22 +16,22 @@
|
|||||||
|
|
||||||
@interface MPInspectorViewController : MPViewController <NSPopoverDelegate, NSTableViewDelegate>
|
@interface MPInspectorViewController : MPViewController <NSPopoverDelegate, NSTableViewDelegate>
|
||||||
|
|
||||||
@property (assign) IBOutlet MPPopupImageView *itemImageView;
|
@property (weak) IBOutlet MPPopupImageView *itemImageView;
|
||||||
@property (assign) IBOutlet NSTextField *itemNameTextfield;
|
@property (weak) IBOutlet NSTextField *itemNameTextfield;
|
||||||
|
|
||||||
@property (assign) IBOutlet NSTextField *titleTextField;
|
@property (weak) IBOutlet NSTextField *titleTextField;
|
||||||
@property (assign) IBOutlet NSTextField *usernameTextField;
|
@property (weak) IBOutlet NSTextField *usernameTextField;
|
||||||
@property (assign) IBOutlet NSTextField *URLTextField;
|
@property (weak) IBOutlet NSTextField *URLTextField;
|
||||||
@property (assign) IBOutlet NSTextField *passwordTextField;
|
@property (weak) IBOutlet NSTextField *passwordTextField;
|
||||||
@property (assign) IBOutlet NSTextField *titleOrNameLabel;
|
@property (weak) IBOutlet NSTextField *titleOrNameLabel;
|
||||||
@property (assign) IBOutlet HNHGradientView *bottomBar;
|
@property (weak) IBOutlet HNHGradientView *bottomBar;
|
||||||
@property (assign) IBOutlet NSTextField *createdTextField;
|
@property (weak) IBOutlet NSTextField *createdTextField;
|
||||||
@property (assign) IBOutlet NSTextField *modifiedTextField;
|
@property (weak) IBOutlet NSTextField *modifiedTextField;
|
||||||
@property (assign) IBOutlet NSSegmentedControl *infoTabControl;
|
@property (weak) IBOutlet NSSegmentedControl *infoTabControl;
|
||||||
@property (assign) IBOutlet NSTableView *attachmentTableView;
|
@property (weak) IBOutlet NSTableView *attachmentTableView;
|
||||||
@property (assign) IBOutlet NSTableView *customFieldsTableView;
|
@property (weak) IBOutlet NSTableView *customFieldsTableView;
|
||||||
@property (assign) IBOutlet NSTextView *notesTextView;
|
@property (unsafe_unretained) IBOutlet NSTextView *notesTextView;
|
||||||
@property (assign) IBOutlet NSTextField *customFieldsTextField;
|
@property (weak) IBOutlet NSTextField *customFieldsTextField;
|
||||||
|
|
||||||
|
|
||||||
/* Seperate call to ensure alle registered objects are in place */
|
/* Seperate call to ensure alle registered objects are in place */
|
||||||
|
|||||||
@@ -42,19 +42,19 @@ enum {
|
|||||||
BOOL _visible;
|
BOOL _visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
@property (assign, nonatomic) KdbEntry *selectedEntry;
|
@property (weak, nonatomic) KdbEntry *selectedEntry;
|
||||||
@property (assign, nonatomic) KdbGroup *selectedGroup;
|
@property (weak, nonatomic) KdbGroup *selectedGroup;
|
||||||
|
|
||||||
@property (retain) NSPopover *activePopover;
|
@property (strong) NSPopover *activePopover;
|
||||||
@property (assign) IBOutlet NSButton *generatePasswordButton;
|
@property (weak) IBOutlet NSButton *generatePasswordButton;
|
||||||
|
|
||||||
@property (nonatomic, assign) NSDate *modificationDate;
|
@property (nonatomic, weak) NSDate *modificationDate;
|
||||||
@property (nonatomic, assign) NSDate *creationDate;
|
@property (nonatomic, weak) NSDate *creationDate;
|
||||||
|
|
||||||
@property (nonatomic, assign) NSUInteger activeTab;
|
@property (nonatomic, assign) NSUInteger activeTab;
|
||||||
@property (assign) IBOutlet NSTabView *tabView;
|
@property (weak) IBOutlet NSTabView *tabView;
|
||||||
@property (retain) NSArrayController *attachmentsController;
|
@property (strong) NSArrayController *attachmentsController;
|
||||||
@property (retain) NSArrayController *customFieldsController;
|
@property (strong) NSArrayController *customFieldsController;
|
||||||
|
|
||||||
- (IBAction)addCustomField:(id)sender;
|
- (IBAction)addCustomField:(id)sender;
|
||||||
- (IBAction)removeCustomField:(id)sender;
|
- (IBAction)removeCustomField:(id)sender;
|
||||||
@@ -81,10 +81,6 @@ enum {
|
|||||||
|
|
||||||
- (void)dealloc {
|
- (void)dealloc {
|
||||||
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
||||||
[_activePopover release];
|
|
||||||
[_attachmentsController release];
|
|
||||||
[_customFieldsController release];
|
|
||||||
[super dealloc];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)didLoadView {
|
- (void)didLoadView {
|
||||||
@@ -267,12 +263,12 @@ enum {
|
|||||||
|
|
||||||
#pragma mark Popovers
|
#pragma mark Popovers
|
||||||
- (void)_showImagePopup:(id)sender {
|
- (void)_showImagePopup:(id)sender {
|
||||||
[self _showPopopver:[[[MPIconSelectViewController alloc] init] autorelease] atView:self.itemImageView onEdge:NSMinYEdge];
|
[self _showPopopver:[[MPIconSelectViewController alloc] init] atView:self.itemImageView onEdge:NSMinYEdge];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (IBAction)_popUpPasswordGenerator:(id)sender {
|
- (IBAction)_popUpPasswordGenerator:(id)sender {
|
||||||
[self.generatePasswordButton setEnabled:NO];
|
[self.generatePasswordButton setEnabled:NO];
|
||||||
[self _showPopopver:[[[MPPasswordCreatorViewController alloc] init] autorelease] atView:self.passwordTextField onEdge:NSMinYEdge];
|
[self _showPopopver:[[MPPasswordCreatorViewController alloc] init] atView:self.passwordTextField onEdge:NSMinYEdge];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)_showPopopver:(NSViewController *)viewController atView:(NSView *)view onEdge:(NSRectEdge)edge {
|
- (void)_showPopopver:(NSViewController *)viewController atView:(NSView *)view onEdge:(NSRectEdge)edge {
|
||||||
@@ -302,7 +298,6 @@ enum {
|
|||||||
}
|
}
|
||||||
/* TODO: Check for Icon wizzard */
|
/* TODO: Check for Icon wizzard */
|
||||||
|
|
||||||
[_activePopover release];
|
|
||||||
_activePopover = nil;
|
_activePopover = nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -51,9 +51,7 @@ NSString *const MPShouldLockDatabaseNotification = @"com.hicknhack.macpass.MPSho
|
|||||||
|
|
||||||
/* Timer */
|
/* Timer */
|
||||||
[idleCheckTimer invalidate];
|
[idleCheckTimer invalidate];
|
||||||
[idleCheckTimer release];
|
|
||||||
|
|
||||||
[super dealloc];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)setLockOnSleep:(BOOL)lockOnSleep {
|
- (void)setLockOnSleep:(BOOL)lockOnSleep {
|
||||||
@@ -74,7 +72,6 @@ NSString *const MPShouldLockDatabaseNotification = @"com.hicknhack.macpass.MPSho
|
|||||||
_idleLockTime = idleLockTime;
|
_idleLockTime = idleLockTime;
|
||||||
if(_idleLockTime == 0) {
|
if(_idleLockTime == 0) {
|
||||||
[idleCheckTimer invalidate];
|
[idleCheckTimer invalidate];
|
||||||
[idleCheckTimer release];
|
|
||||||
idleCheckTimer = nil;
|
idleCheckTimer = nil;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@@ -84,7 +81,7 @@ NSString *const MPShouldLockDatabaseNotification = @"com.hicknhack.macpass.MPSho
|
|||||||
return; // Done
|
return; // Done
|
||||||
}
|
}
|
||||||
/* Create new timer and schedule it with runloop */
|
/* Create new timer and schedule it with runloop */
|
||||||
idleCheckTimer = [[NSTimer timerWithTimeInterval:_idleLockTime target:self selector:@selector(_checkIdleTime:) userInfo:nil repeats:YES] retain];
|
idleCheckTimer = [NSTimer timerWithTimeInterval:_idleLockTime target:self selector:@selector(_checkIdleTime:) userInfo:nil repeats:YES];
|
||||||
[[NSRunLoop mainRunLoop] addTimer:idleCheckTimer forMode:NSDefaultRunLoopMode];
|
[[NSRunLoop mainRunLoop] addTimer:idleCheckTimer forMode:NSDefaultRunLoopMode];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
@interface MPLoggerProxy : NSObject
|
@interface MPLoggerProxy : NSObject
|
||||||
@property (retain) id original;
|
@property (strong) id original;
|
||||||
|
|
||||||
- (id)initWithOriginal:(id) value;
|
- (id)initWithOriginal:(id) value;
|
||||||
|
|
||||||
|
|||||||
@@ -23,11 +23,10 @@
|
|||||||
|
|
||||||
|
|
||||||
- (BOOL)outlineView:(NSOutlineView *)outlineView writeItems:(NSArray *)items toPasteboard:(NSPasteboard *)pasteboard {
|
- (BOOL)outlineView:(NSOutlineView *)outlineView writeItems:(NSArray *)items toPasteboard:(NSPasteboard *)pasteboard {
|
||||||
[_draggedItem release];
|
|
||||||
_draggedItem = nil;
|
_draggedItem = nil;
|
||||||
[pasteboard setString:@"Weee" forType:MPPasteBoardType];
|
[pasteboard setString:@"Weee" forType:MPPasteBoardType];
|
||||||
if([items count] == 1) {
|
if([items count] == 1) {
|
||||||
_draggedItem = [[[items lastObject] representedObject] retain];
|
_draggedItem = [[items lastObject] representedObject];
|
||||||
return (nil != _draggedItem.parent);
|
return (nil != _draggedItem.parent);
|
||||||
}
|
}
|
||||||
return YES;
|
return YES;
|
||||||
@@ -93,7 +92,6 @@
|
|||||||
MPDocument *document = [[[outlineView window] windowController] document];
|
MPDocument *document = [[[outlineView window] windowController] document];
|
||||||
KdbGroup *rootGroup = [document root];
|
KdbGroup *rootGroup = [document root];
|
||||||
KdbEntry *draggedEntry = [rootGroup entryForUUID:uuid];
|
KdbEntry *draggedEntry = [rootGroup entryForUUID:uuid];
|
||||||
[uuid release];
|
|
||||||
if(draggedEntry) {
|
if(draggedEntry) {
|
||||||
if(draggedEntry.parent != target && index == NSOutlineViewDropOnItemIndex) {
|
if(draggedEntry.parent != target && index == NSOutlineViewDropOnItemIndex) {
|
||||||
[document moveEntry:draggedEntry toGroup:target index:index];
|
[document moveEntry:draggedEntry toGroup:target index:index];
|
||||||
|
|||||||
@@ -17,9 +17,9 @@ APPKIT_EXTERN NSString *const MPOutlineViewDidChangeGroupSelection;
|
|||||||
|
|
||||||
@interface MPOutlineViewController : MPViewController <NSOutlineViewDelegate>
|
@interface MPOutlineViewController : MPViewController <NSOutlineViewDelegate>
|
||||||
|
|
||||||
@property (readonly, assign) NSOutlineView *outlineView;
|
@property (readonly, weak) NSOutlineView *outlineView;
|
||||||
@property (assign) IBOutlet HNHGradientView *bottomBar;
|
@property (weak) IBOutlet HNHGradientView *bottomBar;
|
||||||
@property (assign, readonly) KdbGroup *selectedGroup;
|
@property (weak, readonly) KdbGroup *selectedGroup;
|
||||||
|
|
||||||
- (void)clearSelection;
|
- (void)clearSelection;
|
||||||
- (void)showOutline;
|
- (void)showOutline;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
#import "MPOutlineViewController.h"
|
#import "MPOutlineViewController.h"
|
||||||
#import "MPOutlineDataSource.h"
|
#import "MPOutlineDataSource.h"
|
||||||
#import "MPDocument.h"
|
#import "MPDocument.h"
|
||||||
|
#import "MPDocumentWindowController.h"
|
||||||
#import "MPContextMenuHelper.h"
|
#import "MPContextMenuHelper.h"
|
||||||
#import "MPConstants.h"
|
#import "MPConstants.h"
|
||||||
#import "MPActionHelper.h"
|
#import "MPActionHelper.h"
|
||||||
@@ -30,13 +31,13 @@ NSString *const _MPOutlinveViewHeaderViewIdentifier = @"HeaderCell";
|
|||||||
@interface MPOutlineViewController () {
|
@interface MPOutlineViewController () {
|
||||||
BOOL _bindingEstablished;
|
BOOL _bindingEstablished;
|
||||||
}
|
}
|
||||||
@property (assign) IBOutlet NSOutlineView *outlineView;
|
@property (weak) IBOutlet NSOutlineView *outlineView;
|
||||||
@property (assign) IBOutlet NSButton *addGroupButton;
|
@property (weak) IBOutlet NSButton *addGroupButton;
|
||||||
@property (assign) KdbGroup *selectedGroup;
|
@property (weak) KdbGroup *selectedGroup;
|
||||||
|
|
||||||
@property (retain) NSTreeController *treeController;
|
@property (strong) NSTreeController *treeController;
|
||||||
@property (retain) MPOutlineDataSource *datasource;
|
@property (strong) MPOutlineDataSource *datasource;
|
||||||
@property (retain) NSMenu *menu;
|
@property (strong) NSMenu *menu;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@@ -57,12 +58,6 @@ NSString *const _MPOutlinveViewHeaderViewIdentifier = @"HeaderCell";
|
|||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)dealloc {
|
|
||||||
[_treeController release];
|
|
||||||
[_datasource release];
|
|
||||||
[_menu release];
|
|
||||||
[super dealloc];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)didLoadView {
|
- (void)didLoadView {
|
||||||
[_outlineView setDelegate:self];
|
[_outlineView setDelegate:self];
|
||||||
@@ -196,7 +191,7 @@ NSString *const _MPOutlinveViewHeaderViewIdentifier = @"HeaderCell";
|
|||||||
for(NSMenuItem *item in items) {
|
for(NSMenuItem *item in items) {
|
||||||
[menu addItem:item];
|
[menu addItem:item];
|
||||||
}
|
}
|
||||||
return [menu autorelease];
|
return menu;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL)_itemIsRootNodeAdapter:(id)item {
|
- (BOOL)_itemIsRootNodeAdapter:(id)item {
|
||||||
|
|||||||
@@ -12,8 +12,8 @@
|
|||||||
@interface MPOverlayWindowController ()
|
@interface MPOverlayWindowController ()
|
||||||
|
|
||||||
@property (assign) BOOL isAnimating;
|
@property (assign) BOOL isAnimating;
|
||||||
@property (assign) IBOutlet NSImageView *imageView;
|
@property (weak) IBOutlet NSImageView *imageView;
|
||||||
@property (assign) IBOutlet NSTextField *textField;
|
@property (weak) IBOutlet NSTextField *textField;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,6 @@
|
|||||||
|
|
||||||
@interface MPPasswordCreatorViewController : MPViewController
|
@interface MPPasswordCreatorViewController : MPViewController
|
||||||
|
|
||||||
@property (retain, readonly) NSString *generatedPassword;
|
@property (strong, readonly) NSString *generatedPassword;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
@@ -17,19 +17,19 @@
|
|||||||
@interface MPPasswordCreatorViewController () {
|
@interface MPPasswordCreatorViewController () {
|
||||||
MPPasswordCharacterFlags _characterFlags;
|
MPPasswordCharacterFlags _characterFlags;
|
||||||
}
|
}
|
||||||
@property (retain) NSString *password;
|
@property (strong) NSString *password;
|
||||||
@property (retain) NSString *generatedPassword;
|
@property (strong) NSString *generatedPassword;
|
||||||
|
|
||||||
@property (assign) IBOutlet NSTextField *passwordTextField;
|
@property (weak) IBOutlet NSTextField *passwordTextField;
|
||||||
@property (assign) IBOutlet NSTextField *passwordLengthTextField;
|
@property (weak) IBOutlet NSTextField *passwordLengthTextField;
|
||||||
@property (assign) IBOutlet NSTextField *customCharactersTextField;
|
@property (weak) IBOutlet NSTextField *customCharactersTextField;
|
||||||
@property (assign) IBOutlet NSSlider *passwordLengthSlider;
|
@property (weak) IBOutlet NSSlider *passwordLengthSlider;
|
||||||
@property (assign) IBOutlet NSButton *addPasswordToPasteboardButton;
|
@property (weak) IBOutlet NSButton *addPasswordToPasteboardButton;
|
||||||
@property (assign) IBOutlet NSButton *upperCaseButton;
|
@property (weak) IBOutlet NSButton *upperCaseButton;
|
||||||
@property (assign) IBOutlet NSButton *lowerCaseButton;
|
@property (weak) IBOutlet NSButton *lowerCaseButton;
|
||||||
@property (assign) IBOutlet NSButton *numbersButton;
|
@property (weak) IBOutlet NSButton *numbersButton;
|
||||||
@property (assign) IBOutlet NSButton *symbolsButton;
|
@property (weak) IBOutlet NSButton *symbolsButton;
|
||||||
@property (assign) IBOutlet NSButton *customButton;
|
@property (weak) IBOutlet NSButton *customButton;
|
||||||
|
|
||||||
@property (assign, nonatomic) BOOL useCustomString;
|
@property (assign, nonatomic) BOOL useCustomString;
|
||||||
@property (assign, nonatomic) NSUInteger passwordLength;
|
@property (assign, nonatomic) NSUInteger passwordLength;
|
||||||
@@ -54,11 +54,6 @@
|
|||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)dealloc {
|
|
||||||
[_generatedPassword release];
|
|
||||||
[_password release];
|
|
||||||
[super dealloc];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)didLoadView {
|
- (void)didLoadView {
|
||||||
[self.passwordLengthSlider setMinValue:MIN_PASSWORD_LENGTH];
|
[self.passwordLengthSlider setMinValue:MIN_PASSWORD_LENGTH];
|
||||||
|
|||||||
@@ -12,9 +12,9 @@
|
|||||||
#import "MPDocument.h"
|
#import "MPDocument.h"
|
||||||
|
|
||||||
@interface MPPasswordEditViewController ()
|
@interface MPPasswordEditViewController ()
|
||||||
@property (assign) IBOutlet NSSecureTextField *passwordTextField;
|
@property (weak) IBOutlet NSSecureTextField *passwordTextField;
|
||||||
@property (assign) IBOutlet NSPathControl *keyfilePathControl;
|
@property (weak) IBOutlet NSPathControl *keyfilePathControl;
|
||||||
@property (retain) MPKeyfilePathControlDelegate *pathControlDelegate;
|
@property (strong) MPKeyfilePathControlDelegate *pathControlDelegate;
|
||||||
|
|
||||||
- (IBAction)_change:(id)sender;
|
- (IBAction)_change:(id)sender;
|
||||||
- (IBAction)_cancel:(id)sender;
|
- (IBAction)_cancel:(id)sender;
|
||||||
@@ -35,10 +35,6 @@
|
|||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)dealloc {
|
|
||||||
[_pathControlDelegate release];
|
|
||||||
[super dealloc];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (NSResponder *)reconmendedFirstResponder {
|
- (NSResponder *)reconmendedFirstResponder {
|
||||||
return self.passwordTextField;
|
return self.passwordTextField;
|
||||||
|
|||||||
@@ -13,11 +13,11 @@
|
|||||||
|
|
||||||
@interface MPPasswordInputController ()
|
@interface MPPasswordInputController ()
|
||||||
|
|
||||||
@property (assign) IBOutlet NSTextField *passwordTextField;
|
@property (weak) IBOutlet NSTextField *passwordTextField;
|
||||||
@property (assign) IBOutlet NSPathControl *keyPathControl;
|
@property (weak) IBOutlet NSPathControl *keyPathControl;
|
||||||
@property (retain) MPKeyfilePathControlDelegate *pathControlDelegate;
|
@property (strong) MPKeyfilePathControlDelegate *pathControlDelegate;
|
||||||
@property (assign) IBOutlet NSImageView *errorImageView;
|
@property (weak) IBOutlet NSImageView *errorImageView;
|
||||||
@property (assign) IBOutlet NSTextField *errorInfoTextField;
|
@property (weak) IBOutlet NSTextField *errorInfoTextField;
|
||||||
|
|
||||||
- (IBAction)_decrypt:(id)sender;
|
- (IBAction)_decrypt:(id)sender;
|
||||||
|
|
||||||
@@ -29,10 +29,6 @@
|
|||||||
return [[MPPasswordInputController alloc] initWithNibName:@"PasswordInputView" bundle:nil];
|
return [[MPPasswordInputController alloc] initWithNibName:@"PasswordInputView" bundle:nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)dealloc {
|
|
||||||
[_pathControlDelegate release];
|
|
||||||
[super dealloc];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)didLoadView {
|
- (void)didLoadView {
|
||||||
[self.keyPathControl setDelegate:self.pathControlDelegate];
|
[self.keyPathControl setDelegate:self.pathControlDelegate];
|
||||||
|
|||||||
@@ -41,7 +41,6 @@
|
|||||||
if(_clearPasteboardOnShutdown) {
|
if(_clearPasteboardOnShutdown) {
|
||||||
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
||||||
}
|
}
|
||||||
[super dealloc];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)_updateNotifications {
|
- (void)_updateNotifications {
|
||||||
|
|||||||
@@ -76,7 +76,6 @@
|
|||||||
// [[NSColor whiteColor] set];
|
// [[NSColor whiteColor] set];
|
||||||
// [triangle fill];
|
// [triangle fill];
|
||||||
|
|
||||||
[shadow release];
|
|
||||||
[[NSGraphicsContext currentContext] restoreGraphicsState];
|
[[NSGraphicsContext currentContext] restoreGraphicsState];
|
||||||
}
|
}
|
||||||
[super drawRect:dirtyRect];
|
[super drawRect:dirtyRect];
|
||||||
@@ -106,7 +105,6 @@
|
|||||||
owner:self
|
owner:self
|
||||||
userInfo:nil];
|
userInfo:nil];
|
||||||
[self addTrackingArea:trackingArea];
|
[self addTrackingArea:trackingArea];
|
||||||
[trackingArea release];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ NSString *const MPRequestTypeGeneratePassword = @"generate-password";
|
|||||||
static NSDictionary *requestHandler;
|
static NSDictionary *requestHandler;
|
||||||
static dispatch_once_t onceToken;
|
static dispatch_once_t onceToken;
|
||||||
dispatch_once(&onceToken, ^{
|
dispatch_once(&onceToken, ^{
|
||||||
requestHandler = [[self _setupHandlerDictionary] retain];
|
requestHandler = [self _setupHandlerDictionary];
|
||||||
});
|
});
|
||||||
return requestHandler;
|
return requestHandler;
|
||||||
}
|
}
|
||||||
@@ -41,8 +41,6 @@ NSString *const MPRequestTypeGeneratePassword = @"generate-password";
|
|||||||
[associateHandler identifier] : associateHandler,
|
[associateHandler identifier] : associateHandler,
|
||||||
[testAssociateHandler identifier] : testAssociateHandler
|
[testAssociateHandler identifier] : testAssociateHandler
|
||||||
};
|
};
|
||||||
[associateHandler release];
|
|
||||||
[testAssociateHandler release];
|
|
||||||
return handlerDict;
|
return handlerDict;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -12,9 +12,9 @@
|
|||||||
|
|
||||||
@interface MPRootAdapter : NSObject
|
@interface MPRootAdapter : NSObject
|
||||||
|
|
||||||
@property (readonly, retain) NSArray *groups;
|
@property (readonly, strong) NSArray *groups;
|
||||||
@property (nonatomic, retain) KdbTree *tree;
|
@property (nonatomic, strong) KdbTree *tree;
|
||||||
/* Subs to support interface */
|
/* Subs to support interface */
|
||||||
@property (readonly, nonatomic) NSArray *entries;
|
@property (weak, readonly, nonatomic) NSArray *entries;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
@@ -11,21 +11,16 @@
|
|||||||
|
|
||||||
@interface MPRootAdapter ()
|
@interface MPRootAdapter ()
|
||||||
|
|
||||||
@property (retain) NSArray *groups;
|
@property (strong) NSArray *groups;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation MPRootAdapter
|
@implementation MPRootAdapter
|
||||||
|
|
||||||
- (void)dealloc {
|
|
||||||
[_groups release];
|
|
||||||
[super dealloc];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)setTree:(KdbTree *)tree {
|
- (void)setTree:(KdbTree *)tree {
|
||||||
if(_tree != tree) {
|
if(_tree != tree) {
|
||||||
[_tree release];
|
_tree = tree;
|
||||||
_tree = [tree retain];
|
|
||||||
self.groups = @[_tree.root];
|
self.groups = @[_tree.root];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,6 +11,6 @@
|
|||||||
/* Simple View with an additional Button to add an Action to selected rows */
|
/* Simple View with an additional Button to add an Action to selected rows */
|
||||||
@interface MPSelectedAttachmentTableCellView : NSTableCellView
|
@interface MPSelectedAttachmentTableCellView : NSTableCellView
|
||||||
|
|
||||||
@property (nonatomic, assign) IBOutlet NSButton *saveButton;
|
@property (nonatomic, weak) IBOutlet NSButton *saveButton;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
@@ -38,12 +38,6 @@
|
|||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)dealloc
|
|
||||||
{
|
|
||||||
[statusItem release];
|
|
||||||
[server release];
|
|
||||||
[super dealloc];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)setIsEnabled:(BOOL)enabled {
|
- (void)setIsEnabled:(BOOL)enabled {
|
||||||
if(_isEnabled == enabled) {
|
if(_isEnabled == enabled) {
|
||||||
@@ -62,7 +56,6 @@
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
/* Do not let the resource linger around */
|
/* Do not let the resource linger around */
|
||||||
[server release];
|
|
||||||
server = nil;
|
server = nil;
|
||||||
}
|
}
|
||||||
[self _updateStatusItem];
|
[self _updateStatusItem];
|
||||||
@@ -78,7 +71,7 @@
|
|||||||
|
|
||||||
- (void)_updateStatusItem {
|
- (void)_updateStatusItem {
|
||||||
if(_isEnabled && _showStatusItem) {
|
if(_isEnabled && _showStatusItem) {
|
||||||
statusItem = [[[NSStatusBar systemStatusBar] statusItemWithLength:NSVariableStatusItemLength] retain];
|
statusItem = [[NSStatusBar systemStatusBar] statusItemWithLength:NSVariableStatusItemLength];
|
||||||
[statusItem setImage:[MPIconHelper icon:MPIconServer ]];
|
[statusItem setImage:[MPIconHelper icon:MPIconServer ]];
|
||||||
}
|
}
|
||||||
else if(statusItem) {
|
else if(statusItem) {
|
||||||
|
|||||||
@@ -11,6 +11,6 @@
|
|||||||
|
|
||||||
@interface MPServerSettingsController : MPViewController <MPSettingsTab>
|
@interface MPServerSettingsController : MPViewController <MPSettingsTab>
|
||||||
|
|
||||||
@property (assign) IBOutlet NSButton *enableServerCheckbutton;
|
@property (weak) IBOutlet NSButton *enableServerCheckbutton;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
@@ -14,10 +14,10 @@
|
|||||||
NSString *lastIdentifier;
|
NSString *lastIdentifier;
|
||||||
}
|
}
|
||||||
|
|
||||||
@property (retain, nonatomic) NSToolbar *toolbar;
|
@property (strong, nonatomic) NSToolbar *toolbar;
|
||||||
@property (retain, nonatomic) NSMutableDictionary *settingsController;
|
@property (strong, nonatomic) NSMutableDictionary *settingsController;
|
||||||
@property (retain, nonatomic) NSMutableDictionary *toolbarItems;
|
@property (strong, nonatomic) NSMutableDictionary *toolbarItems;
|
||||||
@property (retain) NSArray *defaultToolbarItems;
|
@property (strong) NSArray *defaultToolbarItems;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@@ -41,13 +41,6 @@
|
|||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)dealloc {
|
|
||||||
[_settingsController release];
|
|
||||||
[_toolbar release];
|
|
||||||
[_toolbarItems release];
|
|
||||||
[_defaultToolbarItems release];
|
|
||||||
[super dealloc];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)showSettings {
|
- (void)showSettings {
|
||||||
if([self.defaultToolbarItems count] > 0) {
|
if([self.defaultToolbarItems count] > 0) {
|
||||||
@@ -122,8 +115,6 @@
|
|||||||
|
|
||||||
self.defaultToolbarItems = @[ [generalSettingsController identifier], [serverSettingsController identifier] ];
|
self.defaultToolbarItems = @[ [generalSettingsController identifier], [serverSettingsController identifier] ];
|
||||||
|
|
||||||
[generalSettingsController release];
|
|
||||||
[serverSettingsController release];
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,6 @@
|
|||||||
NSColor *bottomColor = [NSColor colorWithCalibratedWhite:0.85 alpha:1];
|
NSColor *bottomColor = [NSColor colorWithCalibratedWhite:0.85 alpha:1];
|
||||||
NSGradient *gradient = [[NSGradient alloc] initWithColors:@[topColor, bottomColor ]];
|
NSGradient *gradient = [[NSGradient alloc] initWithColors:@[topColor, bottomColor ]];
|
||||||
[gradient drawInRect:dirtyRect angle:-90];
|
[gradient drawInRect:dirtyRect angle:-90];
|
||||||
[gradient release];
|
|
||||||
|
|
||||||
NSShadow *dropShadow = [[NSShadow alloc] init];
|
NSShadow *dropShadow = [[NSShadow alloc] init];
|
||||||
[dropShadow setShadowColor:[NSColor colorWithCalibratedWhite:0 alpha:0.5]];
|
[dropShadow setShadowColor:[NSColor colorWithCalibratedWhite:0 alpha:0.5]];
|
||||||
@@ -54,7 +53,6 @@
|
|||||||
[[NSBezierPath bezierPathWithOvalInRect:bottomElipsis] fill];
|
[[NSBezierPath bezierPathWithOvalInRect:bottomElipsis] fill];
|
||||||
}
|
}
|
||||||
|
|
||||||
[dropShadow release];
|
|
||||||
[[NSGraphicsContext currentContext] restoreGraphicsState];
|
[[NSGraphicsContext currentContext] restoreGraphicsState];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,6 @@ NSString *const MPStringLengthValueTransformerName = @"com.hicknhack.macpass.MPM
|
|||||||
MPStringLengthValueTransformer *transformer = [[MPStringLengthValueTransformer alloc] init];
|
MPStringLengthValueTransformer *transformer = [[MPStringLengthValueTransformer alloc] init];
|
||||||
[NSValueTransformer setValueTransformer:transformer
|
[NSValueTransformer setValueTransformer:transformer
|
||||||
forName:MPStringLengthValueTransformerName];
|
forName:MPStringLengthValueTransformerName];
|
||||||
[transformer release];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id)transformedValue:(id)value {
|
- (id)transformedValue:(id)value {
|
||||||
|
|||||||
@@ -12,6 +12,6 @@
|
|||||||
|
|
||||||
@interface MPToolbarDelegate : NSObject <NSToolbarDelegate>
|
@interface MPToolbarDelegate : NSObject <NSToolbarDelegate>
|
||||||
|
|
||||||
@property (assign) NSToolbarItem *searchItem;
|
@property (weak) NSToolbarItem *searchItem;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
@@ -24,9 +24,9 @@ NSString *const MPToolbarItemInspector = @"TOOLBAR_INSPECTOR";
|
|||||||
|
|
||||||
@interface MPToolbarDelegate()
|
@interface MPToolbarDelegate()
|
||||||
|
|
||||||
@property (retain) NSMutableDictionary *toolbarItems;
|
@property (strong) NSMutableDictionary *toolbarItems;
|
||||||
@property (retain) NSArray *toolbarIdentifiers;
|
@property (strong) NSArray *toolbarIdentifiers;
|
||||||
@property (retain) NSDictionary *toolbarImages;
|
@property (strong) NSDictionary *toolbarImages;
|
||||||
|
|
||||||
- (NSString *)_localizedLabelForToolbarItemIdentifier:(NSString *)identifier;
|
- (NSString *)_localizedLabelForToolbarItemIdentifier:(NSString *)identifier;
|
||||||
- (SEL)_actionForToolbarItemIdentifier:(NSString *)identifier;
|
- (SEL)_actionForToolbarItemIdentifier:(NSString *)identifier;
|
||||||
@@ -39,20 +39,13 @@ NSString *const MPToolbarItemInspector = @"TOOLBAR_INSPECTOR";
|
|||||||
- (id)init {
|
- (id)init {
|
||||||
self = [super init];
|
self = [super init];
|
||||||
if (self) {
|
if (self) {
|
||||||
_toolbarIdentifiers = [@[ MPToolbarItemAddEntry, MPToolbarItemDelete, MPToolbarItemAddGroup, MPToolbarItemAction, NSToolbarFlexibleSpaceItemIdentifier, MPToolbarItemLock, MPToolbarItemInspector ] retain];
|
_toolbarIdentifiers = @[ MPToolbarItemAddEntry, MPToolbarItemDelete, MPToolbarItemAddGroup, MPToolbarItemAction, NSToolbarFlexibleSpaceItemIdentifier, MPToolbarItemLock, MPToolbarItemInspector ];
|
||||||
_toolbarImages = [[self createToolbarImages] retain];
|
_toolbarImages = [self createToolbarImages];
|
||||||
_toolbarItems = [[NSMutableDictionary alloc] initWithCapacity:[self.toolbarIdentifiers count]];
|
_toolbarItems = [[NSMutableDictionary alloc] initWithCapacity:[self.toolbarIdentifiers count]];
|
||||||
}
|
}
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)dealloc
|
|
||||||
{
|
|
||||||
[_toolbarItems release];
|
|
||||||
[_toolbarIdentifiers release];
|
|
||||||
[_toolbarImages release];
|
|
||||||
[super dealloc];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (NSToolbarItem *)toolbar:(NSToolbar *)toolbar itemForItemIdentifier:(NSString *)itemIdentifier willBeInsertedIntoToolbar:(BOOL)flag {
|
- (NSToolbarItem *)toolbar:(NSToolbar *)toolbar itemForItemIdentifier:(NSString *)itemIdentifier willBeInsertedIntoToolbar:(BOOL)flag {
|
||||||
NSToolbarItem *item = self.toolbarItems[itemIdentifier];
|
NSToolbarItem *item = self.toolbarItems[itemIdentifier];
|
||||||
@@ -75,7 +68,6 @@ NSString *const MPToolbarItemInspector = @"TOOLBAR_INSPECTOR";
|
|||||||
NSMenuItem *actionImageItem = [[NSMenuItem allocWithZone:[NSMenu menuZone]] initWithTitle:@"" action:NULL keyEquivalent:@""];
|
NSMenuItem *actionImageItem = [[NSMenuItem allocWithZone:[NSMenu menuZone]] initWithTitle:@"" action:NULL keyEquivalent:@""];
|
||||||
[actionImageItem setImage:self.toolbarImages[MPToolbarItemAction]];
|
[actionImageItem setImage:self.toolbarImages[MPToolbarItemAction]];
|
||||||
[menu addItem:actionImageItem];
|
[menu addItem:actionImageItem];
|
||||||
[actionImageItem release];
|
|
||||||
NSArray *menuItems = [MPContextMenuHelper contextMenuItemsWithItems:MPContextMenuExtended];
|
NSArray *menuItems = [MPContextMenuHelper contextMenuItemsWithItems:MPContextMenuExtended];
|
||||||
for(NSMenuItem *item in menuItems) {
|
for(NSMenuItem *item in menuItems) {
|
||||||
[menu addItem:item];
|
[menu addItem:item];
|
||||||
@@ -88,10 +80,7 @@ NSString *const MPToolbarItemInspector = @"TOOLBAR_INSPECTOR";
|
|||||||
[popupButton setFrame:newFrame];
|
[popupButton setFrame:newFrame];
|
||||||
[popupButton setMenu:menu];
|
[popupButton setMenu:menu];
|
||||||
[item setMenuFormRepresentation:menuRepresentation];
|
[item setMenuFormRepresentation:menuRepresentation];
|
||||||
[menuRepresentation release];
|
|
||||||
[item setView:popupButton];
|
[item setView:popupButton];
|
||||||
[popupButton release];
|
|
||||||
[menu release];
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
NSButton *button = [[MPToolbarButton alloc] initWithFrame:NSMakeRect(0, 0, 32, 32)];
|
NSButton *button = [[MPToolbarButton alloc] initWithFrame:NSMakeRect(0, 0, 32, 32)];
|
||||||
@@ -114,11 +103,8 @@ NSString *const MPToolbarItemInspector = @"TOOLBAR_INSPECTOR";
|
|||||||
action:[self _actionForToolbarItemIdentifier:itemIdentifier]
|
action:[self _actionForToolbarItemIdentifier:itemIdentifier]
|
||||||
keyEquivalent:@""];
|
keyEquivalent:@""];
|
||||||
[item setMenuFormRepresentation:menuRepresentation];
|
[item setMenuFormRepresentation:menuRepresentation];
|
||||||
[menuRepresentation release];
|
|
||||||
[button release];
|
|
||||||
}
|
}
|
||||||
self.toolbarItems[itemIdentifier] = item;
|
self.toolbarItems[itemIdentifier] = item;
|
||||||
[item release];
|
|
||||||
}
|
}
|
||||||
return item;
|
return item;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ NSString *const MPUppsercaseStringValueTransformerName = @"com.hicknhack.macpass
|
|||||||
MPUppercaseStringValueTransformer *transformer = [[MPUppercaseStringValueTransformer alloc] init];
|
MPUppercaseStringValueTransformer *transformer = [[MPUppercaseStringValueTransformer alloc] init];
|
||||||
[NSValueTransformer setValueTransformer:transformer
|
[NSValueTransformer setValueTransformer:transformer
|
||||||
forName:MPUppsercaseStringValueTransformerName];
|
forName:MPUppsercaseStringValueTransformerName];
|
||||||
[transformer release];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id)transformedValue:(id)value {
|
- (id)transformedValue:(id)value {
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>1846</string>
|
<string>1872</string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
|
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
|
||||||
<key>NSHumanReadableCopyright</key>
|
<key>NSHumanReadableCopyright</key>
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ static NSString *allowedCharactersString(MPPasswordCharacterFlags flags) {
|
|||||||
while([password length] < length) {
|
while([password length] < length) {
|
||||||
[password appendString:[source randomCharacter]];
|
[password appendString:[source randomCharacter]];
|
||||||
}
|
}
|
||||||
return [password autorelease];
|
return password;
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (NSString *)passwordWithCharactersets:(MPPasswordCharacterFlags)allowedCharacters length:(NSUInteger)length {
|
+ (NSString *)passwordWithCharactersets:(MPPasswordCharacterFlags)allowedCharacters length:(NSUInteger)length {
|
||||||
|
|||||||
Reference in New Issue
Block a user