ReactOS.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
List overview
Download
Ros-diffs
July 2007
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
ros-diffs@reactos.org
20 participants
707 discussions
Start a n
N
ew thread
[hpoussin] 27929: Add entrypoint="0" in rbuild file when needed
by hpoussin@svn.reactos.org
Author: hpoussin Date: Fri Jul 27 17:09:38 2007 New Revision: 27929 URL:
http://svn.reactos.org/svn/reactos?rev=27929&view=rev
Log: Add entrypoint="0" in rbuild file when needed Modified: trunk/tools/wineimport.cmd Modified: trunk/tools/wineimport.cmd URL:
http://svn.reactos.org/svn/reactos/trunk/tools/wineimport.cmd?rev=27929&r1=…
============================================================================== --- trunk/tools/wineimport.cmd (original) +++ trunk/tools/wineimport.cmd Fri Jul 27 17:09:38 2007 @@ -80,6 +80,7 @@ ) ) +SET WINE_HAS_DLLMAIN=0 SET WINE_HAS_DLLINSTALL=0 SET WINE_HAS_DLLREGISTERSERVER=0 FOR /F "usebackq tokens=3,4 delims= " %%l IN ("wine\dlls\%2\%2.spec") DO ( @@ -89,7 +90,11 @@ >NUL COPY /Y wine\dlls\%2\makefile.in %WINE_TMPFILE1% -ECHO ^<module name="%WINE_MODULE_NAME%" type="%WINE_MODULE_TYPE%" baseaddress="${BASEADDRESS_!WINE_UPPERCASE!}" installbase="system32" installname="%WINE_INSTALL_NAME%" allowwarnings="true"^> +IF "%WINE_HAS_DLLMAIN%" == "0" ( + ECHO ^<module name="%WINE_MODULE_NAME%" type="%WINE_MODULE_TYPE%" baseaddress="${BASEADDRESS_%WINE_UPPERCASE%}" installbase="system32" entrypoint="0" installname="%WINE_INSTALL_NAME%" allowwarnings="true"^> +) ELSE ( + ECHO ^<module name="%WINE_MODULE_NAME%" type="%WINE_MODULE_TYPE%" baseaddress="${BASEADDRESS_%WINE_UPPERCASE%}" installbase="system32" installname="%WINE_INSTALL_NAME%" allowwarnings="true"^> +) IF "%WINE_HAS_DLLINSTALL%" == "1" ( IF "%WINE_HAS_DLLREGISTERSERVER%" == "1" ( ECHO ^<autoregister infsection="OleControlDlls" type="Both" /^> @@ -262,12 +267,12 @@ IF ERRORLEVEL 1 GOTO :eof FOR %%m IN (%WINE_LIST%) DO ( >wine\dlls\%%m\%%m.rbuild CALL :createrbuild createrbuild %%m - >NUL CALL :link link %WINE_ROS_DIR% %%m -) -CALL :merge merge %WINE_ROS_DIR% %WINE_LIST% + >NUL CALL :link link "%WINE_ROS_DIR%" %%m +) +CALL :merge merge "%WINE_ROS_DIR%" %WINE_LIST% IF ERRORLEVEL 1 GOTO :eof -IF EXIST %WINE_ROS_DIR%\makefile.auto DEL %WINE_ROS_DIR%\makefile.auto -CALL :make make %WINE_ROS_DIR% %WINE_LIST% +IF EXIST "%WINE_ROS_DIR%\makefile.auto" DEL "%WINE_ROS_DIR%\makefile.auto" +CALL :make make "%WINE_ROS_DIR%" %WINE_LIST% IF ERRORLEVEL 1 GOTO :eof ECHO Compilation successful. You should try to run ReactOS to see if ECHO no visible regressions appeared before committing the changes. @@ -326,5 +331,6 @@ :internal_analysespec SET WINE_LINE=%* +IF "%WINE_LINE:~0,7%" == "DllMain" SET WINE_HAS_DLLMAIN=1 IF "%WINE_LINE:~0,10%" == "DllInstall" SET WINE_HAS_DLLINSTALL=1 IF "%WINE_LINE:~0,17%" == "DllRegisterServer" SET WINE_HAS_DLLREGISTERSERVER=1
17 years, 5 months
1
0
0
0
[cwittich] 27928: -fix 2nd stage setup
by cwittich@svn.reactos.org
Author: cwittich Date: Fri Jul 27 16:54:03 2007 New Revision: 27928 URL:
http://svn.reactos.org/svn/reactos?rev=27928&view=rev
Log: -fix 2nd stage setup Modified: trunk/reactos/dll/win32/version/version.rbuild Modified: trunk/reactos/dll/win32/version/version.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/version/version.…
============================================================================== --- trunk/reactos/dll/win32/version/version.rbuild (original) +++ trunk/reactos/dll/win32/version/version.rbuild Fri Jul 27 16:54:03 2007 @@ -1,4 +1,4 @@ -<module name="version" type="win32dll" baseaddress="${BASEADDRESS_VERSION}" installbase="system32" installname="version.dll" allowwarnings="true"> +<module name="version" type="win32dll" entrypoint="0" baseaddress="${BASEADDRESS_VERSION}" installbase="system32" installname="version.dll" allowwarnings="true"> <importlibrary definition="version.spec.def" /> <include base="version">.</include> <include base="ReactOS">include/reactos/wine</include>
17 years, 5 months
1
0
0
0
[winesync] 27927: Autosyncing with Wine HEAD
by winesync@svn.reactos.org
Author: winesync Date: Fri Jul 27 15:36:07 2007 New Revision: 27927 URL:
http://svn.reactos.org/svn/reactos?rev=27927&view=rev
Log: Autosyncing with Wine HEAD Modified: trunk/reactos/dll/win32/version/info.c trunk/reactos/dll/win32/version/version_ros.diff Modified: trunk/reactos/dll/win32/version/info.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/version/info.c?r…
============================================================================== --- trunk/reactos/dll/win32/version/info.c (original) +++ trunk/reactos/dll/win32/version/info.c Fri Jul 27 15:36:07 2007 @@ -784,6 +784,9 @@ TRACE("(%p,%s,%p,%p)\n", pBlock, debugstr_a(lpSubBlock), lplpBuffer, puLen ); + if (!pBlock) + return FALSE; + if ( !VersionInfoIs16( info ) ) { BOOL ret; @@ -835,6 +838,9 @@ TRACE("(%p,%s,%p,%p)\n", pBlock, debugstr_w(lpSubBlock), lplpBuffer, puLen ); + + if (!pBlock) + return FALSE; if ( VersionInfoIs16( info ) ) { Modified: trunk/reactos/dll/win32/version/version_ros.diff URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/version/version_…
============================================================================== --- trunk/reactos/dll/win32/version/version_ros.diff (original) +++ trunk/reactos/dll/win32/version/version_ros.diff Fri Jul 27 15:36:07 2007 @@ -64,6 +64,26 @@ } else { +@@ -784,6 +784,9 @@ + TRACE("(%p,%s,%p,%p)\n", + pBlock, debugstr_a(lpSubBlock), lplpBuffer, puLen ); + ++ if (!pBlock) ++ return FALSE; ++ + if ( !VersionInfoIs16( info ) ) + { + BOOL ret; +@@ -836,6 +839,9 @@ + TRACE("(%p,%s,%p,%p)\n", + pBlock, debugstr_w(lpSubBlock), lplpBuffer, puLen ); + ++ if (!pBlock) ++ return FALSE; ++ + if ( VersionInfoIs16( info ) ) + { + BOOL ret; Index: install.c =================================================================== --- install.c (revision 23123)
17 years, 5 months
1
0
0
0
[hpoussin] 27926: Fix hhctrl.ocx build
by hpoussin@svn.reactos.org
Author: hpoussin Date: Fri Jul 27 15:19:19 2007 New Revision: 27926 URL:
http://svn.reactos.org/svn/reactos?rev=27926&view=rev
Log: Fix hhctrl.ocx build Added: trunk/reactos/dll/win32/hhctrl.ocx/hhctrl.ocx_ros.diff (with props) Modified: trunk/reactos/dll/win32/hhctrl.ocx/hhctrl.ocx.rbuild Modified: trunk/reactos/dll/win32/hhctrl.ocx/hhctrl.ocx.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/hhctrl.ocx/hhctr…
============================================================================== --- trunk/reactos/dll/win32/hhctrl.ocx/hhctrl.ocx.rbuild (original) +++ trunk/reactos/dll/win32/hhctrl.ocx/hhctrl.ocx.rbuild Fri Jul 27 15:19:19 2007 @@ -3,12 +3,14 @@ <importlibrary definition="hhctrl.ocx.spec.def" /> <include base="hhctrl">.</include> <include base="ReactOS">include/reactos/wine</include> + <include base="ReactOS" root="intermediate">include/reactos</include> <define name="__REACTOS__" /> <define name="__WINESRC__" /> <define name="__USE_W32API" /> <define name="_WIN32_IE">0x600</define> <define name="_WIN32_WINNT">0x501</define> <define name="WINVER">0x501</define> + <dependency>wineheaders</dependency> <library>wine</library> <library>advapi32</library> <library>comctl32</library> Added: trunk/reactos/dll/win32/hhctrl.ocx/hhctrl.ocx_ros.diff URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/hhctrl.ocx/hhctr…
============================================================================== --- trunk/reactos/dll/win32/hhctrl.ocx/hhctrl.ocx_ros.diff (added) +++ trunk/reactos/dll/win32/hhctrl.ocx/hhctrl.ocx_ros.diff Fri Jul 27 15:19:19 2007 @@ -1,0 +1,19 @@ +Index: hhctrl.ocx.rbuild +=================================================================== +--- hhctrl.ocx.rbuild (revision 27782) ++++ hhctrl.ocx.rbuild (working copy) +@@ -3,12 +3,14 @@ + <importlibrary definition="hhctrl.ocx.spec.def" /> + <include base="hhctrl">.</include> + <include base="ReactOS">include/reactos/wine</include> ++ <include base="ReactOS" root="intermediate">include/reactos</include> + <define name="__REACTOS__" /> + <define name="__WINESRC__" /> + <define name="__USE_W32API" /> + <define name="_WIN32_IE">0x600</define> + <define name="_WIN32_WINNT">0x501</define> + <define name="WINVER">0x501</define> ++ <dependency>wineheaders</dependency> + <library>wine</library> + <library>advapi32</library> + <library>comctl32</library> Propchange: trunk/reactos/dll/win32/hhctrl.ocx/hhctrl.ocx_ros.diff ------------------------------------------------------------------------------ svn:eol-style = native
17 years, 5 months
1
0
0
0
[gedmurphy] 27925: fix the comment
by gedmurphy@svn.reactos.org
Author: gedmurphy Date: Fri Jul 27 15:18:03 2007 New Revision: 27925 URL:
http://svn.reactos.org/svn/reactos?rev=27925&view=rev
Log: fix the comment Modified: trunk/reactos/dll/win32/syssetup/install.c Modified: trunk/reactos/dll/win32/syssetup/install.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/install…
============================================================================== --- trunk/reactos/dll/win32/syssetup/install.c (original) +++ trunk/reactos/dll/win32/syssetup/install.c Fri Jul 27 15:18:03 2007 @@ -211,9 +211,7 @@ if (!LoadString(hDllInstance, nIdTitle, title, sizeof(title)/sizeof(title[0]))) return FALSE; - // FIXME: we should pass 'command' straight in here, but shell32 doesn't - // expand it, and explorer uses ShellExecuteEx anyway instead of calling - // shell32's STDMETHODCALLTYPE Resolve / IShellLinkW_fnResolve + // FIXME: we should pass 'command' straight in here, but shell32 doesn't expand it return SUCCEEDED(CreateShellLink(path, exeName, _T(""), lpWorkingDir, NULL, 0, title)); }
17 years, 5 months
1
0
0
0
[gedmurphy] 27924: revert r27504. translation shouldn't be added to Wine libs
by gedmurphy@svn.reactos.org
Author: gedmurphy Date: Fri Jul 27 15:10:37 2007 New Revision: 27924 URL:
http://svn.reactos.org/svn/reactos?rev=27924&view=rev
Log: revert r27504. translation shouldn't be added to Wine libs Modified: trunk/reactos/dll/win32/wldap32/wldap32.rc Modified: trunk/reactos/dll/win32/wldap32/wldap32.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wldap32/wldap32.…
============================================================================== --- trunk/reactos/dll/win32/wldap32/wldap32.rc (original) +++ trunk/reactos/dll/win32/wldap32/wldap32.rc Fri Jul 27 15:10:37 2007 @@ -22,7 +22,6 @@ #include "winbase.h" #include "winuser.h" -#include "wldap32_Bg.rc" #include "wldap32_De.rc" #include "wldap32_En.rc" #include "wldap32_Es.rc"
17 years, 5 months
1
0
0
0
[hpoussin] 27923: Update status
by hpoussin@svn.reactos.org
Author: hpoussin Date: Fri Jul 27 14:22:17 2007 New Revision: 27923 URL:
http://svn.reactos.org/svn/reactos?rev=27923&view=rev
Log: Update status Modified: trunk/reactos/media/doc/README.WINE Modified: trunk/reactos/media/doc/README.WINE URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/README.WINE?rev=…
============================================================================== --- trunk/reactos/media/doc/README.WINE (original) +++ trunk/reactos/media/doc/README.WINE Fri Jul 27 14:22:17 2007 @@ -37,14 +37,14 @@ reactos/dll/win32/clusapi # Autosync reactos/dll/win32/comcat # Autosync reactos/dll/win32/comctl32 # Autosync -reactos/dll/win32/comdlg32 # Synced to Wine-0_9_16 -reactos/dll/win32/crypt32 # Autosync +reactos/dll/win32/comdlg32 # Autosync +reactos/dll/win32/crypt32 # Out of sync reactos/dll/win32/cryptdll # Autosync reactos/dll/win32/cryptnet # Autosync reactos/dll/win32/dbghelp # -reactos/dll/win32/hhctrl.ocx # Synced to wine-0_9_35 +reactos/dll/win32/hhctrl.ocx # Autosync reactos/dll/win32/icmp # Synced to Wine-0_9_10 -reactos/dll/win32/imm32 # Autosync +reactos/dll/win32/imm32 # Out of sync reactos/dll/win32/iphlpapi # Out of sync reactos/dll/win32/imagehlp # Patches for BindImage need review and submission to winehq. reactos/dll/win32/lz32 # Autosync @@ -52,20 +52,20 @@ reactos/dll/win32/mpr # Autosync reactos/dll/win32/msacm32 # Out of sync reactos/dll/win32/msimg32 # Autosync -reactos/dll/win32/msi # Autosync +reactos/dll/win32/msi # Out of sync reactos/dll/win32/msvcrt20 # Out of sync reactos/dll/win32/msvfw32 # Autosync -reactos/dll/win32/netapi32 # Synced to Wine-0_9_5 +reactos/dll/win32/netapi32 # Autosync reactos/dll/win32/objsel # Autosync reactos/dll/win32/odbc32 # Out of sync. Depends on port of Linux ODBC. reactos/dll/win32/odbccp32 # Autosync -reactos/dll/win32/ole32 # Synced to Wine-0_9_5 +reactos/dll/win32/ole32 # Autosync reactos/dll/win32/oleacc # Autosync -reactos/dll/win32/oleaut32 # Synced to Wine-0_9_10 +reactos/dll/win32/oleaut32 # Autosync reactos/dll/win32/oledlg # Autosync reactos/dll/win32/olepro32 # Autosync -reactos/dll/win32/powrprof # Synced to Wine-0_9_14 -reactos/dll/win32/riched20 # Synced to Wine-0_9_5 +reactos/dll/win32/powrprof # Autosync +reactos/dll/win32/riched20 # Autosync reactos/dll/win32/riched32 # Autosync reactos/dll/win32/rpcrt4 # Synced to Wine-0_9_10 reactos/dll/win32/sensapi # Autosync @@ -75,11 +75,11 @@ reactos/dll/win32/shfolder # Autosync reactos/dll/win32/shlwapi # Synced to Wine-0_9_5 reactos/dll/win32/twain_32 # Out of sync -reactos/dll/win32/urlmon # Synced to Wine-0_9_10 +reactos/dll/win32/urlmon # Autosync reactos/dll/win32/uxtheme # Autosync -reactos/dll/win32/version # Synced at 20060509 +reactos/dll/win32/version # Autosync reactos/dll/win32/wininet # Synced to Wine-0_9_10 -reactos/dll/win32/wintrust # Autosync +reactos/dll/win32/wintrust # Out of sync reactos/dll/win32/winmm # Forked at Wine-20050628 reactos/dll/win32/winmm/midimap # Forked at Wine-20050628 reactos/dll/win32/winmm/wavemap # Forked at Wine-20050628 @@ -158,7 +158,7 @@ (available at
http://www.sysinternals.com/Utilities/Junction.html
) - Cd to the directory containing wineimport.cmd - Run - "wineimport.cmd fullprocessing {path_to_your_rectos_directory} {name_of_the_wine_dll}" + "wineimport.cmd fullprocessing {path_to_your_reactos_directory} {name_of_the_wine_dll}" - In case of error, you can 1) add missing definitions to ReactOS headers 2) fix {name_of_the_wine_dll}_ros.diff patch file, by removing outdated changes
17 years, 5 months
1
0
0
0
[winesync] 27922: Autosyncing with Wine HEAD
by winesync@svn.reactos.org
Author: winesync Date: Fri Jul 27 14:20:13 2007 New Revision: 27922 URL:
http://svn.reactos.org/svn/reactos?rev=27922&view=rev
Log: Autosyncing with Wine HEAD Removed: trunk/reactos/dll/win32/wldap32/wldap32_Bg.rc Modified: trunk/reactos/dll/win32/wldap32/init.c trunk/reactos/dll/win32/wldap32/misc.c trunk/reactos/dll/win32/wldap32/page.c trunk/reactos/dll/win32/wldap32/value.c trunk/reactos/dll/win32/wldap32/wldap32_En.rc trunk/reactos/dll/win32/wldap32/wldap32_Ko.rc Modified: trunk/reactos/dll/win32/wldap32/init.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wldap32/init.c?r…
============================================================================== --- trunk/reactos/dll/win32/wldap32/init.c (original) +++ trunk/reactos/dll/win32/wldap32/init.c Fri Jul 27 14:20:13 2007 @@ -109,8 +109,7 @@ return res; oom: - for (--i; i >= 0; i--) - strfreeU( res[i] ); + while (i > 0) strfreeU( res[--i] ); HeapFree( GetProcessHeap(), 0, res ); HeapFree( GetProcessHeap(), 0, str ); @@ -237,8 +236,9 @@ strfreeW( hostnameW ); return ld; -#endif - return NULL; +#else + return NULL; +#endif } /*********************************************************************** @@ -289,8 +289,9 @@ strfreeU( url ); return ld; -#endif - return NULL; +#else + return NULL; +#endif } /*********************************************************************** @@ -343,8 +344,9 @@ strfreeW( hostnameW ); return ld; -#endif - return NULL; +#else + return NULL; +#endif } /*********************************************************************** @@ -396,8 +398,9 @@ strfreeU( url ); return ld; -#endif - return NULL; +#else + return NULL; +#endif } /*********************************************************************** @@ -424,8 +427,9 @@ strfreeW( hostnameW ); return ld; -#endif - return NULL; +#else + return NULL; +#endif } /*********************************************************************** @@ -476,8 +480,9 @@ strfreeU( url ); return ld; -#endif - return NULL; +#else + return NULL; +#endif } /*********************************************************************** @@ -503,8 +508,9 @@ strfreeW( hostnameW ); return ld; -#endif - return NULL; +#else + return NULL; +#endif } /*********************************************************************** @@ -560,8 +566,9 @@ strfreeU( url ); return ld; -#endif - return NULL; +#else + return NULL; +#endif } /*********************************************************************** Modified: trunk/reactos/dll/win32/wldap32/misc.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wldap32/misc.c?r…
============================================================================== --- trunk/reactos/dll/win32/wldap32/misc.c (original) +++ trunk/reactos/dll/win32/wldap32/misc.c Fri Jul 27 14:20:13 2007 @@ -375,8 +375,9 @@ if (!ld || !res) return NULL; return ldap_first_entry( ld, res ); -#endif +#else return NULL; +#endif } /*********************************************************************** @@ -401,8 +402,9 @@ if (!ld) return NULL; return ldap_first_reference( ld, res ); -#endif +#else return NULL; +#endif } /*********************************************************************** @@ -536,8 +538,9 @@ if (!ld || !entry) return NULL; return ldap_next_entry( ld, entry ); -#endif +#else return NULL; +#endif } /*********************************************************************** @@ -565,8 +568,9 @@ if (!ld || !entry) return NULL; return ldap_next_reference( ld, entry ); -#endif +#else return NULL; +#endif } /*********************************************************************** Modified: trunk/reactos/dll/win32/wldap32/page.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wldap32/page.c?r…
============================================================================== --- trunk/reactos/dll/win32/wldap32/page.c (original) +++ trunk/reactos/dll/win32/wldap32/page.c Fri Jul 27 14:20:13 2007 @@ -152,9 +152,7 @@ ULONG CDECL ldap_create_page_controlW( WLDAP32_LDAP *ld, ULONG pagesize, struct WLDAP32_berval *cookie, UCHAR critical, PLDAPControlW *control ) { - ULONG ret = LDAP_NOT_SUPPORTED; -#ifdef HAVE_LDAP - +#ifdef HAVE_LDAP TRACE( "(%p, 0x%08x, %p, 0x%02x, %p)\n", ld, pagesize, cookie, critical, control ); @@ -163,8 +161,9 @@ return create_page_control( pagesize, cookie, critical, control ); -#endif - return ret; +#else + return LDAP_NOT_SUPPORTED; +#endif } ULONG CDECL ldap_get_next_page( WLDAP32_LDAP *ld, PLDAPSearch search, ULONG pagesize, Modified: trunk/reactos/dll/win32/wldap32/value.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wldap32/value.c?…
============================================================================== --- trunk/reactos/dll/win32/wldap32/value.c (original) +++ trunk/reactos/dll/win32/wldap32/value.c Fri Jul 27 14:20:13 2007 @@ -190,9 +190,7 @@ str[i] = bv2str( *p ); if (!str[i]) { - for (--i; i >= 0; i--) - HeapFree( GetProcessHeap(), 0, str[i] ); - + while (i > 0) HeapFree( GetProcessHeap(), 0, str[--i] ); HeapFree( GetProcessHeap(), 0, str ); return NULL; } @@ -274,8 +272,9 @@ strfreeW( attrW ); return ret; -#endif +#else return NULL; +#endif } /*********************************************************************** @@ -316,8 +315,9 @@ strfreeU( attrU ); return (struct WLDAP32_berval **)ret; -#endif +#else return NULL; +#endif } /*********************************************************************** Removed: trunk/reactos/dll/win32/wldap32/wldap32_Bg.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wldap32/wldap32_…
============================================================================== --- trunk/reactos/dll/win32/wldap32/wldap32_Bg.rc (original) +++ trunk/reactos/dll/win32/wldap32/wldap32_Bg.rc (removed) @@ -1,125 +1,0 @@ -/* - * English resources for WLDAP32 - * - * Copyright 2005 Hans Leidekker - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA - */ - -LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT - -STRINGTABLE DISCARDABLE -{ - 0 "Óñïåõ" - 1 "Operations Error" - 2 "Protocol Error" - 3 "Time Limit Exceeded" - 4 "Size Limit Exceeded" - 5 "Compare False" - 6 "Compare True" -/* 7 "Authentication Method Not Supported"*/ - 7 "Íåïîääúðæàí ïîõâàò íà óïúëíîìîùàâàíå" -/* 8 "Strong Authentication Required" */ - 8 "Èçèñêâà ñå ïîäñèëåíî óïúëíîìîùàâàíå" - 9 "Referral (v2)" - 10 "Referral" - 11 "Administration Limit Exceeded" - 12 "Unavailable Critical Extension" - 13 "Confidentiality Required" - 14 "" - 15 "" - 16 "Íÿìà òàêúâ ïðèçíàê" - 17 "Íåóêàçàí âèä" - 18 "Inappropriate Matching" - 19 "Constraint Violation" - 20 "Attribute Or Value Exists" - 21 "Ãðåøåí ïðàâîïèñ" - 22 "" - 23 "" - 24 "" - 25 "" - 26 "" - 27 "" - 28 "" - 29 "" - 30 "" - 31 "" - 32 "Ëèïñâàù ïðåäìåò (îáåêò)" - 33 "Alias Problem" - 34 "Invalid DN Syntax" - 35 "Is Leaf" - 36 "Alias Dereference Problem" - 37 "" - 38 "" - 39 "" - 40 "" - 41 "" - 42 "" - 43 "" - 44 "" - 45 "" - 46 "" - 47 "" - 48 "Inappropriate Authentication" - 49 "Invalid Credentials" - 50 "Insufficient Rights" - 51 "Çàåò" - 52 "Íåíàëè÷åí" - 53 "Unwilling To Perform" - 54 "Loop Detected" - 55 "" - 56 "" - 57 "" - 58 "" - 59 "" - 60 "Sort Control Missing" - 61 "Index range error" - 62 "" - 63 "" - 64 "Naming Violation" - 65 "Object Class Violation" - 66 "Not allowed on Non-leaf" - 67 "Not allowed on RDN" - 68 "Âå÷å ñúùåñòâóâà" - 69 "No Object Class Mods" - 70 "Results Too Large" - 71 "Affects Multiple DSAs" - 72 "" - 73 "" - 74 "" - 75 "" - 76 "" - 77 "" - 78 "" - 79 "" - 80 "Äðóãà" - 81 "Server Down" - 82 "Ìåñòíà ãðåøêà" - 83 "Encoding Error" - 84 "Decoding Error" - 85 "Èçòè÷àíå íà âðåìåòî" - 86 "Auth Unknown" - 87 "Filter Error" - 88 "Îòêàç íà ïîòðåáèòåëÿ" - 89 "Parameter Error" - 90 "Íÿìà ïàìåò" - 91 "Can't connect to the LDAP server" - 92 "Operation not supported by this version of the LDAP protocol" - 93 "Specified control was not found in message" - 94 "No result present in message" - 95 "More results returned" - 96 "Loop while handling referrals" - 97 "Referral hop limit exceeded" -} Modified: trunk/reactos/dll/win32/wldap32/wldap32_En.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wldap32/wldap32_…
============================================================================== --- trunk/reactos/dll/win32/wldap32/wldap32_En.rc (original) +++ trunk/reactos/dll/win32/wldap32/wldap32_En.rc Fri Jul 27 14:20:13 2007 @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT STRINGTABLE DISCARDABLE { Modified: trunk/reactos/dll/win32/wldap32/wldap32_Ko.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wldap32/wldap32_…
============================================================================== --- trunk/reactos/dll/win32/wldap32/wldap32_Ko.rc (original) +++ trunk/reactos/dll/win32/wldap32/wldap32_Ko.rc Fri Jul 27 14:20:13 2007 @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -LANGUAGE LANG_KOREAN, SUBLANG_DEFAULT +LANGUAGE LANG_KOREAN, SUBLANG_NEUTRAL STRINGTABLE DISCARDABLE {
17 years, 5 months
1
0
0
0
[winesync] 27921: Autosyncing with Wine HEAD
by winesync@svn.reactos.org
Author: winesync Date: Fri Jul 27 14:17:42 2007 New Revision: 27921 URL:
http://svn.reactos.org/svn/reactos?rev=27921&view=rev
Log: Autosyncing with Wine HEAD Added: trunk/reactos/dll/win32/version/ver.spec (with props) trunk/reactos/dll/win32/version/ver16.c (with props) trunk/reactos/dll/win32/version/version.spec (with props) trunk/reactos/dll/win32/version/version_ros.diff (with props) Removed: trunk/reactos/dll/win32/version/misc/ trunk/reactos/dll/win32/version/version.def trunk/reactos/dll/win32/version/version_specs Modified: trunk/reactos/dll/win32/version/info.c trunk/reactos/dll/win32/version/install.c trunk/reactos/dll/win32/version/resource.c trunk/reactos/dll/win32/version/version.rbuild trunk/reactos/dll/win32/version/version.rc Modified: trunk/reactos/dll/win32/version/info.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/version/info.c?r…
============================================================================== --- trunk/reactos/dll/win32/version/info.c (original) +++ trunk/reactos/dll/win32/version/info.c Fri Jul 27 14:17:42 2007 @@ -18,7 +18,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * */ @@ -28,10 +28,10 @@ #include "windef.h" #include "winbase.h" -#include "winreg.h" #include "winver.h" #include "winternl.h" #include "winuser.h" +#include "wine/winuser16.h" #include "wine/unicode.h" #include "winerror.h" #include "wine/debug.h" @@ -46,7 +46,7 @@ * Added this function to clean up the code. * *****************************************************************************/ -static void print_vffi_debug(VS_FIXEDFILEINFO *vffi) +static void print_vffi_debug(const VS_FIXEDFILEINFO *vffi) { BOOL versioned_printer = FALSE; @@ -69,7 +69,7 @@ { WORD mode = LOWORD(vffi->dwFileVersionMS); WORD ver_rev = HIWORD(vffi->dwFileVersionLS); - TRACE("fileversion=%lu.%u.%u.%u (%s.major.minor.release), ", + TRACE("fileversion=%u.%u.%u.%u (%s.major.minor.release), ", (vffi->dwFileVersionMS), HIBYTE(ver_rev), LOBYTE(ver_rev), LOWORD(vffi->dwFileVersionLS), (mode == 3) ? "Usermode" : ((mode <= 2) ? "Kernelmode" : "?") ); @@ -84,7 +84,7 @@ HIWORD(vffi->dwProductVersionMS),LOWORD(vffi->dwProductVersionMS), HIWORD(vffi->dwProductVersionLS),LOWORD(vffi->dwProductVersionLS)); - TRACE("flagmask=0x%lx, flags=0x%lx %s%s%s%s%s%s\n", + TRACE("flagmask=0x%x, flags=0x%x %s%s%s%s%s%s\n", vffi->dwFileFlagsMask, vffi->dwFileFlags, (vffi->dwFileFlags & VS_FF_DEBUG) ? "DEBUG," : "", (vffi->dwFileFlags & VS_FF_PRERELEASE) ? "PRERELEASE," : "", @@ -105,7 +105,7 @@ case VOS_NT:TRACE("NT,");break; case VOS_UNKNOWN: default: - TRACE("UNKNOWN(0x%lx),",vffi->dwFileOS&0xFFFF0000);break; + TRACE("UNKNOWN(0x%x),",vffi->dwFileOS&0xFFFF0000);break; } switch (LOWORD(vffi->dwFileOS)) @@ -130,7 +130,7 @@ { if(versioned_printer) /* NT3.x/NT4.0 or old w2k Driver */ TRACE(",PRINTER"); - TRACE(" (subtype=0x%lx)", vffi->dwFileSubtype); + TRACE(" (subtype=0x%x)", vffi->dwFileSubtype); } break; case VFT_DRV: @@ -151,7 +151,7 @@ case VFT2_DRV_VERSIONED_PRINTER:TRACE("VERSIONED_PRINTER");break; case VFT2_UNKNOWN: default: - TRACE("UNKNOWN(0x%lx)",vffi->dwFileSubtype);break; + TRACE("UNKNOWN(0x%x)",vffi->dwFileSubtype);break; } break; case VFT_FONT: @@ -161,18 +161,18 @@ case VFT2_FONT_RASTER:TRACE("RASTER");break; case VFT2_FONT_VECTOR:TRACE("VECTOR");break; case VFT2_FONT_TRUETYPE:TRACE("TRUETYPE");break; - default:TRACE("UNKNOWN(0x%lx)",vffi->dwFileSubtype);break; + default:TRACE("UNKNOWN(0x%x)",vffi->dwFileSubtype);break; } break; case VFT_VXD:TRACE("filetype=VXD");break; case VFT_STATIC_LIB:TRACE("filetype=STATIC_LIB");break; case VFT_UNKNOWN: default: - TRACE("filetype=Unknown(0x%lx)",vffi->dwFileType);break; + TRACE("filetype=Unknown(0x%x)",vffi->dwFileType);break; } TRACE("\n"); - TRACE("filedate=0x%lx.0x%lx\n",vffi->dwFileDateMS,vffi->dwFileDateLS); + TRACE("filedate=0x%x.0x%x\n",vffi->dwFileDateMS,vffi->dwFileDateLS); } /*********************************************************************** @@ -207,7 +207,7 @@ } VS_VERSION_INFO_STRUCT32; #define VersionInfoIs16( ver ) \ - ( ((VS_VERSION_INFO_STRUCT16 *)ver)->szKey[0] >= ' ' ) + ( ((const VS_VERSION_INFO_STRUCT16 *)ver)->szKey[0] >= ' ' ) #define DWORD_ALIGN( base, ptr ) \ ( (LPBYTE)(base) + ((((LPBYTE)(ptr) - (LPBYTE)(base)) + 3) & ~3) ) @@ -218,10 +218,10 @@ DWORD_ALIGN( (ver), (ver)->szKey + strlenW((ver)->szKey) + 1 ) #define VersionInfo16_Children( ver ) \ - (VS_VERSION_INFO_STRUCT16 *)( VersionInfo16_Value( ver ) + \ + (const VS_VERSION_INFO_STRUCT16 *)( VersionInfo16_Value( ver ) + \ ( ( (ver)->wValueLength + 3 ) & ~3 ) ) #define VersionInfo32_Children( ver ) \ - (VS_VERSION_INFO_STRUCT32 *)( VersionInfo32_Value( ver ) + \ + (const VS_VERSION_INFO_STRUCT32 *)( VersionInfo32_Value( ver ) + \ ( ( (ver)->wValueLength * \ ((ver)->wType? 2 : 1) + 3 ) & ~3 ) ) @@ -238,7 +238,7 @@ */ static DWORD VERSION_GetFileVersionInfo_PE( LPCWSTR filename, DWORD datasize, LPVOID data ) { - VS_FIXEDFILEINFO *vffi; + const VS_FIXEDFILEINFO *vffi; DWORD len; BYTE *buf; HMODULE hModule; @@ -259,7 +259,7 @@ } hRsrc = FindResourceW(hModule, MAKEINTRESOURCEW(VS_VERSION_INFO), - (LPCWSTR) VS_FILE_INFO); + MAKEINTRESOURCEW(VS_FILE_INFO)); if(!hRsrc) { WARN("Could not find VS_VERSION_INFO in %s\n", debugstr_w(filename)); @@ -280,7 +280,7 @@ if ( vffi->dwSignature != VS_FFI_SIGNATURE ) { - WARN("vffi->dwSignature is 0x%08lx, but not 0x%08lx!\n", + WARN("vffi->dwSignature is 0x%08x, but not 0x%08lx!\n", vffi->dwSignature, VS_FFI_SIGNATURE ); len = 0xFFFFFFFF; goto END; @@ -314,7 +314,7 @@ */ static DWORD VERSION_GetFileVersionInfo_16( LPCSTR filename, DWORD datasize, LPVOID data ) { - VS_FIXEDFILEINFO *vffi; + const VS_FIXEDFILEINFO *vffi; DWORD len, offset; BYTE *buf; HMODULE16 hModule; @@ -415,7 +415,7 @@ if ( vffi->dwSignature != VS_FFI_SIGNATURE ) { - WARN("vffi->dwSignature is 0x%08lx, but not 0x%08lx!\n", + WARN("vffi->dwSignature is 0x%08x, but not 0x%08lx!\n", vffi->dwSignature, VS_FFI_SIGNATURE ); len = 0xFFFFFFFF; goto END; @@ -505,7 +505,7 @@ * * This extra buffer is used for ANSI to Unicode conversions in W-Calls. * info->wLength should be the same as len. Currently it isn't but that - * doesn't seem to be a problem (len is bigger then info->wLength). + * doesn't seem to be a problem (len is bigger than info->wLength). */ len = (len - sizeof(VS_FIXEDFILEINFO)) * 4; #endif /* ! __REACTOS__ */ @@ -555,7 +555,7 @@ DWORD len; VS_VERSION_INFO_STRUCT32* vvis = (VS_VERSION_INFO_STRUCT32*)data; - TRACE("(%s,%ld,size=%ld,data=%p)\n", + TRACE("(%s,%d,size=%d,data=%p)\n", debugstr_w(filename), handle, datasize, data ); if (!data) @@ -627,7 +627,7 @@ UNICODE_STRING filenameW; BOOL retval; - TRACE("(%s,%ld,size=%ld,data=%p)\n", + TRACE("(%s,%d,size=%d,data=%p)\n", debugstr_a(filename), handle, datasize, data ); if(filename) @@ -645,14 +645,14 @@ /*********************************************************************** * VersionInfo16_FindChild [internal] */ -static VS_VERSION_INFO_STRUCT16 *VersionInfo16_FindChild( VS_VERSION_INFO_STRUCT16 *info, +static const VS_VERSION_INFO_STRUCT16 *VersionInfo16_FindChild( const VS_VERSION_INFO_STRUCT16 *info, LPCSTR szKey, UINT cbKey ) { - VS_VERSION_INFO_STRUCT16 *child = VersionInfo16_Children( info ); + const VS_VERSION_INFO_STRUCT16 *child = VersionInfo16_Children( info ); while ((char *)child < (char *)info + info->wLength ) { - if ( !strncasecmp( child->szKey, szKey, cbKey ) ) + if (!strncasecmp( child->szKey, szKey, cbKey ) && !child->szKey[cbKey]) return child; if (!(child->wLength)) return NULL; @@ -665,14 +665,14 @@ /*********************************************************************** * VersionInfo32_FindChild [internal] */ -static VS_VERSION_INFO_STRUCT32 *VersionInfo32_FindChild( VS_VERSION_INFO_STRUCT32 *info, +static const VS_VERSION_INFO_STRUCT32 *VersionInfo32_FindChild( const VS_VERSION_INFO_STRUCT32 *info, LPCWSTR szKey, UINT cbKey ) { - VS_VERSION_INFO_STRUCT32 *child = VersionInfo32_Children( info ); + const VS_VERSION_INFO_STRUCT32 *child = VersionInfo32_Children( info ); while ((char *)child < (char *)info + info->wLength ) { - if ( !strncmpiW( child->szKey, szKey, cbKey ) ) + if (!strncmpiW( child->szKey, szKey, cbKey ) && !child->szKey[cbKey]) return child; child = VersionInfo32_Next( child ); @@ -686,7 +686,7 @@ * * Gets a value from a 16-bit NE resource */ -static BOOL WINAPI VersionInfo16_QueryValue( VS_VERSION_INFO_STRUCT16 *info, LPCSTR lpSubBlock, +static BOOL WINAPI VersionInfo16_QueryValue( const VS_VERSION_INFO_STRUCT16 *info, LPCSTR lpSubBlock, LPVOID *lplpBuffer, UINT *puLen ) { while ( *lpSubBlock ) @@ -706,7 +706,12 @@ /* We have a non-empty component: search info for key */ info = VersionInfo16_FindChild( info, lpSubBlock, lpNextSlash-lpSubBlock ); - if ( !info ) return FALSE; + if ( !info ) + { + if (puLen) *puLen = 0 ; + SetLastError( ERROR_RESOURCE_TYPE_NOT_FOUND ); + return FALSE; + } /* Skip path component */ lpSubBlock = lpNextSlash; @@ -725,7 +730,7 @@ * * Gets a value from a 32-bit PE resource */ -static BOOL WINAPI VersionInfo32_QueryValue( VS_VERSION_INFO_STRUCT32 *info, LPCWSTR lpSubBlock, +static BOOL WINAPI VersionInfo32_QueryValue( const VS_VERSION_INFO_STRUCT32 *info, LPCWSTR lpSubBlock, LPVOID *lplpBuffer, UINT *puLen ) { TRACE("lpSubBlock : (%s)\n", debugstr_w(lpSubBlock)); @@ -747,7 +752,12 @@ /* We have a non-empty component: search info for key */ info = VersionInfo32_FindChild( info, lpSubBlock, lpNextSlash-lpSubBlock ); - if ( !info ) return FALSE; + if ( !info ) + { + if (puLen) *puLen = 0 ; + SetLastError( ERROR_RESOURCE_TYPE_NOT_FOUND ); + return FALSE; + } /* Skip path component */ lpSubBlock = lpNextSlash; @@ -769,13 +779,10 @@ { static const char rootA[] = "\\"; static const char varfileinfoA[] = "\\VarFileInfo\\Translation"; - VS_VERSION_INFO_STRUCT16 *info = (VS_VERSION_INFO_STRUCT16 *)pBlock; + const VS_VERSION_INFO_STRUCT16 *info = (const VS_VERSION_INFO_STRUCT16 *)pBlock; TRACE("(%p,%s,%p,%p)\n", pBlock, debugstr_a(lpSubBlock), lplpBuffer, puLen ); - - if (!pBlock) - return FALSE; if ( !VersionInfoIs16( info ) ) { @@ -797,8 +804,11 @@ if (ret && strcasecmp( lpSubBlock, rootA ) && strcasecmp( lpSubBlock, varfileinfoA )) { + /* Set lpBuffer so it points to the 'empty' area where we store + * the converted strings + */ LPSTR lpBufferA = (LPSTR)pBlock + info->wLength + 4; - DWORD pos = (LPSTR)*lplpBuffer - (LPSTR)pBlock; + DWORD pos = (LPCSTR)*lplpBuffer - (LPCSTR)pBlock; len = WideCharToMultiByte(CP_ACP, 0, (LPCWSTR)*lplpBuffer, -1, lpBufferA + pos, info->wLength - pos, NULL, NULL); @@ -821,13 +831,10 @@ static const WCHAR varfileinfoW[] = { '\\','V','a','r','F','i','l','e','I','n','f','o', '\\','T','r','a','n','s','l','a','t','i','o','n', 0 }; - VS_VERSION_INFO_STRUCT32 *info = (VS_VERSION_INFO_STRUCT32 *)pBlock; + const VS_VERSION_INFO_STRUCT32 *info = (const VS_VERSION_INFO_STRUCT32 *)pBlock; TRACE("(%p,%s,%p,%p)\n", pBlock, debugstr_w(lpSubBlock), lplpBuffer, puLen ); - - if (!pBlock) - return FALSE; if ( VersionInfoIs16( info ) ) { @@ -849,8 +856,11 @@ if (ret && strcmpiW( lpSubBlock, rootW ) && strcmpiW( lpSubBlock, varfileinfoW )) { + /* Set lpBuffer so it points to the 'empty' area where we store + * the converted strings + */ LPWSTR lpBufferW = (LPWSTR)((LPSTR)pBlock + info->wLength); - DWORD pos = (LPSTR)*lplpBuffer - (LPSTR)pBlock; + DWORD pos = (LPCSTR)*lplpBuffer - (LPCSTR)pBlock; DWORD max = (info->wLength - sizeof(VS_FIXEDFILEINFO)) * 4 - info->wLength; len = MultiByteToWideChar(CP_ACP, 0, (LPCSTR)*lplpBuffer, -1, Modified: trunk/reactos/dll/win32/version/install.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/version/install.…
============================================================================== --- trunk/reactos/dll/win32/version/install.c (original) +++ trunk/reactos/dll/win32/version/install.c Fri Jul 27 14:17:42 2007 @@ -16,7 +16,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * * TODO * o Check the installation functions. @@ -208,7 +208,7 @@ *lpuCurDirLen = curDirSizeReq; } - TRACE("ret = %lu (%s%s%s) curdir=%s destdir=%s\n", retval, + TRACE("ret = %u (%s%s%s) curdir=%s destdir=%s\n", retval, (retval & VFF_CURNEDEST) ? "VFF_CURNEDEST " : "", (retval & VFF_FILEINUSE) ? "VFF_FILEINUSE " : "", (retval & VFF_BUFFTOOSMALL) ? "VFF_BUFFTOOSMALL " : "", @@ -299,7 +299,7 @@ *lpuCurDirLen = curDirSizeReq; } - TRACE("ret = %lu (%s%s%s) curdir=%s destdir=%s\n", retval, + TRACE("ret = %u (%s%s%s) curdir=%s destdir=%s\n", retval, (retval & VFF_CURNEDEST) ? "VFF_CURNEDEST " : "", (retval & VFF_FILEINUSE) ? "VFF_FILEINUSE " : "", (retval & VFF_BUFFTOOSMALL) ? "VFF_BUFFTOOSMALL " : "", @@ -338,7 +338,7 @@ if ((*vffi)->dwSignature == 0x004f0049) /* hack to detect unicode */ *vffi = (VS_FIXEDFILEINFO*)(buf+0x28); if ((*vffi)->dwSignature != VS_FFI_SIGNATURE) - WARN("Bad VS_FIXEDFILEINFO signature 0x%08lx\n",(*vffi)->dwSignature); + WARN("Bad VS_FIXEDFILEINFO signature 0x%08x\n",(*vffi)->dwSignature); return buf; } } @@ -453,7 +453,8 @@ if (buf1) { buf2 = _fetch_versioninfo(tmpfn,&tmpvffi); if (buf2) { - char *tbuf1,*tbuf2; + char *tbuf1,*tbuf2; + static const CHAR trans_array[] = "\\VarFileInfo\\Translation"; UINT len1,len2; len1=len2=40; @@ -470,8 +471,8 @@ (destvffi->dwFileSubtype!=tmpvffi->dwFileSubtype) ) xret |= VIF_MISMATCH|VIF_DIFFTYPE; - if (VerQueryValueA(buf1,"\\VarFileInfo\\Translation",(LPVOID*)&tbuf1,&len1) && - VerQueryValueA(buf2,"\\VarFileInfo\\Translation",(LPVOID*)&tbuf2,&len2) + if (VerQueryValueA(buf1,trans_array,(LPVOID*)&tbuf1,&len1) && + VerQueryValueA(buf2,trans_array,(LPVOID*)&tbuf2,&len2) ) { /* Do something with tbuf1 and tbuf2 * generates DIFFLANG|MISMATCH Modified: trunk/reactos/dll/win32/version/resource.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/version/resource…
============================================================================== --- trunk/reactos/dll/win32/version/resource.c (original) +++ trunk/reactos/dll/win32/version/resource.c Fri Jul 27 14:17:42 2007 @@ -17,7 +17,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ #include "config.h" @@ -31,7 +31,7 @@ # include <unistd.h> #endif -//#define NONAMELESSUNION +#define NONAMELESSUNION #define NONAMELESSSTRUCT #include "windef.h" #include "winbase.h" @@ -40,14 +40,8 @@ #include "wine/unicode.h" #include "wine/winbase16.h" #include "wine/winuser16.h" -#include "winver.h" #include "wine/debug.h" - -/* - * Quick and dirty hacking - * -sedwards - */ /* winnt.h */ #define IMAGE_FILE_RESOURCE_DIRECTORY 2 @@ -73,9 +67,9 @@ while (min <= max) { pos = (min + max) / 2; - if (entry[pos].Id == id) - return (const IMAGE_RESOURCE_DIRECTORY *)((const char *)root + entry[pos].OffsetToDirectory); - if (entry[pos].Id > id) max = pos - 1; + if (entry[pos].u1.s2.Id == id) + return (const IMAGE_RESOURCE_DIRECTORY *)((const char *)root + entry[pos].u2.s3.OffsetToDirectory); + if (entry[pos].u1.s2.Id > id) max = pos - 1; else min = pos + 1; } return NULL; @@ -94,7 +88,7 @@ const IMAGE_RESOURCE_DIRECTORY_ENTRY *entry; entry = (const IMAGE_RESOURCE_DIRECTORY_ENTRY *)(dir + 1); - return (const IMAGE_RESOURCE_DIRECTORY *)((const char *)root + entry->OffsetToDirectory); + return (const IMAGE_RESOURCE_DIRECTORY *)((const char *)root + entry->u2.s3.OffsetToDirectory); } @@ -132,11 +126,11 @@ while (min <= max) { pos = (min + max) / 2; - str = (const IMAGE_RESOURCE_DIR_STRING_U *)((const char *)root + entry[pos].NameOffset); + str = (const IMAGE_RESOURCE_DIR_STRING_U *)((const char *)root + entry[pos].u1.s1.NameOffset); res = strncmpiW( nameW, str->NameString, str->Length ); if (!res && namelen == str->Length) { - ret = (const IMAGE_RESOURCE_DIRECTORY *)((const char *)root + entry[pos].OffsetToDirectory); + ret = (const IMAGE_RESOURCE_DIRECTORY *)((const char *)root + entry[pos].u2.s3.OffsetToDirectory); break; } if (res < 0) max = pos - 1; @@ -413,7 +407,7 @@ OFSTRUCT ofs; DWORD reslen; - TRACE("(%s,type=0x%lx,id=0x%lx,off=%p)\n", + TRACE("(%s,type=0x%x,id=0x%x,off=%p)\n", debugstr_a(lpszFileName), (LONG)lpszResType, (LONG)lpszResId, lpszResId ); @@ -425,6 +419,7 @@ case IMAGE_OS2_SIGNATURE: #ifdef __REACTOS__ ERR("OS2 Images not supported under ReactOS at this time."); + retv = 0; #else retv = find_ne_resource( lzfd, lpszResType, lpszResId, &reslen, lpdwFileOffset ); @@ -454,7 +449,7 @@ OFSTRUCT ofs; DWORD reslen = dwResLen; - TRACE("(%s,type=%p,id=%p,off=%ld,len=%ld,data=%p)\n", + TRACE("(%s,type=%p,id=%p,off=%d,len=%d,data=%p)\n", debugstr_a(lpszFileName), lpszResType, lpszResId, dwFileOffset, dwResLen, lpvData ); @@ -468,6 +463,7 @@ case IMAGE_OS2_SIGNATURE: #ifdef __REACTOS__ ERR("OS2 Images not supported under ReactOS at this time."); + retv = 0; #else retv = find_ne_resource( lzfd, lpszResType, lpszResId, &reslen, &dwFileOffset ); Added: trunk/reactos/dll/win32/version/ver.spec URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/version/ver.spec…
============================================================================== --- trunk/reactos/dll/win32/version/ver.spec (added) +++ trunk/reactos/dll/win32/version/ver.spec Fri Jul 27 14:17:42 2007 @@ -1,0 +1,12 @@ +#1 DLLENTRYPOINT +2 pascal GetFileResourceSize(str str str ptr) GetFileResourceSize16 +3 pascal GetFileResource(str str str long long ptr) GetFileResource16 +6 pascal GetFileVersionInfoSize(str ptr) GetFileVersionInfoSize16 +7 pascal GetFileVersionInfo(str long long ptr) GetFileVersionInfo16 +8 pascal VerFindFile(word str str str ptr ptr ptr ptr) VerFindFile16 +9 pascal VerInstallFile(word str str str str str ptr ptr) VerInstallFile16 +10 pascal VerLanguageName(word ptr word) VerLanguageName16 +11 pascal VerQueryValue(segptr str ptr ptr) VerQueryValue16 +20 stub GETFILEVERSIONINFORAW +#21 VERFTHK_THUNKDATA16 +#22 VERTHKSL_THUNKDATA16 Propchange: trunk/reactos/dll/win32/version/ver.spec ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/dll/win32/version/ver16.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/version/ver16.c?…
============================================================================== --- trunk/reactos/dll/win32/version/ver16.c (added) +++ trunk/reactos/dll/win32/version/ver16.c Fri Jul 27 14:17:42 2007 @@ -1,0 +1,122 @@ +/* + * Implementation of VER.DLL + * + * Copyright 1999 Ulrich Weigand + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include <stdarg.h> + +#include "windef.h" +#include "wine/winbase16.h" +#include "winver.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(ver); + + +/************************************************************************* + * GetFileVersionInfoSize [VER.6] + */ +DWORD WINAPI GetFileVersionInfoSize16( LPCSTR lpszFileName, LPDWORD lpdwHandle ) +{ + TRACE("(%s, %p)\n", debugstr_a(lpszFileName), lpdwHandle ); + return GetFileVersionInfoSizeA( lpszFileName, lpdwHandle ); +} + +/************************************************************************* + * GetFileVersionInfo [VER.7] + */ +DWORD WINAPI GetFileVersionInfo16( LPCSTR lpszFileName, DWORD handle, + DWORD cbBuf, LPVOID lpvData ) +{ + TRACE("(%s, %08x, %d, %p)\n", + debugstr_a(lpszFileName), handle, cbBuf, lpvData ); + + return GetFileVersionInfoA( lpszFileName, handle, cbBuf, lpvData ); +} + +/************************************************************************* + * VerFindFile [VER.8] + */ +DWORD WINAPI VerFindFile16( UINT16 flags, LPSTR lpszFilename, + LPSTR lpszWinDir, LPSTR lpszAppDir, + LPSTR lpszCurDir, UINT16 *lpuCurDirLen, + LPSTR lpszDestDir, UINT16 *lpuDestDirLen ) +{ + UINT curDirLen, destDirLen; + DWORD retv = VerFindFileA( flags, lpszFilename, lpszWinDir, lpszAppDir, + lpszCurDir, &curDirLen, lpszDestDir, &destDirLen ); + + *lpuCurDirLen = (UINT16)curDirLen; + *lpuDestDirLen = (UINT16)destDirLen; + return retv; +} + +/************************************************************************* + * VerInstallFile [VER.9] + */ +DWORD WINAPI VerInstallFile16( UINT16 flags, + LPSTR lpszSrcFilename, LPSTR lpszDestFilename, + LPSTR lpszSrcDir, LPSTR lpszDestDir, LPSTR lpszCurDir, + LPSTR lpszTmpFile, UINT16 *lpwTmpFileLen ) +{ + UINT filelen; + DWORD retv = VerInstallFileA( flags, lpszSrcFilename, lpszDestFilename, + lpszSrcDir, lpszDestDir, lpszCurDir, + lpszTmpFile, &filelen); + + *lpwTmpFileLen = (UINT16)filelen; + return retv; +} + +/************************************************************************* + * VerLanguageName [VER.10] + */ +DWORD WINAPI VerLanguageName16( UINT16 uLang, LPSTR lpszLang, UINT16 cbLang ) +{ + return VerLanguageNameA( uLang, lpszLang, cbLang ); +} + +/************************************************************************* + * VerQueryValue [VER.11] + */ +DWORD WINAPI VerQueryValue16( SEGPTR spvBlock, LPSTR lpszSubBlock, + SEGPTR *lpspBuffer, UINT16 *lpcb ) +{ + LPVOID lpvBlock = MapSL( spvBlock ); + LPVOID buffer = lpvBlock; + UINT buflen; + DWORD retv; + + TRACE("(%p, %s, %p, %p)\n", + lpvBlock, debugstr_a(lpszSubBlock), lpspBuffer, lpcb ); + + retv = VerQueryValueA( lpvBlock, lpszSubBlock, &buffer, &buflen ); + if ( !retv ) return FALSE; + + if ( OFFSETOF( spvBlock ) + ((char *) buffer - (char *) lpvBlock) >= 0x10000 ) + { + FIXME("offset %08X too large relative to %04X:%04X\n", + (char *) buffer - (char *) lpvBlock, SELECTOROF( spvBlock ), OFFSETOF( spvBlock ) ); + return FALSE; + } + + if (lpcb) *lpcb = buflen; + *lpspBuffer = (SEGPTR) ((char *) spvBlock + ((char *) buffer - (char *) lpvBlock)); + + return retv; +} Propchange: trunk/reactos/dll/win32/version/ver16.c ------------------------------------------------------------------------------ svn:eol-style = native Removed: trunk/reactos/dll/win32/version/version.def URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/version/version.…
============================================================================== --- trunk/reactos/dll/win32/version/version.def (original) +++ trunk/reactos/dll/win32/version/version.def (removed) @@ -1,19 +1,0 @@ -; $Id$ -; ReactOS Operating System -; -LIBRARY version.dll -EXPORTS -GetFileVersionInfoA@16 -GetFileVersionInfoSizeA@8 -GetFileVersionInfoSizeW@8 -GetFileVersionInfoW@16 -VerFindFileA@32 -VerFindFileW@32 -VerInstallFileA@32 -VerInstallFileW@32 -VerLanguageNameA(a)12=KERNEL32.VerLanguageNameA -VerLanguageNameW(a)12=KERNEL32.VerLanguageNameW -VerQueryValueA@16 -VerQueryValueIndexA@24 -VerQueryValueIndexW@24 -VerQueryValueW@16 Modified: trunk/reactos/dll/win32/version/version.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/version/version.…
============================================================================== --- trunk/reactos/dll/win32/version/version.rbuild (original) +++ trunk/reactos/dll/win32/version/version.rbuild Fri Jul 27 14:17:42 2007 @@ -1,21 +1,20 @@ <module name="version" type="win32dll" baseaddress="${BASEADDRESS_VERSION}" installbase="system32" installname="version.dll" allowwarnings="true"> - <importlibrary definition="version.def" /> + <importlibrary definition="version.spec.def" /> + <include base="version">.</include> <include base="ReactOS">include/reactos/wine</include> - <define name="_DISABLE_TIDENTS" /> <define name="__REACTOS__" /> + <define name="__WINESRC__" /> <define name="__USE_W32API" /> <define name="_WIN32_IE">0x600</define> <define name="_WIN32_WINNT">0x501</define> <define name="WINVER">0x501</define> <library>wine</library> + <library>lz32</library> + <library>kernel32</library> <library>ntdll</library> - <library>kernel32</library> - <directory name="misc"> - <file>libmain.c</file> - <file>stubs.c</file> - </directory> <file>info.c</file> <file>install.c</file> <file>resource.c</file> <file>version.rc</file> + <file>version.spec</file> </module> Modified: trunk/reactos/dll/win32/version/version.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/version/version.…
============================================================================== --- trunk/reactos/dll/win32/version/version.rc (original) +++ trunk/reactos/dll/win32/version/version.rc Fri Jul 27 14:17:42 2007 @@ -1,7 +1,26 @@ -/* $Id$ */ +/* + * Copyright (c) 2007 Alexandre Julliard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ -#define REACTOS_VERSION_DLL -#define REACTOS_STR_FILE_DESCRIPTION "Version checking and file installation library\0" -#define REACTOS_STR_INTERNAL_NAME "version\0" -#define REACTOS_STR_ORIGINAL_FILENAME "version.dll\0" -#include <reactos/version.rc> +#define WINE_FILEDESCRIPTION_STR "Wine version dll" +#define WINE_FILENAME_STR "version.dll" +#define WINE_FILEVERSION 5,1,2600,2180 +#define WINE_FILEVERSION_STR "5.1.2600.2180" +#define WINE_PRODUCTVERSION 5,1,2600,2180 +#define WINE_PRODUCTVERSION_STR "5.1.2600.2180" + +#include "wine/wine_common_ver.rc" Added: trunk/reactos/dll/win32/version/version.spec URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/version/version.…
============================================================================== --- trunk/reactos/dll/win32/version/version.spec (added) +++ trunk/reactos/dll/win32/version/version.spec Fri Jul 27 14:17:42 2007 @@ -1,0 +1,12 @@ +@ stdcall GetFileVersionInfoA(str long long ptr) +@ stdcall GetFileVersionInfoSizeA(str ptr) +@ stdcall GetFileVersionInfoSizeW(wstr ptr) +@ stdcall GetFileVersionInfoW(wstr long long ptr) +@ stdcall VerFindFileA(long str str str ptr ptr ptr ptr) +@ stdcall VerFindFileW(long wstr wstr wstr ptr ptr ptr ptr) +@ stdcall VerInstallFileA(long str str str str str ptr ptr) +@ stdcall VerInstallFileW(long wstr wstr wstr wstr wstr ptr ptr) +@ stdcall VerLanguageNameA(long str long) kernel32.VerLanguageNameA +@ stdcall VerLanguageNameW(long wstr long) kernel32.VerLanguageNameW +@ stdcall VerQueryValueA(ptr str ptr ptr) +@ stdcall VerQueryValueW(ptr wstr ptr ptr) Propchange: trunk/reactos/dll/win32/version/version.spec ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/dll/win32/version/version_ros.diff URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/version/version_…
============================================================================== --- trunk/reactos/dll/win32/version/version_ros.diff (added) +++ trunk/reactos/dll/win32/version/version_ros.diff Fri Jul 27 14:17:42 2007 @@ -1,0 +1,164 @@ +Index: info.c +=================================================================== +--- info.c (revision 23123) ++++ info.c (working copy) +@@ -30,6 +30,7 @@ + #include "winbase.h" + #include "winver.h" + #include "winternl.h" ++#include "winuser.h" + #include "wine/winuser16.h" + #include "wine/unicode.h" + #include "winerror.h" +@@ -304,6 +305,7 @@ + return len; + } + ++#ifndef __REACTOS__ + /*********************************************************************** + * VERSION_GetFileVersionInfo_16 [internal] + * +@@ -437,6 +440,7 @@ + + return len; + } ++#endif /* ! __REACTOS__ */ + + /*********************************************************************** + * GetFileVersionInfoSizeW [VERSION.@] +@@ -470,6 +473,10 @@ + + if (!len) + { ++#ifdef __REACTOS__ ++ SetLastError(ERROR_FILE_NOT_FOUND); ++ return 0; ++#else /* __REACTOS__ */ + LPSTR filenameA; + + len = WideCharToMultiByte( CP_ACP, 0, filename, -1, NULL, 0, NULL, NULL ); +@@ -501,6 +508,7 @@ + * doesn't seem to be a problem (len is bigger than info->wLength). + */ + len = (len - sizeof(VS_FIXEDFILEINFO)) * 4; ++#endif /* ! __REACTOS__ */ + } + else + { +@@ -565,6 +573,10 @@ + + if (!len) + { ++#ifdef __REACTOS__ ++ SetLastError(ERROR_RESOURCE_DATA_NOT_FOUND); ++ return FALSE; ++#else /* __REACTOS__ */ + LPSTR filenameA; + + len = WideCharToMultiByte( CP_ACP, 0, filename, -1, NULL, 0, NULL, NULL ); +@@ -580,6 +592,7 @@ + return FALSE; + } + /* We have a 16bit resource. */ ++#endif /* ! __REACTOS__ */ + } + else + { +Index: install.c +=================================================================== +--- install.c (revision 23123) ++++ install.c (working copy) +@@ -122,7 +122,7 @@ + * Reimplementation of VerFindFile from original stub. + */ + DWORD WINAPI VerFindFileA( +- UINT flags, ++ DWORD flags, + LPSTR lpszFilename, + LPSTR lpszWinDir, + LPSTR lpszAppDir, +@@ -220,7 +220,7 @@ + /***************************************************************************** + * VerFindFileW [VERSION.@] + */ +-DWORD WINAPI VerFindFileW( UINT flags,LPWSTR lpszFilename,LPWSTR lpszWinDir, ++DWORD WINAPI VerFindFileW( DWORD flags,LPWSTR lpszFilename,LPWSTR lpszWinDir, + LPWSTR lpszAppDir, LPWSTR lpszCurDir,UINT *lpuCurDirLen, + LPWSTR lpszDestDir,UINT *lpuDestDirLen ) + { +@@ -361,7 +361,7 @@ + * VerInstallFileA [VERSION.@] + */ + DWORD WINAPI VerInstallFileA( +- UINT flags,LPSTR srcfilename,LPSTR destfilename,LPSTR srcdir, ++ DWORD flags,LPSTR srcfilename,LPSTR destfilename,LPSTR srcdir, + LPSTR destdir,LPSTR curdir,LPSTR tmpfile,UINT *tmpfilelen ) + { + LPCSTR pdest; +@@ -529,7 +529,7 @@ + * VerInstallFileW [VERSION.@] + */ + DWORD WINAPI VerInstallFileW( +- UINT flags,LPWSTR srcfilename,LPWSTR destfilename,LPWSTR srcdir, ++ DWORD flags,LPWSTR srcfilename,LPWSTR destfilename,LPWSTR srcdir, + LPWSTR destdir,LPWSTR curdir,LPWSTR tmpfile,UINT *tmpfilelen ) + { + LPSTR wsrcf = NULL, wsrcd = NULL, wdestf = NULL, wdestd = NULL, wtmpf = NULL, wcurd = NULL; +Index: resource.c +=================================================================== +--- resource.c (revision 23123) ++++ resource.c (working copy) +@@ -43,6 +43,9 @@ + + #include "wine/debug.h" + ++/* winnt.h */ ++#define IMAGE_FILE_RESOURCE_DIRECTORY 2 ++ + WINE_DEFAULT_DEBUG_CHANNEL(ver); + + +@@ -169,6 +172,7 @@ + return 0; + } + ++#ifndef __REACTOS__ + /*********************************************************************** + * load_ne_resource [internal] + */ +@@ -267,6 +272,7 @@ + HeapFree( GetProcessHeap(), 0, resTab ); + return TRUE; + } ++#endif /* ! __REACTOS__ */ + + /*********************************************************************** + * load_pe_resource [internal] +@@ -412,8 +417,13 @@ + switch ( read_xx_header( lzfd ) ) + { + case IMAGE_OS2_SIGNATURE: ++#ifdef __REACTOS__ ++ ERR("OS2 Images not supported under ReactOS at this time."); ++ retv = 0; ++#else + retv = find_ne_resource( lzfd, lpszResType, lpszResId, + &reslen, lpdwFileOffset ); ++#endif + break; + + case IMAGE_NT_SIGNATURE: +@@ -451,8 +461,13 @@ + switch ( read_xx_header( lzfd ) ) + { + case IMAGE_OS2_SIGNATURE: ++#ifdef __REACTOS__ ++ ERR("OS2 Images not supported under ReactOS at this time."); ++ retv = 0; ++#else + retv = find_ne_resource( lzfd, lpszResType, lpszResId, + &reslen, &dwFileOffset ); ++#endif + break; + + case IMAGE_NT_SIGNATURE: Propchange: trunk/reactos/dll/win32/version/version_ros.diff ------------------------------------------------------------------------------ svn:eol-style = native Removed: trunk/reactos/dll/win32/version/version_specs URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/version/version_…
============================================================================== --- trunk/reactos/dll/win32/version/version_specs (original) +++ trunk/reactos/dll/win32/version/version_specs (removed) @@ -1,78 +1,0 @@ -*asm: - - -*asm_final: - - -*cpp: --remap %(cpp_cpu) %{posix:-D_POSIX_SOURCE} - -*cc1: -%(cc1_spec) - -*cc1plus: - - -*endfile: - - -*link: -%{mwindows:--subsystem windows} %{mdll:--dll -e _DllMainCRTStartup@12} - -*lib: - - -*libgcc: --lgcc - -*startfile: - - -*switches_need_spaces: - - -*signed_char: -%{funsigned-char:-D__CHAR_UNSIGNED__} - -*predefines: --Di386 -D_WIN32 -DWIN32 -D__WIN32__ -D__MINGW32__ -DWINNT -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D_stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) -Asystem(winnt) -Acpu(i386) -Amachine(i386) - -*cross_compile: -1 - -*version: -egcs-2.91.57 - -*multilib: -. ; - -*multilib_defaults: - - -*multilib_extra: - - -*multilib_matches: - - -*linker: -collect2 - -*cpp_486: -%{!ansi:-Di486} -D__i486 -D__i486__ - -*cpp_586: -%{!ansi:-Di586 -Dpentium} -D__i586 -D__i586__ -D__pentium -D__pentium__ - -*cpp_686: -%{!ansi:-Di686 -Dpentiumpro} -D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__ - -*cpp_cpu_default: -%(cpp_586) - -*cpp_cpu: --Acpu(i386) -Amachine(i386) %{!ansi:-Di386} -D__i386 -D__i386__ %{mcpu=i486:%(cpp_486)} %{m486:%(cpp_486)} %{mpentium:%(cpp_586)} %{mcpu=pentium:%(cpp_586)} %{mpentiumpro:%(cpp_686)} %{mcpu=pentiumpro:%(cpp_686)} %{!mcpu*:%{!m486:%{!mpentium*:%(cpp_cpu_default)}}} - -*cc1_cpu: -%{!mcpu*: %{m386:-mcpu=i386 -march=i386} %{mno-486:-mcpu=i386 -march=i386} %{m486:-mcpu=i486 -march=i486} %{mno-386:-mcpu=i486 -march=i486} %{mno-pentium:-mcpu=i486 -march=i486} %{mpentium:-mcpu=pentium} %{mno-pentiumpro:-mcpu=pentium} %{mpentiumpro:-mcpu=pentiumpro}} -
17 years, 5 months
1
0
0
0
[winesync] 27920: Autosyncing with Wine HEAD
by winesync@svn.reactos.org
Author: winesync Date: Fri Jul 27 14:12:10 2007 New Revision: 27920 URL:
http://svn.reactos.org/svn/reactos?rev=27920&view=rev
Log: Autosyncing with Wine HEAD Modified: trunk/reactos/dll/win32/uxtheme/metric.c trunk/reactos/dll/win32/uxtheme/msstyles.c trunk/reactos/dll/win32/uxtheme/property.c Modified: trunk/reactos/dll/win32/uxtheme/metric.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/uxtheme/metric.c…
============================================================================== --- trunk/reactos/dll/win32/uxtheme/metric.c (original) +++ trunk/reactos/dll/win32/uxtheme/metric.c Fri Jul 27 14:12:10 2007 @@ -31,7 +31,6 @@ #include "tmschema.h" #include "msstyles.h" -#include "uxthemedll.h" #include "wine/debug.h" Modified: trunk/reactos/dll/win32/uxtheme/msstyles.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/uxtheme/msstyles…
============================================================================== --- trunk/reactos/dll/win32/uxtheme/msstyles.c (original) +++ trunk/reactos/dll/win32/uxtheme/msstyles.c Fri Jul 27 14:12:10 2007 @@ -32,7 +32,6 @@ #include "uxtheme.h" #include "tmschema.h" -#include "uxthemedll.h" #include "msstyles.h" #include "wine/unicode.h" Modified: trunk/reactos/dll/win32/uxtheme/property.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/uxtheme/property…
============================================================================== --- trunk/reactos/dll/win32/uxtheme/property.c (original) +++ trunk/reactos/dll/win32/uxtheme/property.c Fri Jul 27 14:12:10 2007 @@ -31,7 +31,6 @@ #include "tmschema.h" #include "msstyles.h" -#include "uxthemedll.h" #include "wine/debug.h"
17 years, 5 months
1
0
0
0
← Newer
1
...
11
12
13
14
15
16
17
...
71
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Results per page:
10
25
50
100
200