| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Previous tests where using NSValue wrapping for NSRange 'XCTAssertTrue result.
|
|
|
|
| |
This reverts commit 0f3ce372c0c777287f81f6db2f8431a4d32f1cd4.
|
|
|
|
| |
This reverts commit 4d2ec773b833b06fd6925502eb4ac512b1274b86.
|
|
|
|
| |
Fixing testCopyTableFromTo_NoPermissions not using the mockConnection.
|
|
|
|
| |
Converted the unit tests from SenTestingKit to XCTest as SenTestingKit was deprecated a couple of SDK versions ago.
|
| |
|
| |
|
| |
|
|
|
|
| |
(Also add a test that will currently fail)
|
|
|
|
| |
relevant order
|
|
|
|
|
|
| |
#2223)
This also removes the dependency on OpenSSL.
|
|
|
|
| |
of #2223)
|
|
|
|
|
| |
(The easier half of #2223)
Also added some unit tests.
|
| |
|
|
|
|
| |
There is really no point in having them as unit tests don't have an interface someone would want to #import. (and they are disabled right now anyway ;))
|
| |
|
|
|
|
|
| |
* This works similar to a regex matching "abc" as /a.*b.*c/ (ie. all characters of $needle need to be contained in $haystack in the correct order but not neccesarily consecutive). Additionaly some unicode equivalencies are handled.
* Changed a tiny helper function from ObjC to plain C
|
|
|
|
| |
Voodoo magic provided by @Bibiko ;)
|
| |
|
|
|
|
| |
(if I could get Xcode to **actually** run the tests instead of only showing green checkmarks, that is)
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
associated test.
|
| |
|
| |
|
|
|
|
| |
dependency on SP specific code and all the tests to build successfully.
|
| |
|
| |
|
| |
|
|
|
|
| |
hooked up yet. Part of issue #1235.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- Prepare for the implementation of PDF and HTML export by hiding the export options box for export types that don't need it.
- Fix some spacing issues on the export dialog.
- Create a new SPCategoryAdditions header that is included in the apps precompiled header, making all additions available to all classes.
- Update strings files.
|
| |
|
|
|
|
| |
successful. Caused an existing DB to be selected, after ren/dup failed because it exists.
|
|
|
|
|
|
|
|
|
| |
* minor restructuring of SPTableCopy for readability and debuggability
* corrected wrong default copyright header on some files
* SPCopyTableTest: removed testCopyTableFromTo since it is integrated in
testCopyTableFromToWithData;
* SPCopyTableTest: fixed test to reflect two queries table creation (show
create and create) instead of create like (<4.1 compatibility)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Details as follows:
* altered MCPConnection listTablesFromDB:like: to return NSArray
* altered MCPConnection listFieldsFromTable:like: to use backtick quoted
strings for table and fieldnames
* added MCPConnection listTablesFromDB for a complete table list
* added SPStringAdditions.h to various files to prevent warnings
* added sheets for duplicate/rename DB in DBView.xib
* added duplicate/rename menu items to MainMenu.xib
* added outlets in TableDocument: databaseNewSheet databaseRenameSheet
databaseCopyNameField databaseRenameNameField copyOnlyStructureButton
copyDatabaseButton renameDatabaseButton
* added methods in TableDocument: getConnection, copyDatabase, renameDatabase,
_copyDatabase, _renameDatabase
* added OCMock Framework for object mocking in tests
* added group Others/DatabaseActions
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Includes all custom code from subclasses CMMCPConnection and CMMCPResult, meaning they have subsequently been removed from the project.
- All previous Sequel Pro specific code in the above subclasses has been removed in favour of the delegate (currently set to TableDocumet) informing the framework of such information.
- All references to CMMCPConnection and CMMCPResult have subsequently been changed to MCPConnection and MCPResult.
- Framework includes MySQL 5.1.36 client libraries and source headers.
- Framework is now built as a 4-way (32/64 bit, i386/PPC arch) binary.
- All import references to <MCPKit_bundled/MCPKit_bundled.h> have been changed to <MCPKit/MCPKit.h>.
- New script 'build-mysql-client.sh' can be used to build the MySQL client libraries from the MySQL source. See the script's header for a list of available options or run it with no arguments to display it's usage.
Note that there are still a few changes to be made to the framework with regard to removing Sequel Pro specific calls to the delegate. These however can be made later on as they have no effect on functionality and are merely design changes.
Also, note that any future development done on the framework should be made to be as 'generic' as possible, with no Sequel Pro specific references. This should allow the framework to be integrated into another project without the need for SP specific code.
|