Commits

Tuukka Norri  committed 6c58ffb

Translated some comments and set svn:ignore for *.pbxuser and *.perspective files

  • Participants
  • Parent commits f64c8db
  • Branches PGTS

Comments (0)

Files changed (8)

File Framework/Sources/PGTSConnection.m

 
 - (void) dealloc
 {
-    //FIXME: tarkista tämä funktio
+    //FIXME: this method needs a check.
     [self disconnect];
     //Wait for the other thread to end
     [self endWorkerThread];

File Framework/Sources/PGTSConnectionQueries.m

 /** Cancel the current command */
 - (void) cancelCommand
 {
-    //FIXME: mieti prototyyppi
     int PQcancel(PGcancel *cancel, char *errbuf, int errbufsize);
 }
 

File Framework/Sources/PGTSDataSource.m

  */
 - (void) addTable: (PGTSDataSourceTable *) aTable
 {
-    [tables setObject: aTable forKey: [aTable name]]; //FIXME: pitäisikÜ selvittää taulun oikea nimi?
+    [tables setObject: aTable forKey: [aTable name]]; //FIXME: does this use the table's real name?
 }
 
 /**
             [[tables objectForKey: table] PGTSSetClauseParameters: parameters],
             [[conditions objectForKey: table] PGTSWhereClauseParameters: parameters]];
         
-        //FIXME: toimiiko tämä ^^^ muka???
+        //FIXME: this might not work at all.
         
         [connection executeQuery: queryFormat parameterArray: parameters];
         //FIXME: check the results. The user should decide, whether an exeption will be thrown on error
 
 - (void) removeRowsFromTable: (PGTSTableInfo *) table withEqualCondition: (NSDictionary *) conditions
 {
-    //FIXME: korjaa tämä
+    //FIXME: this should be fixed
 #if 0
     NSMutableString* queryFormat = [NSMutableString stringWithFormat: 
         @"DELETE FROM \"%@\".\"%@\" WHERE (%@)", [[table schemaName] PGTSEscapedString: connection], [[table name] PGTSEscapedString: connection], 

File Framework/Sources/PGTSDatabaseInfo.h

 - (void) setConnectionPoolKey: (NSString *) aKey;
 - (void) updateTableCache: (PGTSTableInfo *) table;
 
-//FIXME: kehitä systeemi välimuistien rekursiiviseen tyhjentämiseen s.e. myÜs käyttäjän retainaamat tableinfot tyhjenevät
-//olioiden poistaminen NSMutableDictionaryista ei siis riitä vaan niihin pitää syÜttää NULL-arvot
-//tarkista, riittääkÜ PGTSConnectionPoolin terminate-metodi
 @end

File Framework/Sources/PGTSFunctions.m

             
             PQconninfoOption *option = PQconndefaults ();
             char* keyword = NULL;
-            while ((keyword = option->keyword)) //FIXME: tarkista, että siirrytään oikeassa kohdassa
+            while ((keyword = option->keyword))
             {
                 NSString* key = [NSString stringWithUTF8String: keyword];
                 [keys addObject: key];

File Framework/Sources/PGTSIndexInfo.m

 #import "PGTSIndexInfo.h"
 
 
-//FIXME: koodaa loppuun
-
 /** 
  * Table index
  */

File Framework/Sources/PGTSMutableResultRow.m

     [writeDelegate setValue: value forField: aKey row: rowNumber];
 }
 
-//FIXME: mieti tämä uudestaan
+//FIXME: this needs to be rethought.
 - (id) initWithWriteDelegate: (id <PGTSWriteDelegateProtocol>) anObject
 {
     if ((self = [super init]))

File Framework/Sources/PGTSResultSet.m

     for (int i = 0; i < count; i++)
     {
         Class currentClass = [classes objectAtIndex: i];
-        //FIXME: ei älä käytä assertia vaan heitä esim. NSInvalidArgumentException, jos taulukossa on muita kuin luokkia
+        //FIXME: NSInvalidArgumentException might be better that an assertion
 #ifdef USE_ASSERTIONS
         NSAssert ([currentClass class] == currentClass, @"Class array may contain only classes");
 #endif