Commits

Show all
Author Commit Message Labels Comments Date
Tuukka Norri
Bug fix - Fixed a bug which caused importing a data model to fail in case it had to-one relationships without inverse relationships.
Tuukka Norri
SSL and BaseTen Assistant - Changed references to some CFTypes to prevent gc reference count underflows. - Also changed calls to pure CF instead of using Cocoa methods. - BaseTenAssistant can now connect to databases using SSL even if the certificate isn't trusted by default. - BaseTenAssistant is now linked to BaseTenAppKit to make the trust panel available.
Tuukka Norri
Manual tuning - Wrote documentation for BaseTenAppKit and how to use its classes from the Interface Builder.
Tuukka Norri
Bug fixes - Changed PGTSQuery so that it will use PQsendQueryParams only if parameters are supplied, and PQsendQuery otherwise. This way many commands can be sent in a single query. - Changed BXPGTransactionHandler's -save: and -rollback so that baseten.lock_unlock will be called only if it exists.
Tuukka Norri
Manual tuning - Updated documentation on locking rows. - Fixed a group's name.
Tuukka Norri
Changed -valuesForBoundRelationship so that it passes the relationship to BXDatabaseContext
Tuukka Norri
Decided that baseten.lock_unlock should be called regardless of BXDatabaseContext's setting - BXSynchronizedArrayController could have marked rows locked. - This shouldn't be an expensive operation, since the function will be called in the same query with COMMIT or ROLLBACK.
Tuukka Norri
Locking rows - BXDatabaseContext's methods -setSendsLockQueries: and -sendsLockQueries: had wrong documentation. Fixed this. - BXPGInterface now takes -sendsLockQueries: into account when locking rows, not just when clearing the locks. This could have caused problems in situations where some clients have been using autocommit and others manual commit. - -locksRowsOnBeginEditing is now BXSynchronizedArrayContro…
Tuukka Norri
IB Plugin and BXSynchronizedArrayController - Fixed the +supportsMultipleObjectInspection methods. - BXSynchronizedArrayController now resets its content binding key when contentSet or contentArray is unbound. - Tried to disable the automatic fetch option in Interface Builder if contentSet is bound, but failed.
Tuukka Norri
Unit tests - Cleaned up some creation tests. Don't know what I had been thinking. - Also added a test for inserting a string with precomposed characters.
Tuukka Norri
All values passed to -createObjectForEntity:... are now cached. - NSStrings are also normalized to NFD like when fetching and inserting.
Tuukka Norri
Wrote tests for the xml type
Tuukka Norri
Fixed an over-release - The method is supposed to return retained objects.
Tuukka Norri
Added the xml type to class map
Tuukka Norri
Changed the Interface Builder plugin use fetchesAutomatically instead of fetchesOnConnect
Tuukka Norri
Changed BXSynchronizedArrayController's property fetchesOnConnect to fetchesAutomatically - Added DEPRECATED_ATTRIBUTE to the old method names. - Contents should now get fetched even if the context is already connected.
Tuukka Norri
Manual tuning - Wrote documentation on the xml type. - Removed a category from BXSynchronizedArrayController, because Doxygen doesn't handle them like I want. Replaced it with a documentation group. - Last page in the reference manual will now be empty.
Tuukka Norri
Documented some methods in BXSynchronizedArrayController
Tuukka Norri
Work on XML documents - NSXMLDocuments are now returned if the column used is specified to contain only XML documents. - Whether a column can contain only documents is determined by looking for a check constraint. There didn't seem to be any other way to do this. - XML content fragments will be returned as NSData. - XML documents fetched from views will be returned as NSData, because views cannot contain check constrai…
Tuukka Norri
Fixed a bug in string handling
Tuukka Norri
Looks like -initWithBytesNoCopy:length:freeWhenDone: doesn't take a const pointer to bytes
Tuukka Norri
Type conversion - Text fetched from the database will now be normalized to NFD. - Non-bytea columns will no longer tried to be unescaped. - Added support for the XML data type. It is converted to NSXMLDocument. - Bit and varbit will now be converted to NSStrings, because they can't easily be represented as octets.
Tuukka Norri
Unit tests - Made almost all test case classes subclasses of BXDatabaseTestCase. The class implements some delegate methods needed now that our testing server accepts SSL connections but has an invalid certificate. - Changed almost all instance variable names to begin with m. - Moved connection URIs and the like to BXTestCase.m. - Added calls to super's implementation to all -setUp and -tearDown methods. - W…
Tuukka Norri
Fixed problems with SSL - Fixed a crasher which occurred when connecting to a server with SSL capability in asynchronous mode. Moved the code into a method which both the connectors use, so it can be tested easily. - Added more SSL status codes. Now situations where SSL is unavailable, automatic SSL certificate verification fails, user clicks cancel in certificate trust panel and some other SSL error occurs can be distin…
Tuukka Norri
Made an error message a bit better
Tuukka Norri
Removed the MKCFail used for testing the buildbot
Tuukka Norri
Testing the buildbot
Tuukka Norri
Decided that the safety check should be more strict - The run-time parameters affect data formatting.
Tuukka Norri
Added a safety check to setting run-time parameters for database connection
Tuukka Norri
Replaced constants referring to an array's size with a macro call
  1. Prev
  2. Next