Skip to content

Commit

Permalink
arclite:
Browse files Browse the repository at this point in the history
- 7z.dll обновлена до версии 15.06.
- версия 1.6.10.
  • Loading branch information
zg0 committed Sep 6, 2015
1 parent 1cec008 commit a6ec947
Show file tree
Hide file tree
Showing 15 changed files with 229 additions and 3 deletions.
Binary file modified plugins/arclite/7z/dll/final.32W.vc/7z.dll
Binary file not shown.
Binary file modified plugins/arclite/7z/dll/final.64W.vc/7z.dll
Binary file not shown.
1 change: 0 additions & 1 deletion plugins/arclite/7z/h/CPP/7zip/IProgress.h
Expand Up @@ -4,7 +4,6 @@
#define __IPROGRESS_H

#include "../Common/MyTypes.h"
#include "../Common/MyUnknown.h"

#include "IDecl.h"

Expand Down
2 changes: 1 addition & 1 deletion plugins/arclite/7z/h/CPP/7zip/IStream.h
Expand Up @@ -4,7 +4,7 @@
#define __ISTREAM_H

#include "../Common/MyTypes.h"
#include "../Common/MyUnknown.h"
#include "../Common/MyWindows.h"

#include "IDecl.h"

Expand Down
1 change: 1 addition & 0 deletions plugins/arclite/7z/h/CPP/7zip/PropID.h
Expand Up @@ -102,6 +102,7 @@ enum
kpidStreamId,
kpidReadOnly,
kpidOutName,
kpidCopyLink,

kpid_NUM_DEFINED,

Expand Down
4 changes: 4 additions & 0 deletions plugins/arclite/7z/h/CPP/Common/MyUnknown.h
Expand Up @@ -3,11 +3,15 @@
#ifndef __MY_UNKNOWN_H
#define __MY_UNKNOWN_H

#include "MyWindows.h"

/*
#ifdef _WIN32
#include <basetyps.h>
#include <unknwn.h>
#else
#include "MyWindows.h"
#endif
*/

#endif
216 changes: 216 additions & 0 deletions plugins/arclite/7z/h/CPP/Common/MyWindows.h
@@ -0,0 +1,216 @@
// MyWindows.h

#ifndef __MY_WINDOWS_H
#define __MY_WINDOWS_H

#ifdef _WIN32

#include <windows.h>

#ifdef UNDER_CE
#undef VARIANT_TRUE
#define VARIANT_TRUE ((VARIANT_BOOL)-1)
#endif

#else

#include <stddef.h> // for wchar_t
#include <string.h>

#include "MyGuidDef.h"

#define WINAPI

typedef char CHAR;
typedef unsigned char UCHAR;

#undef BYTE
typedef unsigned char BYTE;

typedef short SHORT;
typedef unsigned short USHORT;

#undef WORD
typedef unsigned short WORD;
typedef short VARIANT_BOOL;

typedef int INT;
typedef Int32 INT32;
typedef unsigned int UINT;
typedef UInt32 UINT32;
typedef INT32 LONG; // LONG, ULONG and DWORD must be 32-bit
typedef UINT32 ULONG;

#undef DWORD
typedef UINT32 DWORD;

typedef Int64 LONGLONG;
typedef UInt64 ULONGLONG;

typedef struct _LARGE_INTEGER { LONGLONG QuadPart; } LARGE_INTEGER;
typedef struct _ULARGE_INTEGER { ULONGLONG QuadPart; } ULARGE_INTEGER;

typedef const CHAR *LPCSTR;
typedef CHAR TCHAR;
typedef const TCHAR *LPCTSTR;
typedef wchar_t WCHAR;
typedef WCHAR OLECHAR;
typedef const WCHAR *LPCWSTR;
typedef OLECHAR *BSTR;
typedef const OLECHAR *LPCOLESTR;
typedef OLECHAR *LPOLESTR;

typedef struct _FILETIME
{
DWORD dwLowDateTime;
DWORD dwHighDateTime;
} FILETIME;

#define HRESULT LONG
#define FAILED(Status) ((HRESULT)(Status)<0)
typedef ULONG PROPID;
typedef LONG SCODE;

#define S_OK ((HRESULT)0x00000000L)
#define S_FALSE ((HRESULT)0x00000001L)
#define E_NOTIMPL ((HRESULT)0x80004001L)
#define E_NOINTERFACE ((HRESULT)0x80004002L)
#define E_ABORT ((HRESULT)0x80004004L)
#define E_FAIL ((HRESULT)0x80004005L)
#define STG_E_INVALIDFUNCTION ((HRESULT)0x80030001L)
#define E_OUTOFMEMORY ((HRESULT)0x8007000EL)
#define E_INVALIDARG ((HRESULT)0x80070057L)

#ifdef _MSC_VER
#define STDMETHODCALLTYPE __stdcall
#else
#define STDMETHODCALLTYPE
#endif

#define STDMETHOD_(t, f) virtual t STDMETHODCALLTYPE f
#define STDMETHOD(f) STDMETHOD_(HRESULT, f)
#define STDMETHODIMP_(type) type STDMETHODCALLTYPE
#define STDMETHODIMP STDMETHODIMP_(HRESULT)

#define PURE = 0

#define MIDL_INTERFACE(x) struct

