summaryrefslogtreecommitdiffstats
path: root/svnkit-jna-3.5.0.patch
blob: 97627a6b8c108daf5d42cd972ef1516f78927262 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
From: Brendan Jones <brendan.jones.it@gmail.com>
diff -Nurp svnkit-1.7.5-v1/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/ISVNGLibrary.java svnkit-1.7.5-v1.p/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/ISVNGLibrary.java
--- svnkit-1.7.5-v1/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/ISVNGLibrary.java	2011-05-06 17:04:28.000000000 +0200
+++ svnkit-1.7.5-v1.p/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/ISVNGLibrary.java	2012-11-28 08:35:44.940329872 +0100
@@ -14,6 +14,7 @@ package org.tmatesoft.svn.core.internal.
 import com.sun.jna.Library;
 import com.sun.jna.Pointer;
 import com.sun.jna.Structure;
+import java.util.*;
 
 /**
  * @author TMate Software Ltd.
@@ -40,5 +41,8 @@ public interface ISVNGLibrary extends Li
         public Pointer data;
         public Pointer next;
         public Pointer previous;
+        protected List getFieldOrder() {
+           return Arrays.asList(new String[] { "data","next","pointer"});
+        }
     }
 }
diff -Nurp svnkit-1.7.5-v1/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/ISVNGnomeKeyringLibrary.java svnkit-1.7.5-v1.p/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/ISVNGnomeKeyringLibrary.java
--- svnkit-1.7.5-v1/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/ISVNGnomeKeyringLibrary.java	2011-05-06 17:04:28.000000000 +0200
+++ svnkit-1.7.5-v1.p/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/ISVNGnomeKeyringLibrary.java	2012-11-28 08:36:07.833349930 +0100
@@ -17,6 +17,7 @@ import com.sun.jna.Pointer;
 import com.sun.jna.Structure;
 import com.sun.jna.ptr.IntByReference;
 import com.sun.jna.ptr.PointerByReference;
+import java.util.*;
 
 /**
  * @author TMate Software Ltd.
@@ -128,5 +129,8 @@ public interface ISVNGnomeKeyringLibrary
         public Pointer user;
         public Pointer domain;
         public Pointer password;
+        protected List getFieldOrder() {
+           return Arrays.asList(new String[] { "keyring","itemId","protocol","server","object","authType","port","user","domain","password"});
+        }
     }
 }
diff -Nurp svnkit-1.7.5-v1/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/ISVNKernel32Library.java svnkit-1.7.5-v1.p/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/ISVNKernel32Library.java
--- svnkit-1.7.5-v1/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/ISVNKernel32Library.java	2012-05-09 21:47:24.000000000 +0200
+++ svnkit-1.7.5-v1.p/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/ISVNKernel32Library.java	2012-11-28 08:36:14.336355537 +0100
@@ -16,6 +16,7 @@ import com.sun.jna.Pointer;
 import com.sun.jna.Structure;
 import com.sun.jna.WString;
 import com.sun.jna.win32.StdCallLibrary;
+import java.util.*;
 
 
 /**
@@ -43,6 +44,10 @@ interface ISVNKernel32Library extends St
             }
             dwOSVersionInfoSize = new NativeLong(this.size());
         }
+        protected List getFieldOrder() {
+           return Arrays.asList(new String[] { "dwOSVersionInfoSize","dwMajorVersion","dwMinorVersion","dwBuildNumber","dwPlatformId","szCSDVersion"});
+        }
+
     }
 
     public long FILE_ATTRIBUTE_READONLY = 0x01;
diff -Nurp svnkit-1.7.5-v1/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/ISVNSecurityLibrary.java svnkit-1.7.5-v1.p/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/ISVNSecurityLibrary.java
--- svnkit-1.7.5-v1/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/ISVNSecurityLibrary.java	2012-05-09 21:47:24.000000000 +0200
+++ svnkit-1.7.5-v1.p/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/ISVNSecurityLibrary.java	2012-11-28 08:19:46.246388642 +0100
@@ -16,6 +16,8 @@ import com.sun.jna.Pointer;
 import com.sun.jna.Structure;
 import com.sun.jna.WString;
 import com.sun.jna.win32.StdCallLibrary;
+import java.util.*;
+
 
 
 /**
@@ -35,23 +37,35 @@ public interface ISVNSecurityLibrary ext
     public static class SecHandle extends Structure {
         public NativeLong dwLower;
         public NativeLong dwUpper;
+        protected List getFieldOrder() {
+           return Arrays.asList(new String[] { "dwLower","dwUpper"});
+        }
     }
     
     public static class TimeStamp extends Structure {
         public NativeLong LowPart;
         public NativeLong HighPart;
+        protected List getFieldOrder() {
+           return Arrays.asList(new String[] { "LowPart","HighPart"});
+        }
     }
     
     public static class SecBufferDesc extends Structure {
         public NativeLong ulVersion;
         public NativeLong cBuffers;
         public Pointer pBuffers;
+        protected List getFieldOrder() {
+           return Arrays.asList(new String[] { "ulVersion","cBuffers"});
+        }
     }
     
     public static class SecBuffer extends Structure {
         public NativeLong cbBuffer;
         public NativeLong BufferType;
         public Pointer pvBuffer;
+        protected List getFieldOrder() {
+           return Arrays.asList(new String[] { "cbBuffer","BufferType","pvBuffer"});
+        }
     }
     
     public static class SEC_WINNT_AUTH_IDENTITY extends Structure {
@@ -62,6 +76,9 @@ public interface ISVNSecurityLibrary ext
         public WString Password;
         public NativeLong PasswordLength;
         public NativeLong Flags;
+        protected List getFieldOrder() {
+           return Arrays.asList(new String[] { "User","UserLength","Domain","DomainLength","Password","PasswordLength","Flags"});
+        }
     }
     
     public int FreeCredentialsHandle(Pointer phCredential);
diff -Nurp svnkit-1.7.5-v1/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/ISVNWinCryptLibrary.java svnkit-1.7.5-v1.p/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/ISVNWinCryptLibrary.java
--- svnkit-1.7.5-v1/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/ISVNWinCryptLibrary.java	2012-05-09 21:47:24.000000000 +0200
+++ svnkit-1.7.5-v1.p/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/ISVNWinCryptLibrary.java	2012-11-28 08:39:09.994510371 +0100
@@ -17,6 +17,7 @@ import com.sun.jna.Pointer;
 import com.sun.jna.Structure;
 import com.sun.jna.WString;
 import com.sun.jna.win32.StdCallLibrary;
+import java.util.*;
 
 
 /**
@@ -40,6 +41,9 @@ interface ISVNWinCryptLibrary extends St
         
         public NativeLong cbSize;
         public Pointer cbData;
+        protected List getFieldOrder() {
+           return Arrays.asList(new String[] { "NativeLong","cbData"});
+        }
     }
     
     public boolean CryptProtectData(Pointer dataIn, 
diff -Nurp svnkit-1.7.5-v1/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/SVNGnomeKeyring.java svnkit-1.7.5-v1.p/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/SVNGnomeKeyring.java
--- svnkit-1.7.5-v1/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/SVNGnomeKeyring.java	2011-09-16 18:05:26.000000000 +0200
+++ svnkit-1.7.5-v1.p/svnkit/src/main/java/org/tmatesoft/svn/core/internal/util/jna/SVNGnomeKeyring.java	2012-11-28 08:40:25.370582047 +0100
@@ -24,6 +24,7 @@ import com.sun.jna.Pointer;
 import com.sun.jna.Structure;
 import com.sun.jna.ptr.IntByReference;
 import com.sun.jna.ptr.PointerByReference;
+import java.util.*;
 
 /**
  * @author TMate Software Ltd.
@@ -331,5 +332,8 @@ public class SVNGnomeKeyring {
         public String keyringName;
         public Pointer keyringInfo;
         public Pointer loop;
+        protected List getFieldOrder() {
+           return Arrays.asList(new String[] { "keyringName","keyringInfo","loop"});
+        }
     }
 }