Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

fogcreek shellext: removed additional blank lines

Changeset a85421598868

Parent ee639a46690e

by David Golub

Changes to 5 files · Browse files at a85421598868 Showing diff from parent ee639a46690e Diff from another changeset...

 
4
5
6
7
8
9
10
 
22
23
24
25
26
27
28
29
30
31
32
 
70
71
72
73
74
75
76
 
80
81
82
83
84
85
86
 
4
5
6
 
7
8
9
 
21
22
23
 
24
25
26
 
27
28
29
 
67
68
69
 
70
71
72
 
76
77
78
 
79
80
81
@@ -4,7 +4,6 @@
   #include "CShellExtDnd.h"   -  // According to http://msdn.microsoft.com/en-us/library/bb776094%28VS.85%29.aspx  // the help texts for the commands should be reasonably short (under 40 characters)   @@ -22,11 +21,9 @@
  // "iconfile.ico", 0 },  };   -  static const char* const DropMenu =   "drag_move drag_copy";   -  #define ResultFromShort(i) ResultFromScode(MAKE_SCODE(SEVERITY_SUCCESS, 0, (USHORT)(i)))    // IContextMenu @@ -70,7 +67,6 @@
  return ResultFromShort(idCmd - idCmdFirst);  }   -  void CTortoiseHgDropHandler::RunDialog(const CString& strCmd)  {   if (strCmd == "drag_move" || strCmd == "drag_copy") { @@ -80,7 +76,6 @@
  CTortoiseHgCmenuBase::RunDialog(strCmd);  }   -  STDMETHODIMP CTortoiseHgDropHandler::Initialize(LPCITEMIDLIST pIDFolder,   LPDATAOBJECT pDataObj, HKEY hRegKey)  {
 
19
20
21
22
23
24
25
26
27
28
29
30
31
32
 
69
70
71
72
73
74
75
 
19
20
21
 
22
23
24
25
26
27
 
28
29
30
 
67
68
69
 
70
71
72
@@ -19,14 +19,12 @@
  return S_OK;  }   -  STDMETHODIMP CTortoiseHgOverlay::GetPriority(int *pPriority)  {   *pPriority = 1;   return S_OK;  }   -  STDMETHODIMP CTortoiseHgOverlay::IsMemberOf(LPCWSTR pwszPath, DWORD /* dwAttrib */)  {   CComCritSecLock<CComAutoCriticalSection> lock(m_cs); @@ -69,7 +67,6 @@
  return S_FALSE;  }   -  CTortoiseHgOverlay::CTortoiseHgOverlay(char chClass) :   m_chTortoiseClass(chClass)  {
 
22
23
24
25
26
27
28
 
35
36
37
38
39
40
41
 
45
46
47
48
49
50
51
 
68
69
70
71
72
73
74
 
116
117
118
119
120
121
122
 
163
164
165
166
167
168
169
 
203
204
205
206
207
208
209
 
22
23
24
 
25
26
27
 
34
35
36
 
37
38
39
 
43
44
45
 
46
47
48
 
65
66
67
 
68
69
70
 
112
113
114
 
115
116
117
 
158
159
160
 
161
162
163
 
197
198
199
 
200
201
202
@@ -22,7 +22,6 @@
 #include "Directory.h"  #include "Winstat.h"   -  CDirectory::CDirectory(CDirectory* pParent, const CString& strName,   const CString& strBasePath) :   m_pParent(pParent), m_strName(strName) @@ -35,7 +34,6 @@
  m_strPath = strBasePath + '/' + strName;  }   -  CDirectory::~CDirectory()  {   POSITION position = m_listSubdirs.GetHeadPosition(); @@ -45,7 +43,6 @@
  }  }   -  int SplitBase(const CString& strPath, CString& strBase, CString& strRest)  {   if (strPath.IsEmpty()) @@ -68,7 +65,6 @@
  return 1;  }   -  int CDirectory::Add(CString strName, CDirentry& rEntry)  {   CString strBase; @@ -116,7 +112,6 @@
  }  }   -  const CDirentry* CDirectory::Get(CString strRelPath) const  {   CString strBase; @@ -163,7 +158,6 @@
  }  }   -  CDirectory* CDirectory::GetDir(CString strRelPath)  {   CString strBase; @@ -203,7 +197,6 @@
  }  }   -  void CDirectory::Print() const  {   POSITION position = m_listSubdirs.GetHeadPosition();
 
20
21
22
23
24
25
26
 
51
52
53
54
55
56
57
 
126
127
128
129
130
131
132
 
137
138
139
140
141
142
143
 
20
21
22
 
23
24
25
 
50
51
52
 
53
54
55
 
124
125
126
 
127
128
129
 
134
135
136
 
137
138
139
@@ -20,7 +20,6 @@
 #include "Thgstatus.h"  #include "TortoiseUtils.h"   -  char CDirectoryStatus::Status(CString strRelPath) const  {   bool bAdded = false; @@ -51,7 +50,6 @@
  return 'C';  }   -  int CDirectoryStatus::Read(const CString& strHgRoot, const CString& strCwd)  {   m_listEntries.RemoveAll(); @@ -126,7 +124,6 @@
  return nRes;  }   -  struct CCacheEntry  {   CString strHgRoot; @@ -137,7 +134,6 @@
  CCacheEntry() : bReadFailed(false), uTickCount(0) {}  };   -  CDirectoryStatus* CDirectoryStatus::Get(const CString& strHgRoot,   const CString& strCwd)  {
 
20
21
22
23
24
25
26
 
143
144
145
146
147
148
149
 
174
175
176
177
178
179
180
181
182
183
184
185
186
 
20
21
22
 
23
24
25
 
142
143
144
 
145
146
147
 
172
173
174
 
175
176
177
178
179
 
180
181
182
@@ -20,7 +20,6 @@
  return lpszValue;  }   -  // Start an external command  // Note: if the command is a batch file and the [full] path to the  // batch contains spaces, the path must be double-quoted. @@ -143,7 +142,6 @@
  return hIcon;  }   -  CString GetHgRepoRoot(LPCTSTR lpszPath)  {   ATLTRACE("GetHgRepoRoot('%s')\n", lpszPath); @@ -174,13 +172,11 @@
  return strPath;  }   -  bool IsHgRepo(LPCTSTR lpszPath)  {   return !GetHgRepoRoot(lpszPath).IsEmpty();  }   -  // open a file for reading, allowing renames and deletes by other  // processes while we have it open  FILE* fopenReadRenameAllowed(LPCTSTR lpszPath)