View the DQSD CVS repository here:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/
Update of /cvsroot/dqsd/dqsd/src/DQSDSearchWiz
In directory usw-pr-cvs1:/tmp/cvs-serv10629/src/DQSDSearchWiz
Modified Files:
AboutDlg.h ChangeLog.txt DQSDSearchWiz.rc DQSDWizardDlg.cpp
Log Message:
Fix bugs - change log wasn't displayed correctly; extra '/'s in action url
Index: AboutDlg.h
===================================================================
RCS file: /cvsroot/dqsd/dqsd/src/DQSDSearchWiz/AboutDlg.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** AboutDlg.h 9 Aug 2002 14:07:08 -0000 1.4
--- AboutDlg.h 12 Aug 2002 19:02:33 -0000 1.5
***************
*** 55,61 ****
if ( hdata )
{
! LPCTSTR pszChangeLog = (LPCTSTR)LockResource( hdata );
if ( pszChangeLog )
{
CWindow ctlHistory( GetDlgItem(
IDC_ChangeHistory ) );
ctlHistory.SetWindowText( pszChangeLog );
--- 55,63 ----
if ( hdata )
{
! const DWORD dwResLen = SizeofResource(
_Module.GetResourceInstance(), hrsc );
! LPTSTR pszChangeLog = (LPTSTR)LockResource( hdata );
if ( pszChangeLog )
{
+ pszChangeLog[ dwResLen * sizeof TCHAR ] =
+_T('\0');
CWindow ctlHistory( GetDlgItem(
IDC_ChangeHistory ) );
ctlHistory.SetWindowText( pszChangeLog );
Index: ChangeLog.txt
===================================================================
RCS file: /cvsroot/dqsd/dqsd/src/DQSDSearchWiz/ChangeLog.txt,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** ChangeLog.txt 12 Aug 2002 13:25:01 -0000 1.7
--- ChangeLog.txt 12 Aug 2002 19:02:33 -0000 1.8
***************
*** 8,11 ****
--- 8,13 ----
* URL truncation bug fix
* Options for including comments and warning about active element
+ * Bug fix for display of change log in About dialog
+ * Bug fix for extra '/'s in FORM action attribute
Version 0.3 (beta) - 08-Aug-2002
Index: DQSDSearchWiz.rc
===================================================================
RCS file: /cvsroot/dqsd/dqsd/src/DQSDSearchWiz/DQSDSearchWiz.rc,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** DQSDSearchWiz.rc 12 Aug 2002 13:25:01 -0000 1.11
--- DQSDSearchWiz.rc 12 Aug 2002 19:02:33 -0000 1.12
***************
*** 121,125 ****
EXSTYLE WS_EX_CONTEXTHELP
CAPTION "DQSD Search Wizard"
! FONT 8, "MS Sans Serif"
BEGIN
RTEXT "* &Name:",IDC_STATIC,32,9,33,8
--- 121,125 ----
EXSTYLE WS_EX_CONTEXTHELP
CAPTION "DQSD Search Wizard"
! FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
RTEXT "* &Name:",IDC_STATIC,32,9,33,8
***************
*** 183,187 ****
DEFPUSHBUTTON "OK",1,218,5,50,14
PUSHBUTTON "Cancel",2,218,22,50,14
! ICON IDI_HOT,IDC_STATIC,6,5,21,20
LTEXT "Dave's Quick Search Deskbar Search Wizard",IDC_STATIC,
38,11,174,8
--- 183,187 ----
DEFPUSHBUTTON "OK",1,218,5,50,14
PUSHBUTTON "Cancel",2,218,22,50,14
! ICON IDI_WIZARD,IDC_STATIC,6,5,20,20
LTEXT "Dave's Quick Search Deskbar Search Wizard",IDC_STATIC,
38,11,174,8
Index: DQSDWizardDlg.cpp
===================================================================
RCS file: /cvsroot/dqsd/dqsd/src/DQSDSearchWiz/DQSDWizardDlg.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** DQSDWizardDlg.cpp 12 Aug 2002 13:25:01 -0000 1.20
--- DQSDWizardDlg.cpp 12 Aug 2002 19:02:33 -0000 1.21
***************
*** 749,766 ****
USES_CONVERSION;
! string strAction = _T("");
! if ( !_tcsnicmp( _T("http"), W2CT(varAction.bstrVal), 4 ) )
! {
! strAction = W2A( varAction.bstrVal );
! }
! else if ( _tcslen( W2CT(varAction.bstrVal) ) == 0 )
! {
! strAction = m_strBaseURL;
! }
! else
{
! strAction = m_strBaseURL + ( *varAction.bstrVal != L'/' ? _T("/") :
_T("") ) + W2A( varAction.bstrVal );
}
return strAction;
--- 749,766 ----
USES_CONVERSION;
! string strAction = W2T( varAction.bstrVal );
! if ( !_tcsnicmp( _T("http"), strAction.c_str(), 4 ) )
! return strAction;
!
! else if ( strAction.length() == 0 )
! return m_strBaseURL;
!
! string strActionPath = strAction;
! if ( strActionPath[0] == _T('/') )
{
! strActionPath.erase( strActionPath.begin() );
}
+ strAction = m_strBaseURL + ( m_strBaseURL[ m_strBaseURL.length() - 1 ] ==
+_T('/') ? _T("") : _T("/") ) + strActionPath;
return strAction;
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
DQSD-CVS mailing list
https://lists.sourceforge.net/lists/listinfo/dqsd-cvs
DQSD CVS repository:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/dqsd/