Menu

Commit [r42]  Maximize  Restore  History

First non-working version of parsing the html page from an SVNParentPath url.

Got the downloading part working now after several hours of trying.

tortoisesvn 2007-04-11

added /trunk/src/Callback.cpp
added /trunk/src/Callback.h
changed /trunk/src/CommitMonitor.cpp
changed /trunk/src/CommitMonitor.vcproj
changed /trunk/src/HiddenWindow.cpp
changed /trunk/src/HiddenWindow.h
/trunk/src/Callback.cpp Diff Switch to side-by-side view
--- a
+++ b/trunk/src/Callback.cpp
@@ -0,0 +1,35 @@
+#include "StdAfx.h"
+#include "Callback.h"
+
+#include <urlmon.h>
+#include <shlwapi.h>                    // for StrFormatByteSize()
+
+#ifdef _DEBUG
+#undef THIS_FILE
+static char THIS_FILE[]=__FILE__;
+#define new DEBUG_NEW
+#endif
+
+//////////////////////////////////////////////////////////////////////
+// Construction/Destruction
+//////////////////////////////////////////////////////////////////////
+
+CCallback::CCallback()
+{
+	m_cRef = 0;
+}
+
+CCallback::~CCallback()
+{
+}
+
+STDMETHODIMP CCallback::Authenticate( HWND * phwnd, LPWSTR * pszUsername, LPWSTR * pszPassword)
+{
+	*phwnd = NULL;
+	*pszUsername = (LPWSTR)CoTaskMemAlloc((m_username.size()+1)*2);
+	_tcscpy_s(*pszUsername, m_username.size()+1, m_username.c_str());
+	*pszPassword = (LPWSTR)CoTaskMemAlloc((m_password.size()+1)*2);
+	_tcscpy_s(*pszPassword, m_password.size()+1, m_password.c_str());
+	return S_OK;
+}
+
/trunk/src/Callback.h Diff Switch to side-by-side view
Loading...
/trunk/src/CommitMonitor.cpp Diff Switch to side-by-side view
Loading...
/trunk/src/CommitMonitor.vcproj Diff Switch to side-by-side view
Loading...
/trunk/src/HiddenWindow.cpp Diff Switch to side-by-side view
Loading...
/trunk/src/HiddenWindow.h Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.