Monotone-Parent: cf8aaf24a7987c304ec874bef6f30569d338c805
Monotone-Revision: 4af6f242db41c32f7b5a930b008be8a78af1a375 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-08-27T21:51:50 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
8e6a6950da
commit
00f1f8926a
|
@ -1,6 +1,206 @@
|
||||||
|
Index: sope-gdl1/PostgreSQL/PostgreSQL72Channel.m
|
||||||
|
===================================================================
|
||||||
|
--- sope-gdl1/PostgreSQL/PostgreSQL72Channel.m (révision 1626)
|
||||||
|
+++ sope-gdl1/PostgreSQL/PostgreSQL72Channel.m (copie de travail)
|
||||||
|
@@ -713,6 +713,39 @@
|
||||||
|
return ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
+/* GCSEOAdaptorChannel protocol */
|
||||||
|
+static NSString *sqlFolderFormat = (@"CREATE TABLE %@ (\n" \
|
||||||
|
+ @" c_name VARCHAR (256) NOT NULL PRIMARY KEY,\n"
|
||||||
|
+ @" c_content VARCHAR (100000) NOT NULL,\n"
|
||||||
|
+ @" c_creationdate INT4 NOT NULL,\n"
|
||||||
|
+ @" c_lastmodified INT4 NOT NULL,\n"
|
||||||
|
+ @" c_version INT4 NOT NULL,\n"
|
||||||
|
+ @" c_deleted INT4 NULL\n"
|
||||||
|
+ @")");
|
||||||
|
+static NSString *sqlFolderACLFormat = (@"CREATE TABLE %@ (\n" \
|
||||||
|
+ @" c_uid VARCHAR (256) NOT NULL,\n"
|
||||||
|
+ @" c_object VARCHAR (256) NOT NULL,\n"
|
||||||
|
+ @" c_role VARCHAR (80) NOT NULL\n"
|
||||||
|
+ @")");
|
||||||
|
+
|
||||||
|
+- (NSException *) createGCSFolderTableWithName: (NSString *) tableName
|
||||||
|
+{
|
||||||
|
+ NSString *sql;
|
||||||
|
+
|
||||||
|
+ sql = [NSString stringWithFormat: sqlFolderFormat, tableName];
|
||||||
|
+
|
||||||
|
+ return [self evaluateExpressionX: sql];
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+- (NSException *) createGCSFolderACLTableWithName: (NSString *) tableName
|
||||||
|
+{
|
||||||
|
+ NSString *sql;
|
||||||
|
+
|
||||||
|
+ sql = [NSString stringWithFormat: sqlFolderACLFormat, tableName];
|
||||||
|
+
|
||||||
|
+ return [self evaluateExpressionX: sql];
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
@end /* PostgreSQL72Channel */
|
||||||
|
|
||||||
|
@implementation PostgreSQL72Channel(PrimaryKeyGeneration)
|
||||||
|
Index: sope-gdl1/Oracle8/OracleAdaptorChannel.m
|
||||||
|
===================================================================
|
||||||
|
--- sope-gdl1/Oracle8/OracleAdaptorChannel.m (révision 1626)
|
||||||
|
+++ sope-gdl1/Oracle8/OracleAdaptorChannel.m (copie de travail)
|
||||||
|
@@ -30,6 +30,7 @@
|
||||||
|
|
||||||
|
#import <NGExtensions/NSObject+Logs.h>
|
||||||
|
|
||||||
|
+static BOOL debugOn = NO;
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
@@ -41,10 +42,19 @@
|
||||||
|
|
||||||
|
@implementation OracleAdaptorChannel (Private)
|
||||||
|
|
||||||
|
-- (void) _cleanup
|
||||||
|
++ (void) initialize
|
||||||
|
{
|
||||||
|
+ NSUserDefaults *ud;
|
||||||
|
+
|
||||||
|
+ ud = [NSUserDefaults standardUserDefaults];
|
||||||
|
+ debugOn = [ud boolForKey: @"OracleAdaptorDebug"];
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+- (void) _cleanup
|
||||||
|
+{
|
||||||
|
column_info *info;
|
||||||
|
int c;
|
||||||
|
+ sword result;
|
||||||
|
|
||||||
|
[_resultSetProperties removeAllObjects];
|
||||||
|
|
||||||
|
@@ -58,11 +68,29 @@
|
||||||
|
// so we just free the value instead.
|
||||||
|
if (info->value)
|
||||||
|
{
|
||||||
|
- if (OCIDescriptorFree((dvoid *)info->value, (ub4)OCI_DTYPE_LOB) != OCI_SUCCESS)
|
||||||
|
+ if (info->type == SQLT_CLOB
|
||||||
|
+ || info->type == SQLT_BLOB
|
||||||
|
+ || info->type == SQLT_BFILEE
|
||||||
|
+ || info->type == SQLT_CFILEE)
|
||||||
|
+ {
|
||||||
|
+ result = OCIDescriptorFree((dvoid *)info->value, (ub4) OCI_DTYPE_LOB);
|
||||||
|
+ if (result != OCI_SUCCESS)
|
||||||
|
+ {
|
||||||
|
+ NSLog (@"value was not a LOB descriptor");
|
||||||
|
+ abort();
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
+ else
|
||||||
|
free(info->value);
|
||||||
|
info->value = NULL;
|
||||||
|
}
|
||||||
|
- free(info);
|
||||||
|
+ else
|
||||||
|
+ {
|
||||||
|
+ NSLog (@"trying to free an already freed value!");
|
||||||
|
+ abort();
|
||||||
|
+ }
|
||||||
|
+ free(info);
|
||||||
|
+
|
||||||
|
[_row_buffer removeObjectAtIndex: c];
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -231,6 +259,9 @@
|
||||||
|
|
||||||
|
[self _cleanup];
|
||||||
|
|
||||||
|
+ if (debugOn)
|
||||||
|
+ [self logWithFormat: @"expression: %@", theExpression];
|
||||||
|
+
|
||||||
|
if (!theExpression || ![theExpression length])
|
||||||
|
{
|
||||||
|
[NSException raise: @"OracleInvalidExpressionException"
|
||||||
|
@@ -302,7 +333,9 @@
|
||||||
|
// We read the maximum width of a column
|
||||||
|
info->max_width = 0;
|
||||||
|
status = OCIAttrGet((dvoid*)param, (ub4)OCI_DTYPE_PARAM, (dvoid*)&(info->max_width), (ub4 *)0, (ub4)OCI_ATTR_DATA_SIZE, (OCIError *)_oci_err);
|
||||||
|
-
|
||||||
|
+
|
||||||
|
+ if (debugOn)
|
||||||
|
+ NSLog(@"name: %s, type: %d", cname, info->type);
|
||||||
|
attribute = [EOAttribute attributeWithOracleType: info->type name: cname length: clen width: info->max_width];
|
||||||
|
[_resultSetProperties addObject: attribute];
|
||||||
|
|
||||||
|
@@ -609,7 +642,7 @@
|
||||||
|
|
||||||
|
/* GCSEOAdaptorChannel protocol */
|
||||||
|
static NSString *sqlFolderFormat = (@"CREATE TABLE %@ (\n" \
|
||||||
|
- @" c_name VARCHAR2 (256) NOT NULL,\n"
|
||||||
|
+ @" c_name VARCHAR2 (256) NOT NULL PRIMARY KEY,\n"
|
||||||
|
@" c_content CLOB NOT NULL,\n"
|
||||||
|
@" c_creationdate INTEGER NOT NULL,\n"
|
||||||
|
@" c_lastmodified INTEGER NOT NULL,\n"
|
||||||
|
Index: sope-gdl1/Oracle8/OracleAdaptorChannelController.m
|
||||||
|
===================================================================
|
||||||
|
--- sope-gdl1/Oracle8/OracleAdaptorChannelController.m (révision 1626)
|
||||||
|
+++ sope-gdl1/Oracle8/OracleAdaptorChannelController.m (copie de travail)
|
||||||
|
@@ -31,6 +31,8 @@
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
#import <GDLAccess/EOSQLExpression.h>
|
||||||
|
|
||||||
|
+static BOOL debugOn = NO;
|
||||||
|
+
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
@@ -48,6 +50,14 @@
|
||||||
|
//
|
||||||
|
@implementation OracleAdaptorChannelController
|
||||||
|
|
||||||
|
++ (void) initialize
|
||||||
|
+{
|
||||||
|
+ NSUserDefaults *ud;
|
||||||
|
+
|
||||||
|
+ ud = [NSUserDefaults standardUserDefaults];
|
||||||
|
+ debugOn = [ud boolForKey: @"OracleAdaptorDebug"];
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
- (EODelegateResponse) adaptorChannel: (id) theChannel
|
||||||
|
willInsertRow: (NSMutableDictionary *) theRow
|
||||||
|
forEntity: (EOEntity *) theEntity
|
||||||
|
@@ -56,7 +66,8 @@
|
||||||
|
NSArray *keys;
|
||||||
|
int i, c;
|
||||||
|
|
||||||
|
- NSLog(@"willInsertRow: %@ %@", [theRow description], [theEntity description]);
|
||||||
|
+ if (debugOn)
|
||||||
|
+ NSLog(@"willInsertRow: %@ %@", [theRow description], [theEntity description]);
|
||||||
|
|
||||||
|
s = AUTORELEASE([[NSMutableString alloc] init]);
|
||||||
|
|
||||||
|
@@ -101,7 +112,8 @@
|
||||||
|
NSArray *keys;
|
||||||
|
int i, c;
|
||||||
|
|
||||||
|
- NSLog(@"willUpdatetRow: %@ %@", [theRow description], [theQualifier description]);
|
||||||
|
+ if (debugOn)
|
||||||
|
+ NSLog(@"willUpdateRow: %@ %@", [theRow description], [theQualifier description]);
|
||||||
|
|
||||||
|
s = AUTORELEASE([[NSMutableString alloc] init]);
|
||||||
|
|
||||||
|
Index: sope-mime/NGImap4/NGImap4Client.h
|
||||||
|
===================================================================
|
||||||
|
--- sope-mime/NGImap4/NGImap4Client.h (révision 1626)
|
||||||
|
+++ sope-mime/NGImap4/NGImap4Client.h (copie de travail)
|
||||||
|
@@ -138,7 +138,7 @@
|
||||||
|
flags:(NSArray *)_flags;
|
||||||
|
- (NSDictionary *)storeFrom:(unsigned)_from to:(unsigned)_to
|
||||||
|
add:(NSNumber *)_add flags:(NSArray *)_flags;
|
||||||
|
-- (NSDictionary *)storeFlags:(NSArray *)_flags forMSNs:(id)_msns
|
||||||
|
+- (NSDictionary *)storeFlags:(NSArray *)_flags forUIDs:(id)_uids
|
||||||
|
addOrRemove:(BOOL)_flag;
|
||||||
|
|
||||||
|
- (NSDictionary *)copyUid:(unsigned)_uid toFolder:(NSString *)_folder;
|
||||||
Index: sope-mime/NGImap4/NGImap4Client.m
|
Index: sope-mime/NGImap4/NGImap4Client.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-mime/NGImap4/NGImap4Client.m (révision 1625)
|
--- sope-mime/NGImap4/NGImap4Client.m (révision 1626)
|
||||||
+++ sope-mime/NGImap4/NGImap4Client.m (copie de travail)
|
+++ sope-mime/NGImap4/NGImap4Client.m (copie de travail)
|
||||||
@@ -24,6 +24,8 @@
|
@@ -24,6 +24,8 @@
|
||||||
#include "NGImap4Client.h"
|
#include "NGImap4Client.h"
|
||||||
|
@ -47,6 +247,36 @@ Index: sope-mime/NGImap4/NGImap4Client.m
|
||||||
@end
|
@end
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -820,23 +824,23 @@
|
||||||
|
return [self->normer normalizeResponse:[self processCommand:cmd]];
|
||||||
|
}
|
||||||
|
|
||||||
|
-- (NSDictionary *)storeFlags:(NSArray *)_flags forMSNs:(id)_msns
|
||||||
|
+- (NSDictionary *)storeFlags:(NSArray *)_flags forUIDs:(id)_uids
|
||||||
|
addOrRemove:(BOOL)_flag
|
||||||
|
{
|
||||||
|
NSString *cmd;
|
||||||
|
NSString *flagstr;
|
||||||
|
NSString *seqstr;
|
||||||
|
|
||||||
|
- if ([_msns isKindOfClass:[NSArray class]]) {
|
||||||
|
+ if ([_uids isKindOfClass:[NSArray class]]) {
|
||||||
|
// TODO: improve by using ranges, eg 1:5 instead of 1,2,3,4,5
|
||||||
|
- _msns = [_msns valueForKey:@"stringValue"];
|
||||||
|
- seqstr = [_msns componentsJoinedByString:@","];
|
||||||
|
+ _uids = [_uids valueForKey:@"stringValue"];
|
||||||
|
+ seqstr = [_uids componentsJoinedByString:@","];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
- seqstr = [_msns stringValue];
|
||||||
|
+ seqstr = [_uids stringValue];
|
||||||
|
|
||||||
|
flagstr = [_flags2ImapFlags(self, _flags) componentsJoinedByString:@" "];
|
||||||
|
- cmd = [NSString stringWithFormat:@"store %@ %cFLAGS (%@)",
|
||||||
|
+ cmd = [NSString stringWithFormat:@"UID STORE %@ %cFLAGS (%@)",
|
||||||
|
seqstr, _flag ? '+' : '-', flagstr];
|
||||||
|
|
||||||
|
return [self->normer normalizeResponse:[self processCommand:cmd]];
|
||||||
@@ -967,11 +971,12 @@
|
@@ -967,11 +971,12 @@
|
||||||
descr = @"Could not process qualifier for imap search ";
|
descr = @"Could not process qualifier for imap search ";
|
||||||
descr = [descr stringByAppendingString:reason];
|
descr = [descr stringByAppendingString:reason];
|
||||||
|
@ -186,7 +416,7 @@ Index: sope-mime/NGImap4/NGImap4Client.m
|
||||||
__PRETTY_FUNCTION__, [_exception name], [_exception reason]];
|
__PRETTY_FUNCTION__, [_exception name], [_exception reason]];
|
||||||
Index: sope-mime/NGImap4/NGImap4Connection.m
|
Index: sope-mime/NGImap4/NGImap4Connection.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-mime/NGImap4/NGImap4Connection.m (révision 1625)
|
--- sope-mime/NGImap4/NGImap4Connection.m (révision 1626)
|
||||||
+++ sope-mime/NGImap4/NGImap4Connection.m (copie de travail)
|
+++ sope-mime/NGImap4/NGImap4Connection.m (copie de travail)
|
||||||
@@ -381,7 +381,7 @@
|
@@ -381,7 +381,7 @@
|
||||||
|
|
||||||
|
@ -197,9 +427,18 @@ Index: sope-mime/NGImap4/NGImap4Connection.m
|
||||||
pattern:@"*"];
|
pattern:@"*"];
|
||||||
if (![[result valueForKey:@"result"] boolValue]) {
|
if (![[result valueForKey:@"result"] boolValue]) {
|
||||||
[self errorWithFormat:@"Could not list mailbox hierarchy!"];
|
[self errorWithFormat:@"Could not list mailbox hierarchy!"];
|
||||||
|
@@ -646,7 +646,7 @@
|
||||||
|
|
||||||
|
/* store flags */
|
||||||
|
|
||||||
|
- result = [[self client] storeFlags:_f forMSNs:result addOrRemove:YES];
|
||||||
|
+ result = [[self client] storeFlags:_f forUIDs:result addOrRemove:YES];
|
||||||
|
if (![[result valueForKey:@"result"] boolValue]) {
|
||||||
|
return [self errorForResult:result
|
||||||
|
text:@"Failed to change flags of IMAP4 message"];
|
||||||
Index: sope-mime/NGImap4/NGImap4ResponseNormalizer.m
|
Index: sope-mime/NGImap4/NGImap4ResponseNormalizer.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-mime/NGImap4/NGImap4ResponseNormalizer.m (révision 1625)
|
--- sope-mime/NGImap4/NGImap4ResponseNormalizer.m (révision 1626)
|
||||||
+++ sope-mime/NGImap4/NGImap4ResponseNormalizer.m (copie de travail)
|
+++ sope-mime/NGImap4/NGImap4ResponseNormalizer.m (copie de travail)
|
||||||
@@ -648,14 +648,13 @@
|
@@ -648,14 +648,13 @@
|
||||||
enumerator = [_flags objectEnumerator];
|
enumerator = [_flags objectEnumerator];
|
||||||
|
@ -225,7 +464,7 @@ Index: sope-mime/NGImap4/NGImap4ResponseNormalizer.m
|
||||||
if (objs) free(objs);
|
if (objs) free(objs);
|
||||||
Index: sope-mime/NGImap4/NGImap4ResponseParser.m
|
Index: sope-mime/NGImap4/NGImap4ResponseParser.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-mime/NGImap4/NGImap4ResponseParser.m (révision 1625)
|
--- sope-mime/NGImap4/NGImap4ResponseParser.m (révision 1626)
|
||||||
+++ sope-mime/NGImap4/NGImap4ResponseParser.m (copie de travail)
|
+++ sope-mime/NGImap4/NGImap4ResponseParser.m (copie de travail)
|
||||||
@@ -84,6 +84,8 @@
|
@@ -84,6 +84,8 @@
|
||||||
static NSDictionary *_parseMultipartBody(NGImap4ResponseParser *self,
|
static NSDictionary *_parseMultipartBody(NGImap4ResponseParser *self,
|
||||||
|
@ -450,7 +689,7 @@ Index: sope-mime/NGImap4/NGImap4ResponseParser.m
|
||||||
{
|
{
|
||||||
Index: sope-mime/NGMail/NGSmtpClient.m
|
Index: sope-mime/NGMail/NGSmtpClient.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-mime/NGMail/NGSmtpClient.m (révision 1625)
|
--- sope-mime/NGMail/NGSmtpClient.m (révision 1626)
|
||||||
+++ sope-mime/NGMail/NGSmtpClient.m (copie de travail)
|
+++ sope-mime/NGMail/NGSmtpClient.m (copie de travail)
|
||||||
@@ -24,6 +24,82 @@
|
@@ -24,6 +24,82 @@
|
||||||
#include "NGSmtpReplyCodes.h"
|
#include "NGSmtpReplyCodes.h"
|
||||||
|
@ -606,7 +845,7 @@ Index: sope-mime/NGMail/NGSmtpClient.m
|
||||||
reply = [self receiveReply];
|
reply = [self receiveReply];
|
||||||
Index: sope-mime/NGMail/NGMailAddressParser.h
|
Index: sope-mime/NGMail/NGMailAddressParser.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-mime/NGMail/NGMailAddressParser.h (révision 1625)
|
--- sope-mime/NGMail/NGMailAddressParser.h (révision 1626)
|
||||||
+++ sope-mime/NGMail/NGMailAddressParser.h (copie de travail)
|
+++ sope-mime/NGMail/NGMailAddressParser.h (copie de travail)
|
||||||
@@ -24,7 +24,9 @@
|
@@ -24,7 +24,9 @@
|
||||||
|
|
||||||
|
@ -644,7 +883,7 @@ Index: sope-mime/NGMail/NGMailAddressParser.h
|
||||||
|
|
||||||
Index: sope-mime/NGMail/NGMimeMessageGenerator.m
|
Index: sope-mime/NGMail/NGMimeMessageGenerator.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-mime/NGMail/NGMimeMessageGenerator.m (révision 1625)
|
--- sope-mime/NGMail/NGMimeMessageGenerator.m (révision 1626)
|
||||||
+++ sope-mime/NGMail/NGMimeMessageGenerator.m (copie de travail)
|
+++ sope-mime/NGMail/NGMimeMessageGenerator.m (copie de travail)
|
||||||
@@ -86,37 +86,40 @@
|
@@ -86,37 +86,40 @@
|
||||||
char *des = NULL;
|
char *des = NULL;
|
||||||
|
@ -710,7 +949,7 @@ Index: sope-mime/NGMail/NGMimeMessageGenerator.m
|
||||||
unsigned isoEndLen = 2;
|
unsigned isoEndLen = 2;
|
||||||
Index: sope-mime/NGMail/NGMailAddressParser.m
|
Index: sope-mime/NGMail/NGMailAddressParser.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-mime/NGMail/NGMailAddressParser.m (révision 1625)
|
--- sope-mime/NGMail/NGMailAddressParser.m (révision 1626)
|
||||||
+++ sope-mime/NGMail/NGMailAddressParser.m (copie de travail)
|
+++ sope-mime/NGMail/NGMailAddressParser.m (copie de travail)
|
||||||
@@ -52,9 +52,9 @@
|
@@ -52,9 +52,9 @@
|
||||||
StrClass = [NSString class];
|
StrClass = [NSString class];
|
||||||
|
@ -822,7 +1061,7 @@ Index: sope-mime/NGMail/NGMailAddressParser.m
|
||||||
self->dataPos = 0;
|
self->dataPos = 0;
|
||||||
Index: sope-mime/NGMime/NGMimeRFC822DateHeaderFieldParser.m
|
Index: sope-mime/NGMime/NGMimeRFC822DateHeaderFieldParser.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-mime/NGMime/NGMimeRFC822DateHeaderFieldParser.m (révision 1625)
|
--- sope-mime/NGMime/NGMimeRFC822DateHeaderFieldParser.m (révision 1626)
|
||||||
+++ sope-mime/NGMime/NGMimeRFC822DateHeaderFieldParser.m (copie de travail)
|
+++ sope-mime/NGMime/NGMimeRFC822DateHeaderFieldParser.m (copie de travail)
|
||||||
@@ -19,88 +19,45 @@
|
@@ -19,88 +19,45 @@
|
||||||
02111-1307, USA.
|
02111-1307, USA.
|
||||||
|
@ -1217,7 +1456,7 @@ Index: sope-mime/NGMime/NGMimeRFC822DateHeaderFieldParser.m
|
||||||
#if 0
|
#if 0
|
||||||
Index: sope-mime/NGMime/NGMimeHeaderFieldGeneratorSet.m
|
Index: sope-mime/NGMime/NGMimeHeaderFieldGeneratorSet.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-mime/NGMime/NGMimeHeaderFieldGeneratorSet.m (révision 1625)
|
--- sope-mime/NGMime/NGMimeHeaderFieldGeneratorSet.m (révision 1626)
|
||||||
+++ sope-mime/NGMime/NGMimeHeaderFieldGeneratorSet.m (copie de travail)
|
+++ sope-mime/NGMime/NGMimeHeaderFieldGeneratorSet.m (copie de travail)
|
||||||
@@ -77,6 +77,7 @@
|
@@ -77,6 +77,7 @@
|
||||||
[rfc822Set setGenerator:gen forField:@"bcc"];
|
[rfc822Set setGenerator:gen forField:@"bcc"];
|
||||||
|
@ -1229,7 +1468,7 @@ Index: sope-mime/NGMime/NGMimeHeaderFieldGeneratorSet.m
|
||||||
|
|
||||||
Index: sope-mime/NGMime/NGMimeBodyPart.m
|
Index: sope-mime/NGMime/NGMimeBodyPart.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-mime/NGMime/NGMimeBodyPart.m (révision 1625)
|
--- sope-mime/NGMime/NGMimeBodyPart.m (révision 1626)
|
||||||
+++ sope-mime/NGMime/NGMimeBodyPart.m (copie de travail)
|
+++ sope-mime/NGMime/NGMimeBodyPart.m (copie de travail)
|
||||||
@@ -31,18 +31,6 @@
|
@@ -31,18 +31,6 @@
|
||||||
return 2;
|
return 2;
|
||||||
|
@ -1267,7 +1506,7 @@ Index: sope-mime/NGMime/NGMimeBodyPart.m
|
||||||
- (NSString *)contentId {
|
- (NSString *)contentId {
|
||||||
Index: sope-mime/NGMime/GNUmakefile.preamble
|
Index: sope-mime/NGMime/GNUmakefile.preamble
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-mime/NGMime/GNUmakefile.preamble (révision 1625)
|
--- sope-mime/NGMime/GNUmakefile.preamble (révision 1626)
|
||||||
+++ sope-mime/NGMime/GNUmakefile.preamble (copie de travail)
|
+++ sope-mime/NGMime/GNUmakefile.preamble (copie de travail)
|
||||||
@@ -5,6 +5,11 @@
|
@@ -5,6 +5,11 @@
|
||||||
-DLIBRARY_MINOR_VERSION=${MINOR_VERSION} \
|
-DLIBRARY_MINOR_VERSION=${MINOR_VERSION} \
|
||||||
|
@ -1283,7 +1522,7 @@ Index: sope-mime/NGMime/GNUmakefile.preamble
|
||||||
-I../../sope-core/NGStreams/ \
|
-I../../sope-core/NGStreams/ \
|
||||||
Index: sope-mime/NGMime/NGMimeBodyParser.m
|
Index: sope-mime/NGMime/NGMimeBodyParser.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-mime/NGMime/NGMimeBodyParser.m (révision 1625)
|
--- sope-mime/NGMime/NGMimeBodyParser.m (révision 1626)
|
||||||
+++ sope-mime/NGMime/NGMimeBodyParser.m (copie de travail)
|
+++ sope-mime/NGMime/NGMimeBodyParser.m (copie de travail)
|
||||||
@@ -67,7 +67,10 @@
|
@@ -67,7 +67,10 @@
|
||||||
if (_data == nil) return nil;
|
if (_data == nil) return nil;
|
||||||
|
@ -1299,7 +1538,7 @@ Index: sope-mime/NGMime/NGMimeBodyParser.m
|
||||||
|
|
||||||
Index: sope-mime/NGMime/NGMimePartParser.h
|
Index: sope-mime/NGMime/NGMimePartParser.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-mime/NGMime/NGMimePartParser.h (révision 1625)
|
--- sope-mime/NGMime/NGMimePartParser.h (révision 1626)
|
||||||
+++ sope-mime/NGMime/NGMimePartParser.h (copie de travail)
|
+++ sope-mime/NGMime/NGMimePartParser.h (copie de travail)
|
||||||
@@ -117,6 +117,7 @@
|
@@ -117,6 +117,7 @@
|
||||||
BOOL parserParseRawBodyDataOfPart:1;
|
BOOL parserParseRawBodyDataOfPart:1;
|
||||||
|
@ -1321,7 +1560,7 @@ Index: sope-mime/NGMime/NGMimePartParser.h
|
||||||
@interface NSObject(NGMimePartParser)
|
@interface NSObject(NGMimePartParser)
|
||||||
Index: sope-mime/NGMime/NGMimePartParser.m
|
Index: sope-mime/NGMime/NGMimePartParser.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-mime/NGMime/NGMimePartParser.m (révision 1625)
|
--- sope-mime/NGMime/NGMimePartParser.m (révision 1626)
|
||||||
+++ sope-mime/NGMime/NGMimePartParser.m (copie de travail)
|
+++ sope-mime/NGMime/NGMimePartParser.m (copie de travail)
|
||||||
@@ -227,7 +227,7 @@
|
@@ -227,7 +227,7 @@
|
||||||
}
|
}
|
||||||
|
@ -1346,7 +1585,7 @@ Index: sope-mime/NGMime/NGMimePartParser.m
|
||||||
: [NGMimeType mimeType:[ctype stringValue]];
|
: [NGMimeType mimeType:[ctype stringValue]];
|
||||||
Index: sope-mime/NGMime/NGMimeAddressHeaderFieldGenerator.m
|
Index: sope-mime/NGMime/NGMimeAddressHeaderFieldGenerator.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-mime/NGMime/NGMimeAddressHeaderFieldGenerator.m (révision 1625)
|
--- sope-mime/NGMime/NGMimeAddressHeaderFieldGenerator.m (révision 1626)
|
||||||
+++ sope-mime/NGMime/NGMimeAddressHeaderFieldGenerator.m (copie de travail)
|
+++ sope-mime/NGMime/NGMimeAddressHeaderFieldGenerator.m (copie de travail)
|
||||||
@@ -93,7 +93,7 @@
|
@@ -93,7 +93,7 @@
|
||||||
|
|
||||||
|
@ -1438,7 +1677,7 @@ Index: sope-mime/NGMime/NGMimeAddressHeaderFieldGenerator.m
|
||||||
|
|
||||||
Index: sope-mime/NGMime/NGMimeContentDispositionHeaderFieldGenerator.m
|
Index: sope-mime/NGMime/NGMimeContentDispositionHeaderFieldGenerator.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-mime/NGMime/NGMimeContentDispositionHeaderFieldGenerator.m (révision 1625)
|
--- sope-mime/NGMime/NGMimeContentDispositionHeaderFieldGenerator.m (révision 1626)
|
||||||
+++ sope-mime/NGMime/NGMimeContentDispositionHeaderFieldGenerator.m (copie de travail)
|
+++ sope-mime/NGMime/NGMimeContentDispositionHeaderFieldGenerator.m (copie de travail)
|
||||||
@@ -49,80 +49,70 @@
|
@@ -49,80 +49,70 @@
|
||||||
|
|
||||||
|
@ -1572,196 +1811,9 @@ Index: sope-mime/NGMime/NGMimeContentDispositionHeaderFieldGenerator.m
|
||||||
}
|
}
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
Index: sope-gdl1/PostgreSQL/PostgreSQL72Channel.m
|
|
||||||
===================================================================
|
|
||||||
--- sope-gdl1/PostgreSQL/PostgreSQL72Channel.m (révision 1625)
|
|
||||||
+++ sope-gdl1/PostgreSQL/PostgreSQL72Channel.m (copie de travail)
|
|
||||||
@@ -713,6 +713,39 @@
|
|
||||||
return ms;
|
|
||||||
}
|
|
||||||
|
|
||||||
+/* GCSEOAdaptorChannel protocol */
|
|
||||||
+static NSString *sqlFolderFormat = (@"CREATE TABLE %@ (\n" \
|
|
||||||
+ @" c_name VARCHAR (256) NOT NULL PRIMARY KEY,\n"
|
|
||||||
+ @" c_content VARCHAR (100000) NOT NULL,\n"
|
|
||||||
+ @" c_creationdate INT4 NOT NULL,\n"
|
|
||||||
+ @" c_lastmodified INT4 NOT NULL,\n"
|
|
||||||
+ @" c_version INT4 NOT NULL,\n"
|
|
||||||
+ @" c_deleted INT4 NULL\n"
|
|
||||||
+ @")");
|
|
||||||
+static NSString *sqlFolderACLFormat = (@"CREATE TABLE %@ (\n" \
|
|
||||||
+ @" c_uid VARCHAR (256) NOT NULL,\n"
|
|
||||||
+ @" c_object VARCHAR (256) NOT NULL,\n"
|
|
||||||
+ @" c_role VARCHAR (80) NOT NULL\n"
|
|
||||||
+ @")");
|
|
||||||
+
|
|
||||||
+- (NSException *) createGCSFolderTableWithName: (NSString *) tableName
|
|
||||||
+{
|
|
||||||
+ NSString *sql;
|
|
||||||
+
|
|
||||||
+ sql = [NSString stringWithFormat: sqlFolderFormat, tableName];
|
|
||||||
+
|
|
||||||
+ return [self evaluateExpressionX: sql];
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+- (NSException *) createGCSFolderACLTableWithName: (NSString *) tableName
|
|
||||||
+{
|
|
||||||
+ NSString *sql;
|
|
||||||
+
|
|
||||||
+ sql = [NSString stringWithFormat: sqlFolderACLFormat, tableName];
|
|
||||||
+
|
|
||||||
+ return [self evaluateExpressionX: sql];
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
@end /* PostgreSQL72Channel */
|
|
||||||
|
|
||||||
@implementation PostgreSQL72Channel(PrimaryKeyGeneration)
|
|
||||||
Index: sope-gdl1/Oracle8/OracleAdaptorChannel.m
|
|
||||||
===================================================================
|
|
||||||
--- sope-gdl1/Oracle8/OracleAdaptorChannel.m (révision 1625)
|
|
||||||
+++ sope-gdl1/Oracle8/OracleAdaptorChannel.m (copie de travail)
|
|
||||||
@@ -30,6 +30,7 @@
|
|
||||||
|
|
||||||
#import <NGExtensions/NSObject+Logs.h>
|
|
||||||
|
|
||||||
+static BOOL debugOn = NO;
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
@@ -41,10 +42,19 @@
|
|
||||||
|
|
||||||
@implementation OracleAdaptorChannel (Private)
|
|
||||||
|
|
||||||
-- (void) _cleanup
|
|
||||||
++ (void) initialize
|
|
||||||
{
|
|
||||||
+ NSUserDefaults *ud;
|
|
||||||
+
|
|
||||||
+ ud = [NSUserDefaults standardUserDefaults];
|
|
||||||
+ debugOn = [ud boolForKey: @"OracleAdaptorDebug"];
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+- (void) _cleanup
|
|
||||||
+{
|
|
||||||
column_info *info;
|
|
||||||
int c;
|
|
||||||
+ sword result;
|
|
||||||
|
|
||||||
[_resultSetProperties removeAllObjects];
|
|
||||||
|
|
||||||
@@ -58,11 +68,29 @@
|
|
||||||
// so we just free the value instead.
|
|
||||||
if (info->value)
|
|
||||||
{
|
|
||||||
- if (OCIDescriptorFree((dvoid *)info->value, (ub4)OCI_DTYPE_LOB) != OCI_SUCCESS)
|
|
||||||
+ if (info->type == SQLT_CLOB
|
|
||||||
+ || info->type == SQLT_BLOB
|
|
||||||
+ || info->type == SQLT_BFILEE
|
|
||||||
+ || info->type == SQLT_CFILEE)
|
|
||||||
+ {
|
|
||||||
+ result = OCIDescriptorFree((dvoid *)info->value, (ub4) OCI_DTYPE_LOB);
|
|
||||||
+ if (result != OCI_SUCCESS)
|
|
||||||
+ {
|
|
||||||
+ NSLog (@"value was not a LOB descriptor");
|
|
||||||
+ abort();
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
+ else
|
|
||||||
free(info->value);
|
|
||||||
info->value = NULL;
|
|
||||||
}
|
|
||||||
- free(info);
|
|
||||||
+ else
|
|
||||||
+ {
|
|
||||||
+ NSLog (@"trying to free an already freed value!");
|
|
||||||
+ abort();
|
|
||||||
+ }
|
|
||||||
+ free(info);
|
|
||||||
+
|
|
||||||
[_row_buffer removeObjectAtIndex: c];
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -231,6 +259,9 @@
|
|
||||||
|
|
||||||
[self _cleanup];
|
|
||||||
|
|
||||||
+ if (debugOn)
|
|
||||||
+ [self logWithFormat: @"expression: %@", theExpression];
|
|
||||||
+
|
|
||||||
if (!theExpression || ![theExpression length])
|
|
||||||
{
|
|
||||||
[NSException raise: @"OracleInvalidExpressionException"
|
|
||||||
@@ -302,7 +333,9 @@
|
|
||||||
// We read the maximum width of a column
|
|
||||||
info->max_width = 0;
|
|
||||||
status = OCIAttrGet((dvoid*)param, (ub4)OCI_DTYPE_PARAM, (dvoid*)&(info->max_width), (ub4 *)0, (ub4)OCI_ATTR_DATA_SIZE, (OCIError *)_oci_err);
|
|
||||||
-
|
|
||||||
+
|
|
||||||
+ if (debugOn)
|
|
||||||
+ NSLog(@"name: %s, type: %d", cname, info->type);
|
|
||||||
attribute = [EOAttribute attributeWithOracleType: info->type name: cname length: clen width: info->max_width];
|
|
||||||
[_resultSetProperties addObject: attribute];
|
|
||||||
|
|
||||||
@@ -609,7 +642,7 @@
|
|
||||||
|
|
||||||
/* GCSEOAdaptorChannel protocol */
|
|
||||||
static NSString *sqlFolderFormat = (@"CREATE TABLE %@ (\n" \
|
|
||||||
- @" c_name VARCHAR2 (256) NOT NULL,\n"
|
|
||||||
+ @" c_name VARCHAR2 (256) NOT NULL PRIMARY KEY,\n"
|
|
||||||
@" c_content CLOB NOT NULL,\n"
|
|
||||||
@" c_creationdate INTEGER NOT NULL,\n"
|
|
||||||
@" c_lastmodified INTEGER NOT NULL,\n"
|
|
||||||
Index: sope-gdl1/Oracle8/OracleAdaptorChannelController.m
|
|
||||||
===================================================================
|
|
||||||
--- sope-gdl1/Oracle8/OracleAdaptorChannelController.m (révision 1625)
|
|
||||||
+++ sope-gdl1/Oracle8/OracleAdaptorChannelController.m (copie de travail)
|
|
||||||
@@ -31,6 +31,8 @@
|
|
||||||
#import <Foundation/Foundation.h>
|
|
||||||
#import <GDLAccess/EOSQLExpression.h>
|
|
||||||
|
|
||||||
+static BOOL debugOn = NO;
|
|
||||||
+
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
@@ -48,6 +50,14 @@
|
|
||||||
//
|
|
||||||
@implementation OracleAdaptorChannelController
|
|
||||||
|
|
||||||
++ (void) initialize
|
|
||||||
+{
|
|
||||||
+ NSUserDefaults *ud;
|
|
||||||
+
|
|
||||||
+ ud = [NSUserDefaults standardUserDefaults];
|
|
||||||
+ debugOn = [ud boolForKey: @"OracleAdaptorDebug"];
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
- (EODelegateResponse) adaptorChannel: (id) theChannel
|
|
||||||
willInsertRow: (NSMutableDictionary *) theRow
|
|
||||||
forEntity: (EOEntity *) theEntity
|
|
||||||
@@ -56,7 +66,8 @@
|
|
||||||
NSArray *keys;
|
|
||||||
int i, c;
|
|
||||||
|
|
||||||
- NSLog(@"willInsertRow: %@ %@", [theRow description], [theEntity description]);
|
|
||||||
+ if (debugOn)
|
|
||||||
+ NSLog(@"willInsertRow: %@ %@", [theRow description], [theEntity description]);
|
|
||||||
|
|
||||||
s = AUTORELEASE([[NSMutableString alloc] init]);
|
|
||||||
|
|
||||||
@@ -101,7 +112,8 @@
|
|
||||||
NSArray *keys;
|
|
||||||
int i, c;
|
|
||||||
|
|
||||||
- NSLog(@"willUpdatetRow: %@ %@", [theRow description], [theQualifier description]);
|
|
||||||
+ if (debugOn)
|
|
||||||
+ NSLog(@"willUpdateRow: %@ %@", [theRow description], [theQualifier description]);
|
|
||||||
|
|
||||||
s = AUTORELEASE([[NSMutableString alloc] init]);
|
|
||||||
|
|
||||||
Index: sope-core/NGExtensions/NGExtensions/NSString+Ext.h
|
Index: sope-core/NGExtensions/NGExtensions/NSString+Ext.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-core/NGExtensions/NGExtensions/NSString+Ext.h (révision 1625)
|
--- sope-core/NGExtensions/NGExtensions/NSString+Ext.h (révision 1626)
|
||||||
+++ sope-core/NGExtensions/NGExtensions/NSString+Ext.h (copie de travail)
|
+++ sope-core/NGExtensions/NGExtensions/NSString+Ext.h (copie de travail)
|
||||||
@@ -30,6 +30,7 @@
|
@@ -30,6 +30,7 @@
|
||||||
|
|
||||||
|
@ -1799,7 +1851,7 @@ Index: sope-core/NGExtensions/NGExtensions/NSString+Ext.h
|
||||||
/* specific to libFoundation */
|
/* specific to libFoundation */
|
||||||
Index: sope-core/NGExtensions/FdExt.subproj/NSString+Ext.m
|
Index: sope-core/NGExtensions/FdExt.subproj/NSString+Ext.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-core/NGExtensions/FdExt.subproj/NSString+Ext.m (révision 1625)
|
--- sope-core/NGExtensions/FdExt.subproj/NSString+Ext.m (révision 1626)
|
||||||
+++ sope-core/NGExtensions/FdExt.subproj/NSString+Ext.m (copie de travail)
|
+++ sope-core/NGExtensions/FdExt.subproj/NSString+Ext.m (copie de travail)
|
||||||
@@ -39,18 +39,6 @@
|
@@ -39,18 +39,6 @@
|
||||||
: (NSString *)[[self copy] autorelease];
|
: (NSString *)[[self copy] autorelease];
|
||||||
|
@ -1888,7 +1940,7 @@ Index: sope-core/NGExtensions/FdExt.subproj/NSString+Ext.m
|
||||||
- (BOOL)isAbsoluteURL
|
- (BOOL)isAbsoluteURL
|
||||||
Index: sope-core/NGExtensions/FdExt.subproj/NSString+Encoding.m
|
Index: sope-core/NGExtensions/FdExt.subproj/NSString+Encoding.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-core/NGExtensions/FdExt.subproj/NSString+Encoding.m (révision 1625)
|
--- sope-core/NGExtensions/FdExt.subproj/NSString+Encoding.m (révision 1626)
|
||||||
+++ sope-core/NGExtensions/FdExt.subproj/NSString+Encoding.m (copie de travail)
|
+++ sope-core/NGExtensions/FdExt.subproj/NSString+Encoding.m (copie de travail)
|
||||||
@@ -140,8 +140,12 @@
|
@@ -140,8 +140,12 @@
|
||||||
|
|
||||||
|
@ -1931,7 +1983,7 @@ Index: sope-core/NGExtensions/FdExt.subproj/NSString+Encoding.m
|
||||||
static char *iconv_wrapper(id self, char *_src, unsigned _srcLen,
|
static char *iconv_wrapper(id self, char *_src, unsigned _srcLen,
|
||||||
Index: sope-core/NGExtensions/NGQuotedPrintableCoding.m
|
Index: sope-core/NGExtensions/NGQuotedPrintableCoding.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-core/NGExtensions/NGQuotedPrintableCoding.m (révision 1625)
|
--- sope-core/NGExtensions/NGQuotedPrintableCoding.m (révision 1626)
|
||||||
+++ sope-core/NGExtensions/NGQuotedPrintableCoding.m (copie de travail)
|
+++ sope-core/NGExtensions/NGQuotedPrintableCoding.m (copie de travail)
|
||||||
@@ -278,7 +278,12 @@
|
@@ -278,7 +278,12 @@
|
||||||
|
|
||||||
|
@ -1949,7 +2001,7 @@ Index: sope-core/NGExtensions/NGQuotedPrintableCoding.m
|
||||||
((c > 31) && (c < 61)) ||
|
((c > 31) && (c < 61)) ||
|
||||||
Index: sope-core/NGExtensions/EOExt.subproj/EOGlobalID+Ext.m
|
Index: sope-core/NGExtensions/EOExt.subproj/EOGlobalID+Ext.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-core/NGExtensions/EOExt.subproj/EOGlobalID+Ext.m (révision 1625)
|
--- sope-core/NGExtensions/EOExt.subproj/EOGlobalID+Ext.m (révision 1626)
|
||||||
+++ sope-core/NGExtensions/EOExt.subproj/EOGlobalID+Ext.m (copie de travail)
|
+++ sope-core/NGExtensions/EOExt.subproj/EOGlobalID+Ext.m (copie de travail)
|
||||||
@@ -19,6 +19,7 @@
|
@@ -19,6 +19,7 @@
|
||||||
02111-1307, USA.
|
02111-1307, USA.
|
||||||
|
@ -1961,7 +2013,7 @@ Index: sope-core/NGExtensions/EOExt.subproj/EOGlobalID+Ext.m
|
||||||
|
|
||||||
Index: sope-core/NGStreams/GNUmakefile.preamble
|
Index: sope-core/NGStreams/GNUmakefile.preamble
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-core/NGStreams/GNUmakefile.preamble (révision 1625)
|
--- sope-core/NGStreams/GNUmakefile.preamble (révision 1626)
|
||||||
+++ sope-core/NGStreams/GNUmakefile.preamble (copie de travail)
|
+++ sope-core/NGStreams/GNUmakefile.preamble (copie de travail)
|
||||||
@@ -1,7 +1,10 @@
|
@@ -1,7 +1,10 @@
|
||||||
# compilation settings
|
# compilation settings
|
||||||
|
@ -1976,7 +2028,7 @@ Index: sope-core/NGStreams/GNUmakefile.preamble
|
||||||
-I..
|
-I..
|
||||||
Index: sope-xml/libxmlSAXDriver/libxmlHTMLSAXDriver.h
|
Index: sope-xml/libxmlSAXDriver/libxmlHTMLSAXDriver.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-xml/libxmlSAXDriver/libxmlHTMLSAXDriver.h (révision 1625)
|
--- sope-xml/libxmlSAXDriver/libxmlHTMLSAXDriver.h (révision 1626)
|
||||||
+++ sope-xml/libxmlSAXDriver/libxmlHTMLSAXDriver.h (copie de travail)
|
+++ sope-xml/libxmlSAXDriver/libxmlHTMLSAXDriver.h (copie de travail)
|
||||||
@@ -19,6 +19,8 @@
|
@@ -19,6 +19,8 @@
|
||||||
02111-1307, USA.
|
02111-1307, USA.
|
||||||
|
@ -1998,7 +2050,7 @@ Index: sope-xml/libxmlSAXDriver/libxmlHTMLSAXDriver.h
|
||||||
id<NSObject,SaxEntityResolver> entityResolver;
|
id<NSObject,SaxEntityResolver> entityResolver;
|
||||||
Index: sope-xml/libxmlSAXDriver/libxmlHTMLSAXDriver.m
|
Index: sope-xml/libxmlSAXDriver/libxmlHTMLSAXDriver.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-xml/libxmlSAXDriver/libxmlHTMLSAXDriver.m (révision 1625)
|
--- sope-xml/libxmlSAXDriver/libxmlHTMLSAXDriver.m (révision 1626)
|
||||||
+++ sope-xml/libxmlSAXDriver/libxmlHTMLSAXDriver.m (copie de travail)
|
+++ sope-xml/libxmlSAXDriver/libxmlHTMLSAXDriver.m (copie de travail)
|
||||||
@@ -30,6 +30,12 @@
|
@@ -30,6 +30,12 @@
|
||||||
#include <libxml/HTMLparser.h>
|
#include <libxml/HTMLparser.h>
|
||||||
|
@ -2058,7 +2110,7 @@ Index: sope-xml/libxmlSAXDriver/libxmlHTMLSAXDriver.m
|
||||||
- (void)tearDownParser {
|
- (void)tearDownParser {
|
||||||
Index: sope-xml/libxmlSAXDriver/libxmlSAXDriver.m
|
Index: sope-xml/libxmlSAXDriver/libxmlSAXDriver.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-xml/libxmlSAXDriver/libxmlSAXDriver.m (révision 1625)
|
--- sope-xml/libxmlSAXDriver/libxmlSAXDriver.m (révision 1626)
|
||||||
+++ sope-xml/libxmlSAXDriver/libxmlSAXDriver.m (copie de travail)
|
+++ sope-xml/libxmlSAXDriver/libxmlSAXDriver.m (copie de travail)
|
||||||
@@ -614,7 +614,7 @@
|
@@ -614,7 +614,7 @@
|
||||||
xmlParseDocument(ctxt);
|
xmlParseDocument(ctxt);
|
||||||
|
@ -2080,7 +2132,7 @@ Index: sope-xml/libxmlSAXDriver/libxmlSAXDriver.m
|
||||||
xmlFreeParserCtxt(self->ctxt);
|
xmlFreeParserCtxt(self->ctxt);
|
||||||
Index: sope-appserver/mod_ngobjweb/config.c
|
Index: sope-appserver/mod_ngobjweb/config.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-appserver/mod_ngobjweb/config.c (révision 1625)
|
--- sope-appserver/mod_ngobjweb/config.c (révision 1626)
|
||||||
+++ sope-appserver/mod_ngobjweb/config.c (copie de travail)
|
+++ sope-appserver/mod_ngobjweb/config.c (copie de travail)
|
||||||
@@ -21,7 +21,7 @@
|
@@ -21,7 +21,7 @@
|
||||||
|
|
||||||
|
@ -2091,21 +2143,9 @@ Index: sope-appserver/mod_ngobjweb/config.c
|
||||||
|
|
||||||
static char *_makeString(char *buf, char *str, int max) {
|
static char *_makeString(char *buf, char *str, int max) {
|
||||||
if (buf == NULL)
|
if (buf == NULL)
|
||||||
Index: sope-appserver/mod_ngobjweb/NGBufferedDescriptor.c
|
|
||||||
===================================================================
|
|
||||||
--- sope-appserver/mod_ngobjweb/NGBufferedDescriptor.c (révision 1625)
|
|
||||||
+++ sope-appserver/mod_ngobjweb/NGBufferedDescriptor.c (copie de travail)
|
|
||||||
@@ -23,6 +23,7 @@
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
+#include "common.h"
|
|
||||||
#include "NGBufferedDescriptor.h"
|
|
||||||
|
|
||||||
// returns the number of bytes which where read from the buffer
|
|
||||||
Index: sope-appserver/mod_ngobjweb/GNUmakefile
|
Index: sope-appserver/mod_ngobjweb/GNUmakefile
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-appserver/mod_ngobjweb/GNUmakefile (révision 1625)
|
--- sope-appserver/mod_ngobjweb/GNUmakefile (révision 1626)
|
||||||
+++ sope-appserver/mod_ngobjweb/GNUmakefile (copie de travail)
|
+++ sope-appserver/mod_ngobjweb/GNUmakefile (copie de travail)
|
||||||
@@ -82,7 +82,7 @@
|
@@ -82,7 +82,7 @@
|
||||||
|
|
||||||
|
@ -2126,9 +2166,21 @@ Index: sope-appserver/mod_ngobjweb/GNUmakefile
|
||||||
|
|
||||||
install-usr-libexec :: all
|
install-usr-libexec :: all
|
||||||
$(INSTALL_PROGRAM) $(product) /usr/libexec/httpd/
|
$(INSTALL_PROGRAM) $(product) /usr/libexec/httpd/
|
||||||
|
Index: sope-appserver/mod_ngobjweb/NGBufferedDescriptor.c
|
||||||
|
===================================================================
|
||||||
|
--- sope-appserver/mod_ngobjweb/NGBufferedDescriptor.c (révision 1626)
|
||||||
|
+++ sope-appserver/mod_ngobjweb/NGBufferedDescriptor.c (copie de travail)
|
||||||
|
@@ -23,6 +23,7 @@
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
+#include "common.h"
|
||||||
|
#include "NGBufferedDescriptor.h"
|
||||||
|
|
||||||
|
// returns the number of bytes which where read from the buffer
|
||||||
Index: sope-appserver/NGObjWeb/GNUmakefile.postamble
|
Index: sope-appserver/NGObjWeb/GNUmakefile.postamble
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-appserver/NGObjWeb/GNUmakefile.postamble (révision 1625)
|
--- sope-appserver/NGObjWeb/GNUmakefile.postamble (révision 1626)
|
||||||
+++ sope-appserver/NGObjWeb/GNUmakefile.postamble (copie de travail)
|
+++ sope-appserver/NGObjWeb/GNUmakefile.postamble (copie de travail)
|
||||||
@@ -23,14 +23,20 @@
|
@@ -23,14 +23,20 @@
|
||||||
|
|
||||||
|
@ -2160,7 +2212,7 @@ Index: sope-appserver/NGObjWeb/GNUmakefile.postamble
|
||||||
+ $(DESTDIR)/$(GNUSTEP_MAKEFILES)/wobundle.make
|
+ $(DESTDIR)/$(GNUSTEP_MAKEFILES)/wobundle.make
|
||||||
Index: sope-appserver/NGObjWeb/WOContext.m
|
Index: sope-appserver/NGObjWeb/WOContext.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-appserver/NGObjWeb/WOContext.m (révision 1625)
|
--- sope-appserver/NGObjWeb/WOContext.m (révision 1626)
|
||||||
+++ sope-appserver/NGObjWeb/WOContext.m (copie de travail)
|
+++ sope-appserver/NGObjWeb/WOContext.m (copie de travail)
|
||||||
@@ -64,11 +64,13 @@
|
@@ -64,11 +64,13 @@
|
||||||
static BOOL testNSURLs = NO;
|
static BOOL testNSURLs = NO;
|
||||||
|
@ -2200,7 +2252,7 @@ Index: sope-appserver/NGObjWeb/WOContext.m
|
||||||
serverURL = [@"http://" stringByAppendingString:host];
|
serverURL = [@"http://" stringByAppendingString:host];
|
||||||
Index: sope-appserver/NGObjWeb/DAVPropMap.plist
|
Index: sope-appserver/NGObjWeb/DAVPropMap.plist
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-appserver/NGObjWeb/DAVPropMap.plist (révision 1625)
|
--- sope-appserver/NGObjWeb/DAVPropMap.plist (révision 1626)
|
||||||
+++ sope-appserver/NGObjWeb/DAVPropMap.plist (copie de travail)
|
+++ sope-appserver/NGObjWeb/DAVPropMap.plist (copie de travail)
|
||||||
@@ -24,13 +24,19 @@
|
@@ -24,13 +24,19 @@
|
||||||
"{DAV:}status" = "davStatus";
|
"{DAV:}status" = "davStatus";
|
||||||
|
@ -2278,7 +2330,7 @@ Index: sope-appserver/NGObjWeb/DAVPropMap.plist
|
||||||
"{http://groupdav.org/}component-set" = gdavComponentSet;
|
"{http://groupdav.org/}component-set" = gdavComponentSet;
|
||||||
Index: sope-appserver/NGObjWeb/WebDAV/SaxDAVHandler.m
|
Index: sope-appserver/NGObjWeb/WebDAV/SaxDAVHandler.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-appserver/NGObjWeb/WebDAV/SaxDAVHandler.m (révision 1625)
|
--- sope-appserver/NGObjWeb/WebDAV/SaxDAVHandler.m (révision 1626)
|
||||||
+++ sope-appserver/NGObjWeb/WebDAV/SaxDAVHandler.m (copie de travail)
|
+++ sope-appserver/NGObjWeb/WebDAV/SaxDAVHandler.m (copie de travail)
|
||||||
@@ -655,6 +655,7 @@
|
@@ -655,6 +655,7 @@
|
||||||
if (self->responses == nil)
|
if (self->responses == nil)
|
||||||
|
@ -2290,7 +2342,7 @@ Index: sope-appserver/NGObjWeb/WebDAV/SaxDAVHandler.m
|
||||||
case 'n':
|
case 'n':
|
||||||
Index: sope-appserver/NGObjWeb/WebDAV/SoObjectWebDAVDispatcher.m
|
Index: sope-appserver/NGObjWeb/WebDAV/SoObjectWebDAVDispatcher.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-appserver/NGObjWeb/WebDAV/SoObjectWebDAVDispatcher.m (révision 1625)
|
--- sope-appserver/NGObjWeb/WebDAV/SoObjectWebDAVDispatcher.m (révision 1626)
|
||||||
+++ sope-appserver/NGObjWeb/WebDAV/SoObjectWebDAVDispatcher.m (copie de travail)
|
+++ sope-appserver/NGObjWeb/WebDAV/SoObjectWebDAVDispatcher.m (copie de travail)
|
||||||
@@ -1523,16 +1523,16 @@
|
@@ -1523,16 +1523,16 @@
|
||||||
- (id)doREPORT:(WOContext *)_ctx {
|
- (id)doREPORT:(WOContext *)_ctx {
|
||||||
|
@ -2378,7 +2430,7 @@ Index: sope-appserver/NGObjWeb/WebDAV/SoObjectWebDAVDispatcher.m
|
||||||
/* DAV access control lists */
|
/* DAV access control lists */
|
||||||
Index: sope-appserver/NGObjWeb/WebDAV/SoWebDAVRenderer.m
|
Index: sope-appserver/NGObjWeb/WebDAV/SoWebDAVRenderer.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-appserver/NGObjWeb/WebDAV/SoWebDAVRenderer.m (révision 1625)
|
--- sope-appserver/NGObjWeb/WebDAV/SoWebDAVRenderer.m (révision 1626)
|
||||||
+++ sope-appserver/NGObjWeb/WebDAV/SoWebDAVRenderer.m (copie de travail)
|
+++ sope-appserver/NGObjWeb/WebDAV/SoWebDAVRenderer.m (copie de travail)
|
||||||
@@ -277,7 +277,8 @@
|
@@ -277,7 +277,8 @@
|
||||||
ok = [self renderLockToken:_object inContext:_ctx];
|
ok = [self renderLockToken:_object inContext:_ctx];
|
||||||
|
@ -2392,7 +2444,7 @@ Index: sope-appserver/NGObjWeb/WebDAV/SoWebDAVRenderer.m
|
||||||
ok = [self renderStatusResult:_object
|
ok = [self renderStatusResult:_object
|
||||||
Index: sope-appserver/NGObjWeb/WebDAV/SoObject+SoDAV.h
|
Index: sope-appserver/NGObjWeb/WebDAV/SoObject+SoDAV.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-appserver/NGObjWeb/WebDAV/SoObject+SoDAV.h (révision 1625)
|
--- sope-appserver/NGObjWeb/WebDAV/SoObject+SoDAV.h (révision 1626)
|
||||||
+++ sope-appserver/NGObjWeb/WebDAV/SoObject+SoDAV.h (copie de travail)
|
+++ sope-appserver/NGObjWeb/WebDAV/SoObject+SoDAV.h (copie de travail)
|
||||||
@@ -62,6 +62,7 @@
|
@@ -62,6 +62,7 @@
|
||||||
properties:(NSDictionary *)_props
|
properties:(NSDictionary *)_props
|
||||||
|
@ -2404,7 +2456,7 @@ Index: sope-appserver/NGObjWeb/WebDAV/SoObject+SoDAV.h
|
||||||
inContext:(id)_ctx;
|
inContext:(id)_ctx;
|
||||||
Index: sope-appserver/NGObjWeb/DynamicElements/WOHyperlinkInfo.m
|
Index: sope-appserver/NGObjWeb/DynamicElements/WOHyperlinkInfo.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-appserver/NGObjWeb/DynamicElements/WOHyperlinkInfo.m (révision 1625)
|
--- sope-appserver/NGObjWeb/DynamicElements/WOHyperlinkInfo.m (révision 1626)
|
||||||
+++ sope-appserver/NGObjWeb/DynamicElements/WOHyperlinkInfo.m (copie de travail)
|
+++ sope-appserver/NGObjWeb/DynamicElements/WOHyperlinkInfo.m (copie de travail)
|
||||||
@@ -216,6 +216,12 @@
|
@@ -216,6 +216,12 @@
|
||||||
assocCount++;
|
assocCount++;
|
||||||
|
@ -2421,7 +2473,7 @@ Index: sope-appserver/NGObjWeb/DynamicElements/WOHyperlinkInfo.m
|
||||||
|
|
||||||
Index: sope-appserver/NGObjWeb/DynamicElements/_WOComplexHyperlink.m
|
Index: sope-appserver/NGObjWeb/DynamicElements/_WOComplexHyperlink.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-appserver/NGObjWeb/DynamicElements/_WOComplexHyperlink.m (révision 1625)
|
--- sope-appserver/NGObjWeb/DynamicElements/_WOComplexHyperlink.m (révision 1626)
|
||||||
+++ sope-appserver/NGObjWeb/DynamicElements/_WOComplexHyperlink.m (copie de travail)
|
+++ sope-appserver/NGObjWeb/DynamicElements/_WOComplexHyperlink.m (copie de travail)
|
||||||
@@ -41,6 +41,7 @@
|
@@ -41,6 +41,7 @@
|
||||||
WOAssociation *string;
|
WOAssociation *string;
|
||||||
|
@ -2454,7 +2506,7 @@ Index: sope-appserver/NGObjWeb/DynamicElements/_WOComplexHyperlink.m
|
||||||
return NO;
|
return NO;
|
||||||
Index: sope-appserver/NGObjWeb/DynamicElements/WOHyperlinkInfo.h
|
Index: sope-appserver/NGObjWeb/DynamicElements/WOHyperlinkInfo.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-appserver/NGObjWeb/DynamicElements/WOHyperlinkInfo.h (révision 1625)
|
--- sope-appserver/NGObjWeb/DynamicElements/WOHyperlinkInfo.h (révision 1626)
|
||||||
+++ sope-appserver/NGObjWeb/DynamicElements/WOHyperlinkInfo.h (copie de travail)
|
+++ sope-appserver/NGObjWeb/DynamicElements/WOHyperlinkInfo.h (copie de travail)
|
||||||
@@ -41,7 +41,8 @@
|
@@ -41,7 +41,8 @@
|
||||||
WOAssociation *pageName;
|
WOAssociation *pageName;
|
||||||
|
@ -2468,7 +2520,7 @@ Index: sope-appserver/NGObjWeb/DynamicElements/WOHyperlinkInfo.h
|
||||||
/* 'ivar' associations */
|
/* 'ivar' associations */
|
||||||
Index: sope-appserver/NGObjWeb/SoObjects/SoObject.m
|
Index: sope-appserver/NGObjWeb/SoObjects/SoObject.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-appserver/NGObjWeb/SoObjects/SoObject.m (révision 1625)
|
--- sope-appserver/NGObjWeb/SoObjects/SoObject.m (révision 1626)
|
||||||
+++ sope-appserver/NGObjWeb/SoObjects/SoObject.m (copie de travail)
|
+++ sope-appserver/NGObjWeb/SoObjects/SoObject.m (copie de travail)
|
||||||
@@ -39,22 +39,34 @@
|
@@ -39,22 +39,34 @@
|
||||||
static int debugLookup = -1;
|
static int debugLookup = -1;
|
||||||
|
@ -2619,7 +2671,7 @@ Index: sope-appserver/NGObjWeb/SoObjects/SoObject.m
|
||||||
|
|
||||||
Index: sope-appserver/NGObjWeb/SoObjects/SoObject+Traversal.m
|
Index: sope-appserver/NGObjWeb/SoObjects/SoObject+Traversal.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-appserver/NGObjWeb/SoObjects/SoObject+Traversal.m (révision 1625)
|
--- sope-appserver/NGObjWeb/SoObjects/SoObject+Traversal.m (révision 1626)
|
||||||
+++ sope-appserver/NGObjWeb/SoObjects/SoObject+Traversal.m (copie de travail)
|
+++ sope-appserver/NGObjWeb/SoObjects/SoObject+Traversal.m (copie de travail)
|
||||||
@@ -195,7 +195,8 @@
|
@@ -195,7 +195,8 @@
|
||||||
isCreateIfMissingMethod = YES;
|
isCreateIfMissingMethod = YES;
|
||||||
|
@ -2633,7 +2685,7 @@ Index: sope-appserver/NGObjWeb/SoObjects/SoObject+Traversal.m
|
||||||
// TODO: the following are only create-if-missing on the target!
|
// TODO: the following are only create-if-missing on the target!
|
||||||
Index: sope-appserver/NGObjWeb/WOHttpAdaptor/WOHttpTransaction.m
|
Index: sope-appserver/NGObjWeb/WOHttpAdaptor/WOHttpTransaction.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-appserver/NGObjWeb/WOHttpAdaptor/WOHttpTransaction.m (révision 1625)
|
--- sope-appserver/NGObjWeb/WOHttpAdaptor/WOHttpTransaction.m (révision 1626)
|
||||||
+++ sope-appserver/NGObjWeb/WOHttpAdaptor/WOHttpTransaction.m (copie de travail)
|
+++ sope-appserver/NGObjWeb/WOHttpAdaptor/WOHttpTransaction.m (copie de travail)
|
||||||
@@ -32,6 +32,7 @@
|
@@ -32,6 +32,7 @@
|
||||||
#include <NGObjWeb/WOCookie.h>
|
#include <NGObjWeb/WOCookie.h>
|
||||||
|
@ -2658,7 +2710,7 @@ Index: sope-appserver/NGObjWeb/WOHttpAdaptor/WOHttpTransaction.m
|
||||||
@implementation WOCoreApplication(SimpleParserSelection)
|
@implementation WOCoreApplication(SimpleParserSelection)
|
||||||
Index: sope-appserver/NGObjWeb/Defaults.plist
|
Index: sope-appserver/NGObjWeb/Defaults.plist
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-appserver/NGObjWeb/Defaults.plist (révision 1625)
|
--- sope-appserver/NGObjWeb/Defaults.plist (révision 1626)
|
||||||
+++ sope-appserver/NGObjWeb/Defaults.plist (copie de travail)
|
+++ sope-appserver/NGObjWeb/Defaults.plist (copie de travail)
|
||||||
@@ -216,7 +216,7 @@
|
@@ -216,7 +216,7 @@
|
||||||
SoWebDAVDisableCrossHostMoveCheck = NO;
|
SoWebDAVDisableCrossHostMoveCheck = NO;
|
||||||
|
@ -2679,7 +2731,7 @@ Index: sope-appserver/NGObjWeb/Defaults.plist
|
||||||
DELETE,
|
DELETE,
|
||||||
Index: sope-appserver/NGObjWeb/NGHttp/NGHttpRequest.h
|
Index: sope-appserver/NGObjWeb/NGHttp/NGHttpRequest.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-appserver/NGObjWeb/NGHttp/NGHttpRequest.h (révision 1625)
|
--- sope-appserver/NGObjWeb/NGHttp/NGHttpRequest.h (révision 1626)
|
||||||
+++ sope-appserver/NGObjWeb/NGHttp/NGHttpRequest.h (copie de travail)
|
+++ sope-appserver/NGObjWeb/NGHttp/NGHttpRequest.h (copie de travail)
|
||||||
@@ -62,6 +62,10 @@
|
@@ -62,6 +62,10 @@
|
||||||
/* RFC 3253 (DeltaV) */
|
/* RFC 3253 (DeltaV) */
|
||||||
|
@ -2694,7 +2746,7 @@ Index: sope-appserver/NGObjWeb/NGHttp/NGHttpRequest.h
|
||||||
|
|
||||||
Index: sope-appserver/NGObjWeb/NGHttp/NGHttpRequest.m
|
Index: sope-appserver/NGObjWeb/NGHttp/NGHttpRequest.m
|
||||||
===================================================================
|
===================================================================
|
||||||
--- sope-appserver/NGObjWeb/NGHttp/NGHttpRequest.m (révision 1625)
|
--- sope-appserver/NGObjWeb/NGHttp/NGHttpRequest.m (révision 1626)
|
||||||
+++ sope-appserver/NGObjWeb/NGHttp/NGHttpRequest.m (copie de travail)
|
+++ sope-appserver/NGObjWeb/NGHttp/NGHttpRequest.m (copie de travail)
|
||||||
@@ -59,6 +59,10 @@
|
@@ -59,6 +59,10 @@
|
||||||
/* RFC 3253 (DeltaV) */
|
/* RFC 3253 (DeltaV) */
|
||||||
|
|
Loading…
Reference in New Issue