Skip to content

Commit 1850db4

Browse files
author
Alexander Dimitrov
committed
new SSL certs and README
1 parent b1cc387 commit 1850db4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+5074
-840
lines changed

README.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -97,19 +97,11 @@ To create a debian package form the source use:
9797
> debuild -i -us -uc -b
9898
9999
## Other distributions
100-
- Binary packages 64 bit
101-
[pcloudcc-2.0.1-Linux.sh](https://my.pcloud.com/publink/show?code=XZIO6QZBewsXMlCJ6mEttJzXiTKRhok7iGX)
102-
[pcloudcc-2.0.1-Linux.tar.gz](https://my.pcloud.com/publink/show?code=XZAO6QZSRxj3JUvwIQvlk3EiU6UKX5JL5TX)
103-
[pcloudcc-2.0.1-Linux.tar.Z](https://my.pcloud.com/publink/show?code=XZiO6QZySxjE0EnCNmjUfipRRtXxBzFnq5X)
104-
[pcloudcc_2.0.1-1_amd64.deb](https://my.pcloud.com/publink/show?code=XZWU6QZicBWupBzUr0l6lLw5WMo7Vu6GVLy)
105-
- Binary packages 32 bit
106-
[pcloudcc-2.0.1-Linux_i386.sh](https://my.pcloud.com/publink/show?code=XZ7U6QZKtLlf40oSc4Mz6sP6ghQVJVoRBK7)
107-
[pcloudcc-2.0.1-Linux_i386.tar.gz](https://my.pcloud.com/publink/show?code=XZVU6QZQIR4lTopco5xVD9zMqEuDjUHPCyV)
108-
[pcloudcc-2.0.1-Linux_i386.tar.Z](https://my.pcloud.com/publink/show?code=XZ5U6QZFTJom9WP2SH7IoHg34yyvhzHu1ey)
109-
[pcloudcc_2.0.1-1_i386.deb](https://my.pcloud.com/publink/show?code=XZCU6QZOu6tcmVmlV8l6M4WEJc3L7zBPLWk)
110-
- Ubunutu 12.04 64 bit
111-
[pcloudcc_2.0.1-1_amd64_ubuntu.12.04.deb](https://my.pcloud.com/publink/show?code=XZ9U6QZDBl8feM2eHYY6Aro4F2EKYj0RoQX)
112-
- Source
113-
[pcloudcc_2.0.1_Source.tar.gz](https://my.pcloud.com/publink/show?code=XZkJfQZRtCdmBOOkR4fKrbvxqKxujzmM6w7)
100+
- Binary packages 64 bit
101+
[pcloudcc_2.0.1-1_amd64.deb](https://my.pcloud.com/publink/show?code=XZv1aQ7ZkEd1Vr0gj3hTteoDtujd481o7amk)
102+
- Ubunutu 17.10 64 bit
103+
[pcloudcc_2.0.1-1_amd64_ubuntu.17.10.deb](https://my.pcloud.com/publink/show?code=XZFeaQ7ZH1nHUfK4MLzGdeCvmmJywBUFANyy)
104+
- Ubunutu 14.04 64 bit
105+
[pcloudcc_2.0.1-1_amd64_ubuntu.14.04.deb](https://my.pcloud.com/publink/show?code=XZSeaQ7ZFPq1g8oowJXyXap7KKzTtSKoACHy)
114106

115107

pCloudCC/lib/pclsync/doc/crypto.txt

Lines changed: 0 additions & 48 deletions
This file was deleted.

pCloudCC/lib/pclsync/gitcommit.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#ifndef _GITCOMMIT_H
22
#define _GITCOMMIT_H
33

4-
#define GIT_PREV_COMMIT_ID "94bcb6bc2320e3a73c2e3fccbda649bd79421db7"
5-
#define GIT_PREV_COMMIT_DATE "2016-12-21 18:57:17 +0200"
6-
#define GIT_COMMIT_DATE "2016-12-22 01:29:14 +0200"
4+
#define GIT_PREV_COMMIT_ID "6339ebce20a8b853dd78b80e075ab25e1f413f73"
5+
#define GIT_PREV_COMMIT_DATE "2018-03-15 15:36:43 +0200"
6+
#define GIT_COMMIT_DATE "2018-03-26 18:43:25 +0300"
77

88
#endif
54 KB
Binary file not shown.
53.6 KB
Binary file not shown.
54.2 KB
Binary file not shown.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<ClassDiagram />
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
/* Copyright (c) 2013 pCloud Ltd.
2+
* All rights reserved.
3+
*
4+
* Redistribution and use in source and binary forms, with or without
5+
* modification, are permitted provided that the following conditions are met:
6+
* * Redistributions of source code must retain the above copyright
7+
* notice, this list of conditions and the following disclaimer.
8+
* * Redistributions in binary form must reproduce the above copyright
9+
* notice, this list of conditions and the following disclaimer in the
10+
* documentation and/or other materials provided with the distribution.
11+
* * Neither the name of pCloud Ltd nor the
12+
* names of its contributors may be used to endorse or promote products
13+
* derived from this software without specific prior written permission.
14+
*
15+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16+
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18+
* DISCLAIMED. IN NO EVENT SHALL pCloud Ltd BE LIABLE FOR ANY
19+
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20+
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21+
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22+
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24+
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25+
*/
26+
#pragma once
27+
28+
#pragma warning( disable: 4049 ) /* more than 64k source lines */
29+
30+
31+
#ifdef __cplusplus
32+
extern "C"{
33+
#endif
34+
35+
36+
#include <rpc.h>
37+
#include <rpcndr.h>
38+
39+
#ifdef _MIDL_USE_GUIDDEF_
40+
41+
#ifndef INITGUID
42+
#define INITGUID
43+
#include <guiddef.h>
44+
#undef INITGUID
45+
#else
46+
#include <guiddef.h>
47+
#endif
48+
49+
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
50+
DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
51+
52+
#else // !_MIDL_USE_GUIDDEF_
53+
54+
#ifndef __IID_DEFINED__
55+
#define __IID_DEFINED__
56+
57+
typedef struct _IID
58+
{
59+
unsigned long x;
60+
unsigned short s1;
61+
unsigned short s2;
62+
unsigned char c[8];
63+
} IID;
64+
65+
#endif // __IID_DEFINED__
66+
67+
#ifndef CLSID_DEFINED
68+
#define CLSID_DEFINED
69+
typedef IID CLSID;
70+
#endif // CLSID_DEFINED
71+
72+
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
73+
const type name = { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
74+
75+
#endif !_MIDL_USE_GUIDDEF_
76+
77+
// {8D0C0582-552A-4A6B-9455-DA63E1F329C0}
78+
MIDL_DEFINE_GUID(CLSID, CLSID_pCloud_INSYNC,
79+
0x8d0c0582, 0x552a, 0x4a6b, 0x94, 0x55, 0xda, 0x63, 0xe1, 0xf3, 0x29, 0xc0);
80+
81+
// {3858ED1B-8F1C-42ED-A8A9-FDBF591E3C6B}
82+
MIDL_DEFINE_GUID(CLSID, CLSID_pCloud_NOSYNC,
83+
0x3858ed1b, 0x8f1c, 0x42ed, 0xa8, 0xa9, 0xfd, 0xbf, 0x59, 0x1e, 0x3c, 0x6b);
84+
85+
// {D8BFAFBD-B670-4252-9C17-9CF1C64C2BAF}
86+
MIDL_DEFINE_GUID(CLSID, CLSID_pCloud_INPROGRESS,
87+
0xd8bfafbd, 0xb670, 0x4252, 0x9c, 0x17, 0x9c, 0xf1, 0xc6, 0x4c, 0x2b, 0xaf);
88+
89+
#undef MIDL_DEFINE_GUID
90+
91+
#ifdef __cplusplus
92+
}
93+
#endif
94+
95+
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// MyOverlayIcon.cpp : Implementation of
2+
3+
#include "stdafx.h"
4+
#include "MyOverlayIcon.h"
5+
6+
7+
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
// MyOverlayIcon.h : Declaration of the CMyOverlayIcon
2+
3+
#pragma once
4+
#include "resource.h" // main symbols
5+
#include "OverlayIcon.h"
6+
#include "ShellExt.h"
7+
8+
EXTERN_C const CLSID CLSID_pCloud_INSYNC;
9+
EXTERN_C const CLSID CLSID_pCloud_NOSYNC;
10+
EXTERN_C const CLSID CLSID_pCloud_INPROGRESS;
11+
12+
// CMyOverlayIcon
13+
14+
class ATL_NO_VTABLE CMyOverlayIcon :
15+
public CComObjectRootEx<CComSingleThreadModel>,
16+
//public CComCoClass<CMyOverlayIcon, &CLSID_MyOverlayIcon>,
17+
public CComCoClass<CMyOverlayIcon, &CLSID_pCloud_INSYNC>,
18+
public IDispatchImpl<IMyOverlayIcon, &IID_IMyOverlayIcon, &LIBID_OverlayIconLib, /*wMajor =*/ 1, /*wMinor =*/ 0>,
19+
public ShellExt
20+
{
21+
public:
22+
CMyOverlayIcon() :ShellExt(FileStateInSync)
23+
{}
24+
25+
DECLARE_REGISTRY_RESOURCEID(IDR_MYOVERLAYICON)
26+
27+
28+
BEGIN_COM_MAP(CMyOverlayIcon)
29+
COM_INTERFACE_ENTRY(IMyOverlayIcon)
30+
COM_INTERFACE_ENTRY(IDispatch)
31+
COM_INTERFACE_ENTRY(IShellIconOverlayIdentifier)
32+
END_COM_MAP()
33+
34+
35+
DECLARE_PROTECT_FINAL_CONSTRUCT()
36+
37+
HRESULT FinalConstruct()
38+
{
39+
return S_OK;
40+
}
41+
42+
void FinalRelease()
43+
{
44+
}
45+
46+
};
47+
48+
49+
class ATL_NO_VTABLE CpCloudNoSync :
50+
public CComObjectRootEx<CComSingleThreadModel>,
51+
//public CComCoClass<CMyOverlayIcon, &CLSID_MyOverlayIcon>,
52+
public CComCoClass<CpCloudNoSync, &CLSID_pCloud_NOSYNC>,
53+
public IDispatchImpl<IMyOverlayIcon, &IID_IMyOverlayIcon, &LIBID_OverlayIconLib, /*wMajor =*/ 1, /*wMinor =*/ 0>,
54+
public ShellExt
55+
{
56+
public:
57+
CpCloudNoSync() :ShellExt(FileStateNoSync)
58+
{}
59+
60+
DECLARE_REGISTRY_RESOURCEID(IDR_MYOVERLAYICON)
61+
62+
63+
BEGIN_COM_MAP(CpCloudNoSync)
64+
COM_INTERFACE_ENTRY(IMyOverlayIcon)
65+
COM_INTERFACE_ENTRY(IDispatch)
66+
COM_INTERFACE_ENTRY(IShellIconOverlayIdentifier)
67+
END_COM_MAP()
68+
69+
70+
DECLARE_PROTECT_FINAL_CONSTRUCT()
71+
72+
HRESULT FinalConstruct()
73+
{
74+
return S_OK;
75+
}
76+
77+
void FinalRelease()
78+
{
79+
}
80+
81+
};
82+
83+
class ATL_NO_VTABLE CpCloudInProgress :
84+
public CComObjectRootEx<CComSingleThreadModel>,
85+
//public CComCoClass<CMyOverlayIcon, &CLSID_MyOverlayIcon>,
86+
public CComCoClass<CpCloudInProgress, &CLSID_pCloud_INPROGRESS>,
87+
public IDispatchImpl<IMyOverlayIcon, &IID_IMyOverlayIcon, &LIBID_OverlayIconLib, /*wMajor =*/ 1, /*wMinor =*/ 0>,
88+
public ShellExt
89+
{
90+
public:
91+
CpCloudInProgress() :ShellExt(FileStateInProgress)
92+
{}
93+
94+
DECLARE_REGISTRY_RESOURCEID(IDR_MYOVERLAYICON)
95+
96+
97+
BEGIN_COM_MAP(CpCloudInProgress)
98+
COM_INTERFACE_ENTRY(IMyOverlayIcon)
99+
COM_INTERFACE_ENTRY(IDispatch)
100+
COM_INTERFACE_ENTRY(IShellIconOverlayIdentifier)
101+
END_COM_MAP()
102+
103+
104+
DECLARE_PROTECT_FINAL_CONSTRUCT()
105+
106+
HRESULT FinalConstruct()
107+
{
108+
return S_OK;
109+
}
110+
111+
void FinalRelease()
112+
{
113+
}
114+
115+
};
116+
117+
OBJECT_ENTRY_AUTO(__uuidof(MyOverlayIcon), CMyOverlayIcon)
118+
119+
OBJECT_ENTRY_AUTO(__uuidof(pCloudNoSync), CpCloudNoSync)
120+
121+
OBJECT_ENTRY_AUTO(__uuidof(pCloudInProgress), CpCloudInProgress)

0 commit comments

Comments
 (0)