#ifdef __cplusplus

DEFINE_GUID(IID_IUnknown,
0x00000000, 0x0000, 0x0000, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
struct IUnknown
{
STDMETHOD(QueryInterface) (REFIID iid, void **outObject) PURE;
STDMETHOD_(ULONG, AddRef)() PURE;
STDMETHOD_(ULONG, Release)() PURE;
#ifndef _WIN32
virtual ~IUnknown() {}
#endif
};

typedef IUnknown *LPUNKNOWN;

#endif

#define VARIANT_TRUE ((VARIANT_BOOL)-1)
#define VARIANT_FALSE ((VARIANT_BOOL)0)

enum VARENUM
{
VT_EMPTY = 0,
VT_NULL = 1,
VT_I2 = 2,
VT_I4 = 3,
VT_R4 = 4,
VT_R8 = 5,
VT_CY = 6,
VT_DATE = 7,
VT_BSTR = 8,
VT_DISPATCH = 9,
VT_ERROR = 10,
VT_BOOL = 11,
VT_VARIANT = 12,
VT_UNKNOWN = 13,
VT_DECIMAL = 14,
VT_I1 = 16,
VT_UI1 = 17,
VT_UI2 = 18,
VT_UI4 = 19,
VT_I8 = 20,
VT_UI8 = 21,
VT_INT = 22,
VT_UINT = 23,
VT_VOID = 24,
VT_HRESULT = 25,
VT_FILETIME = 64
};

typedef unsigned short VARTYPE;
typedef WORD PROPVAR_PAD1;
typedef WORD PROPVAR_PAD2;
typedef WORD PROPVAR_PAD3;

typedef struct tagPROPVARIANT
{
VARTYPE vt;
PROPVAR_PAD1 wReserved1;
PROPVAR_PAD2 wReserved2;
PROPVAR_PAD3 wReserved3;
union
{
CHAR cVal;
UCHAR bVal;
SHORT iVal;
USHORT uiVal;
LONG lVal;
ULONG ulVal;
INT intVal;
UINT uintVal;
LARGE_INTEGER hVal;
ULARGE_INTEGER uhVal;
VARIANT_BOOL boolVal;
SCODE scode;
FILETIME filetime;
BSTR bstrVal;
};
} PROPVARIANT;

typedef PROPVARIANT tagVARIANT;
typedef tagVARIANT VARIANT;
typedef VARIANT VARIANTARG;

MY_EXTERN_C HRESULT VariantClear(VARIANTARG *prop);
MY_EXTERN_C HRESULT VariantCopy(VARIANTARG *dest, const VARIANTARG *src);

typedef struct tagSTATPROPSTG
{
LPOLESTR lpwstrName;
PROPID propid;
VARTYPE vt;
} STATPROPSTG;

MY_EXTERN_C BSTR SysAllocStringByteLen(LPCSTR psz, UINT len);
MY_EXTERN_C BSTR SysAllocStringLen(const OLECHAR *sz, UINT len);
MY_EXTERN_C BSTR SysAllocString(const OLECHAR *sz);
MY_EXTERN_C void SysFreeString(BSTR bstr);
MY_EXTERN_C UINT SysStringByteLen(BSTR bstr);
MY_EXTERN_C UINT SysStringLen(BSTR bstr);

MY_EXTERN_C DWORD GetLastError();
MY_EXTERN_C LONG CompareFileTime(const FILETIME* ft1, const FILETIME* ft2);

#define CP_ACP 0
#define CP_OEMCP 1
#define CP_UTF8 65001

typedef enum tagSTREAM_SEEK
{
STREAM_SEEK_SET = 0,
STREAM_SEEK_CUR = 1,
STREAM_SEEK_END = 2
} STREAM_SEEK;

#endif
#endif
Binary file modified plugins/arclite/7z/sfx/7z.sfx
Binary file not shown.
Binary file modified plugins/arclite/7z/sfx/7zCon.sfx
Binary file not shown.
Binary file modified plugins/arclite/7z/sfx/7zS2.sfx
Binary file not shown.
Binary file modified plugins/arclite/7z/sfx/7zS2con.sfx
Binary file not shown.
Binary file modified plugins/arclite/7z/sfx/7zSD.sfx
Binary file not shown.
5 changes: 5 additions & 0 deletions plugins/arclite/changelog
@@ -1,3 +1,8 @@
zg 06.09.2015 15:34:39 +0200

- 7z.dll ��������� �� ������ 15.06.
- ������ 1.6.10.

w17 15.08.2015 00:11:12 +0300

- M#281: ��������������� ���������� ����� �� ��������� �������� � ������ ���� C:\%AppData%
Expand Down
1 change: 1 addition & 0 deletions plugins/arclite/headers.hpp
Expand Up @@ -26,6 +26,7 @@
using namespace std;

#define INITGUID
#include <basetyps.h>
#include "CPP/7zip/Archive/IArchive.h"
#include "CPP/7zip/IPassword.h"

Expand Down
2 changes: 1 addition & 1 deletion plugins/arclite/project.ini
Expand Up @@ -2,4 +2,4 @@
MODULE = arclite
VER_MAJOR = 1
VER_MINOR = 6
VER_PATCH = 9
VER_PATCH = 10

0 comments on commit a6ec947

Please sign in to comment.