File: sdk.diff

package info (click to toggle)
nsis 3.11-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,496 kB
  • sloc: cpp: 39,326; ansic: 27,284; python: 1,386; asm: 712; xml: 409; pascal: 231; makefile: 225; javascript: 67
file content (167 lines) | stat: -rwxr-xr-x 4,601 bytes parent folder | download | duplicates (9)
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
163
164
165
166
167
Only in 7zip: 7zGuids.cpp
Only in 7zip-orig/7zip: Archive
Only in 7zip/7zip: CVS
Only in 7zip/7zip/Common: CVS
Only in 7zip-orig/7zip/Common: FileStreams.cpp
Only in 7zip-orig/7zip/Common: FileStreams.h
diff -ru 7zip-orig/7zip/Common/StdAfx.h 7zip/7zip/Common/StdAfx.h
--- 7zip-orig/7zip/Common/StdAfx.h	Mon Jul 11 15:14:54 2005
+++ 7zip/7zip/Common/StdAfx.h	Mon Oct 16 10:39:10 2006
@@ -4,6 +4,5 @@
 #define __STDAFX_H
 
 #include "../../Common/MyWindows.h"
-#include "../../Common/NewHandler.h"
 
 #endif 
Only in 7zip-orig/7zip/Compress: Branch
Only in 7zip/7zip/Compress: CVS
Only in 7zip/7zip/Compress/LZ/BinTree: BinTree3ZMain.h
Only in 7zip/7zip/Compress/LZ/BinTree: BinTree4b.h
Only in 7zip/7zip/Compress/LZ/BinTree: BinTreeMF.h
Only in 7zip/7zip/Compress/LZ/BinTree: BinTreeMFMain.h
Only in 7zip/7zip/Compress/LZ/BinTree: CVS
Only in 7zip/7zip/Compress/LZ: CVS
Only in 7zip-orig/7zip/Compress/LZ: HashChain
Only in 7zip/7zip/Compress/LZMA: CVS
Only in 7zip-orig/7zip/Compress/LZMA: LZMADecoder.cpp
Only in 7zip-orig/7zip/Compress/LZMA: LZMADecoder.h
diff -ru 7zip-orig/7zip/Compress/LZMA/LZMAEncoder.cpp 7zip/7zip/Compress/LZMA/LZMAEncoder.cpp
--- 7zip-orig/7zip/Compress/LZMA/LZMAEncoder.cpp	Sat May 20 08:23:48 2006
+++ 7zip/7zip/Compress/LZMA/LZMAEncoder.cpp	Mon Oct 16 10:26:43 2006
@@ -55,13 +55,13 @@
   kHC4
 };
 
-static const wchar_t *kMatchFinderIDs[] = 
+/*static const wchar_t *kMatchFinderIDs[] = 
 {
   L"BT2",
   L"BT3",
   L"BT4",
   L"HC4"
-};
+};*/
 
 Byte g_FastPos[1 << 11];
 
@@ -318,7 +318,7 @@
   return S_OK;
 }
 
-static bool AreStringsEqual(const wchar_t *base, const wchar_t *testString)
+/*static bool AreStringsEqual(const wchar_t *base, const wchar_t *testString)
 {
   while (true)
   {
@@ -340,7 +340,7 @@
     if (AreStringsEqual(kMatchFinderIDs[m], s))
       return m;
   return -1;
-}
+}*/
 
 STDMETHODIMP CEncoder::SetCoderProperties(const PROPID *propIDs, 
     const PROPVARIANT *properties, UInt32 numProperties)
@@ -378,7 +378,8 @@
       }
       case NCoderPropID::kMatchFinder:
       {
-        if (prop.vt != VT_BSTR)
+        return E_NOTIMPL;
+        /*if (prop.vt != VT_BSTR)
           return E_INVALIDARG;
         int matchFinderIndexPrev = _matchFinderIndex;
         int m = FindMatchFinder(prop.bstrVal);
@@ -390,7 +391,7 @@
           _dictionarySizePrev = (UInt32)-1;
           ReleaseMatchFinder();
         }
-        break;
+        break;*/
       }
       #ifdef COMPRESS_MF_MT
       case NCoderPropID::kMultiThread:
Only in 7zip-orig/7zip/Compress: LZMA_Alone
Only in 7zip-orig/7zip/Compress: LZMA_C
Only in 7zip/7zip/Compress/RangeCoder: CVS
Only in 7zip: CVS
Only in 7zip/Common: CVS
Only in 7zip-orig/Common: C_FileIO.cpp
Only in 7zip-orig/Common: C_FileIO.h
Only in 7zip-orig/Common: ComTry.h
Only in 7zip-orig/Common: CommandLineParser.cpp
Only in 7zip-orig/Common: CommandLineParser.h
Only in 7zip-orig/Common: MyInitGuid.h
diff -ru 7zip-orig/Common/MyWindows.h 7zip/Common/MyWindows.h
--- 7zip-orig/Common/MyWindows.h	Sun Apr 16 16:53:43 2006
+++ 7zip/Common/MyWindows.h	Mon Oct 16 10:20:04 2006
@@ -3,17 +3,22 @@
 #ifndef __MYWINDOWS_H
 #define __MYWINDOWS_H
 
+#include "../../Platform.h"
+
 #ifdef _WIN32
 
 #include <windows.h>
 
+/*
 #define CHAR_PATH_SEPARATOR '\\'
 #define WCHAR_PATH_SEPARATOR L'\\'
 #define STRING_PATH_SEPARATOR "\\"
 #define WSTRING_PATH_SEPARATOR L"\\"
+*/
 
 #else
 
+/*
 #define CHAR_PATH_SEPARATOR '/'
 #define WCHAR_PATH_SEPARATOR L'/'
 #define STRING_PATH_SEPARATOR "/"
@@ -21,9 +26,9 @@
 
 #include <stddef.h> // for wchar_t
 #include <string.h>
-
+*/
 #include "MyGuidDef.h"
-
+/*
 typedef char CHAR;
 typedef unsigned char UCHAR;
 
@@ -62,7 +67,7 @@
 typedef OLECHAR *BSTR;
 typedef const OLECHAR *LPCOLESTR;
 typedef OLECHAR *LPOLESTR;
-
+*/
 typedef struct _FILETIME
 {
   DWORD dwLowDateTime;
Only in 7zip-orig/Common: NewHandler.cpp
Only in 7zip-orig/Common: NewHandler.h
diff -ru 7zip-orig/Common/StdAfx.h 7zip/Common/StdAfx.h
--- 7zip-orig/Common/StdAfx.h	Mon Jul 11 15:16:00 2005
+++ 7zip/Common/StdAfx.h	Mon Oct 16 10:39:16 2006
@@ -4,6 +4,5 @@
 #define __STDAFX_H
 
 // #include "MyWindows.h"
-#include "NewHandler.h"
 
 #endif 
Only in 7zip-orig/Common: String.cpp
Only in 7zip-orig/Common: String.h
Only in 7zip-orig/Common: StringConvert.cpp
Only in 7zip-orig/Common: StringConvert.h
Only in 7zip-orig/Common: StringToInt.cpp
Only in 7zip-orig/Common: StringToInt.h
Only in 7zip-orig/Common: Vector.cpp
Only in 7zip-orig/Common: Vector.h
Only in 7zip: LZMADecode.c
Only in 7zip: LZMADecode.h
Only in 7zip-orig: Windows
Only in 7zip: copying.txt
Only in 7zip: readme.txt