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
2025
January
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
October 2014
----- 2025 -----
January 2025
----- 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
19 participants
730 discussions
Start a n
N
ew thread
[tfaber] 64782: [PING] - Remove a broken "optimization" CORE-7509 #resolve
by tfaber@svn.reactos.org
Author: tfaber Date: Fri Oct 17 13:21:06 2014 New Revision: 64782 URL:
http://svn.reactos.org/svn/reactos?rev=64782&view=rev
Log: [PING] - Remove a broken "optimization" CORE-7509 #resolve Modified: trunk/reactos/base/applications/network/ping/CMakeLists.txt trunk/reactos/base/applications/network/ping/ping.c Modified: trunk/reactos/base/applications/network/ping/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
============================================================================== --- trunk/reactos/base/applications/network/ping/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/base/applications/network/ping/CMakeLists.txt [iso-8859-1] Fri Oct 17 13:21:06 2014 @@ -2,7 +2,7 @@ add_definitions(-D__USE_W32_SOCKETS) add_executable(ping ping.c ping.rc) set_module_type(ping win32cui UNICODE) -add_importlibs(ping ws2_32 msvcrt kernel32) +add_importlibs(ping user32 ws2_32 msvcrt kernel32) if(MSVC) add_importlibs(ping ntdll) endif() Modified: trunk/reactos/base/applications/network/ping/ping.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
============================================================================== --- trunk/reactos/base/applications/network/ping/ping.c [iso-8859-1] (original) +++ trunk/reactos/base/applications/network/ping/ping.c [iso-8859-1] Fri Oct 17 13:21:06 2014 @@ -114,30 +114,6 @@ } #endif /* !NDEBUG */ -LPWSTR -MyLoadString(UINT uID) -{ - HRSRC hres; - HGLOBAL hResData; - WCHAR *pwsz; - UINT string_num, i; - - hres = FindResourceW(NULL, MAKEINTRESOURCEW((LOWORD(uID) >> 4) + 1), RT_STRING); - if (!hres) return NULL; - - hResData = LoadResource(NULL, hres); - if (!hResData) return NULL; - - pwsz = LockResource(hResData); - if (!pwsz) return NULL; - - string_num = uID & 15; - for (i = 0; i < string_num; i++) - pwsz += *pwsz + 1; - - return pwsz + 1; -} - void FormatOutput(UINT uID, ...) { va_list valist; @@ -146,15 +122,18 @@ CHAR AnsiBuf[1024]; LPWSTR pBuf = Buf; PCHAR pAnsiBuf = AnsiBuf; - LPWSTR Format; + WCHAR Format[1024]; DWORD written; UINT DataLength; int AnsiLength; va_start(valist, uID); - Format = MyLoadString(uID); - if (!Format) return; + if (!LoadString(GetModuleHandle(NULL), uID, + Format, sizeof(Format) / sizeof(WCHAR))) + { + return; + } DataLength = FormatMessage(FORMAT_MESSAGE_FROM_STRING, Format, 0, 0, Buf,\ sizeof(Buf) / sizeof(WCHAR), &valist); @@ -272,7 +251,7 @@ if (i + 1 < argc) { DataSize = wcstoul(argv[++i], NULL, 0); - + if (DataSize > ICMP_MAXSIZE - sizeof(ICMP_ECHO_PACKET) - sizeof(IPv4_HEADER)) { FormatOutput(IDS_BAD_VALUE_OPTION_L, ICMP_MAXSIZE - \ @@ -484,7 +463,7 @@ } } -static VOID TimeToMsString(LPWSTR String, LARGE_INTEGER Time) +static VOID TimeToMsString(LPWSTR String, ULONG Length, LARGE_INTEGER Time) { WCHAR Convstr[40]; LARGE_INTEGER LargeTime; @@ -494,8 +473,8 @@ _i64tow(LargeTime.QuadPart, Convstr, 10); wcscpy(String, Convstr); - ms = MyLoadString(IDS_MS); - wcscat(String, ms); + ms = String + wcslen(String); + LoadString(GetModuleHandle(NULL), IDS_MS, ms, Length - (ms - String)); } /* Locate the ICMP data and print it. Returns TRUE if the packet was good, @@ -555,16 +534,13 @@ if ((RelativeTime.QuadPart / TicksPerMs.QuadPart) < 1) { - LPWSTR ms1; - wcscpy(Sign, L"<"); - ms1 = MyLoadString(IDS_1MS); - wcscpy(Time, ms1); + LoadString(GetModuleHandle(NULL), IDS_1MS, Time, sizeof(Time) / sizeof(WCHAR)); } else { wcscpy(Sign, L"="); - TimeToMsString(Time, RelativeTime); + TimeToMsString(Time, sizeof(Time) / sizeof(WCHAR), RelativeTime); } @@ -740,9 +716,9 @@ if (!MinRTTSet) MinRTT = MaxRTT; - TimeToMsString(MinTime, MinRTT); - TimeToMsString(MaxTime, MaxRTT); - TimeToMsString(AvgTime, AvgRTT); + TimeToMsString(MinTime, sizeof(MinTime) / sizeof(WCHAR), MinRTT); + TimeToMsString(MaxTime, sizeof(MaxTime) / sizeof(WCHAR), MaxRTT); + TimeToMsString(AvgTime, sizeof(AvgTime) / sizeof(WCHAR), AvgRTT); /* Print statistics */ FormatOutput(IDS_PING_STATISTICS, TargetIP);
10 years, 2 months
1
0
0
0
[akhaldi] 64781: [KDCOM] * Use set_module_type() instead of combining set_entrypoint() and set_image_base().
by akhaldi@svn.reactos.org
Author: akhaldi Date: Fri Oct 17 11:12:03 2014 New Revision: 64781 URL:
http://svn.reactos.org/svn/reactos?rev=64781&view=rev
Log: [KDCOM] * Use set_module_type() instead of combining set_entrypoint() and set_image_base(). Modified: trunk/reactos/drivers/base/kdcom/CMakeLists.txt Modified: trunk/reactos/drivers/base/kdcom/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/base/kdcom/CMakeLi…
============================================================================== --- trunk/reactos/drivers/base/kdcom/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/drivers/base/kdcom/CMakeLists.txt [iso-8859-1] Fri Oct 17 11:12:03 2014 @@ -12,10 +12,8 @@ kdcom.rc ${CMAKE_CURRENT_BINARY_DIR}/kdcom.def) -set_entrypoint(kdcom 0) +set_module_type(kdcom module IMAGEBASE 0x00010000) set_subsystem(kdcom native) -set_image_base(kdcom 0x00010000) - add_importlibs(kdcom ntoskrnl hal) target_link_libraries(kdcom cportlib) add_dependencies(kdcom psdk bugcodes)
10 years, 2 months
1
0
0
0
[akhaldi] 64780: [CMAKE] * Fix IMAGEBASE handling.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Fri Oct 17 11:10:47 2014 New Revision: 64780 URL:
http://svn.reactos.org/svn/reactos?rev=64780&view=rev
Log: [CMAKE] * Fix IMAGEBASE handling. Modified: trunk/reactos/cmake/CMakeMacros.cmake Modified: trunk/reactos/cmake/CMakeMacros.cmake URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/CMakeMacros.cmake?re…
============================================================================== --- trunk/reactos/cmake/CMakeMacros.cmake [iso-8859-1] (original) +++ trunk/reactos/cmake/CMakeMacros.cmake [iso-8859-1] Fri Oct 17 11:10:47 2014 @@ -618,7 +618,7 @@ #set base address if(__module_IMAGEBASE) - set_image_base(${MODULE} __module_IMAGEBASE) + set_image_base(${MODULE} ${__module_IMAGEBASE}) elseif(${TYPE} STREQUAL win32dll) if(DEFINED baseaddress_${MODULE}) set_image_base(${MODULE} ${baseaddress_${MODULE}})
10 years, 2 months
1
0
0
0
[akhaldi] 64779: [LIBXML2] * Update to v2.9.2. CORE-8642
by akhaldi@svn.reactos.org
Author: akhaldi Date: Fri Oct 17 10:58:01 2014 New Revision: 64779 URL:
http://svn.reactos.org/svn/reactos?rev=64779&view=rev
Log: [LIBXML2] * Update to v2.9.2. CORE-8642 Modified: trunk/reactos/include/reactos/libs/libxml/SAX2.h trunk/reactos/include/reactos/libs/libxml/entities.h trunk/reactos/include/reactos/libs/libxml/globals.h trunk/reactos/include/reactos/libs/libxml/relaxng.h trunk/reactos/include/reactos/libs/libxml/tree.h trunk/reactos/include/reactos/libs/libxml/xmlIO.h trunk/reactos/include/reactos/libs/libxml/xmlerror.h trunk/reactos/include/reactos/libs/libxml/xmlversion.h trunk/reactos/lib/3rdparty/libxml2/COPYING trunk/reactos/lib/3rdparty/libxml2/ChangeLog trunk/reactos/lib/3rdparty/libxml2/HTMLparser.c trunk/reactos/lib/3rdparty/libxml2/HTMLtree.c trunk/reactos/lib/3rdparty/libxml2/NEWS trunk/reactos/lib/3rdparty/libxml2/SAX2.c trunk/reactos/lib/3rdparty/libxml2/buf.c trunk/reactos/lib/3rdparty/libxml2/buf.h trunk/reactos/lib/3rdparty/libxml2/c14n.c trunk/reactos/lib/3rdparty/libxml2/catalog.c trunk/reactos/lib/3rdparty/libxml2/config.h trunk/reactos/lib/3rdparty/libxml2/debugXML.c trunk/reactos/lib/3rdparty/libxml2/elfgcchack.h trunk/reactos/lib/3rdparty/libxml2/encoding.c trunk/reactos/lib/3rdparty/libxml2/entities.c trunk/reactos/lib/3rdparty/libxml2/hash.c trunk/reactos/lib/3rdparty/libxml2/include/win32config.h trunk/reactos/lib/3rdparty/libxml2/legacy.c trunk/reactos/lib/3rdparty/libxml2/nanoftp.c trunk/reactos/lib/3rdparty/libxml2/nanohttp.c trunk/reactos/lib/3rdparty/libxml2/parser.c trunk/reactos/lib/3rdparty/libxml2/parserInternals.c trunk/reactos/lib/3rdparty/libxml2/relaxng.c trunk/reactos/lib/3rdparty/libxml2/schematron.c trunk/reactos/lib/3rdparty/libxml2/threads.c trunk/reactos/lib/3rdparty/libxml2/timsort.h trunk/reactos/lib/3rdparty/libxml2/tree.c trunk/reactos/lib/3rdparty/libxml2/trio.c trunk/reactos/lib/3rdparty/libxml2/trio.h trunk/reactos/lib/3rdparty/libxml2/triodef.h trunk/reactos/lib/3rdparty/libxml2/triostr.c trunk/reactos/lib/3rdparty/libxml2/uri.c trunk/reactos/lib/3rdparty/libxml2/valid.c trunk/reactos/lib/3rdparty/libxml2/xinclude.c trunk/reactos/lib/3rdparty/libxml2/xlink.c trunk/reactos/lib/3rdparty/libxml2/xmlIO.c trunk/reactos/lib/3rdparty/libxml2/xmlcatalog.c trunk/reactos/lib/3rdparty/libxml2/xmllint.c trunk/reactos/lib/3rdparty/libxml2/xmlmemory.c trunk/reactos/lib/3rdparty/libxml2/xmlmodule.c trunk/reactos/lib/3rdparty/libxml2/xmlreader.c trunk/reactos/lib/3rdparty/libxml2/xmlregexp.c trunk/reactos/lib/3rdparty/libxml2/xmlschemas.c trunk/reactos/lib/3rdparty/libxml2/xmlschemastypes.c trunk/reactos/lib/3rdparty/libxml2/xmlwriter.c trunk/reactos/lib/3rdparty/libxml2/xpath.c trunk/reactos/lib/3rdparty/libxml2/xpointer.c trunk/reactos/lib/3rdparty/libxml2/xzlib.c trunk/reactos/lib/3rdparty/libxml2/xzlib.h trunk/reactos/media/doc/3rd Party Files.txt [This mail would be too long, it was shortened to contain the URLs only.] Modified: trunk/reactos/include/reactos/libs/libxml/SAX2.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/libxm…
Modified: trunk/reactos/include/reactos/libs/libxml/entities.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/libxm…
Modified: trunk/reactos/include/reactos/libs/libxml/globals.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/libxm…
Modified: trunk/reactos/include/reactos/libs/libxml/relaxng.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/libxm…
Modified: trunk/reactos/include/reactos/libs/libxml/tree.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/libxm…
Modified: trunk/reactos/include/reactos/libs/libxml/xmlIO.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/libxm…
Modified: trunk/reactos/include/reactos/libs/libxml/xmlerror.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/libxm…
Modified: trunk/reactos/include/reactos/libs/libxml/xmlversion.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/libxm…
Modified: trunk/reactos/lib/3rdparty/libxml2/COPYING URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/COPYI…
Modified: trunk/reactos/lib/3rdparty/libxml2/ChangeLog URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/Chang…
Modified: trunk/reactos/lib/3rdparty/libxml2/HTMLparser.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/HTMLp…
Modified: trunk/reactos/lib/3rdparty/libxml2/HTMLtree.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/HTMLt…
Modified: trunk/reactos/lib/3rdparty/libxml2/NEWS URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/NEWS?…
Modified: trunk/reactos/lib/3rdparty/libxml2/SAX2.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/SAX2.…
Modified: trunk/reactos/lib/3rdparty/libxml2/buf.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/buf.c…
Modified: trunk/reactos/lib/3rdparty/libxml2/buf.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/buf.h…
Modified: trunk/reactos/lib/3rdparty/libxml2/c14n.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/c14n.…
Modified: trunk/reactos/lib/3rdparty/libxml2/catalog.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/catal…
Modified: trunk/reactos/lib/3rdparty/libxml2/config.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/confi…
Modified: trunk/reactos/lib/3rdparty/libxml2/debugXML.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/debug…
Modified: trunk/reactos/lib/3rdparty/libxml2/elfgcchack.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/elfgc…
Modified: trunk/reactos/lib/3rdparty/libxml2/encoding.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/encod…
Modified: trunk/reactos/lib/3rdparty/libxml2/entities.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/entit…
Modified: trunk/reactos/lib/3rdparty/libxml2/hash.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/hash.…
Modified: trunk/reactos/lib/3rdparty/libxml2/include/win32config.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/inclu…
Modified: trunk/reactos/lib/3rdparty/libxml2/legacy.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/legac…
Modified: trunk/reactos/lib/3rdparty/libxml2/nanoftp.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/nanof…
Modified: trunk/reactos/lib/3rdparty/libxml2/nanohttp.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/nanoh…
Modified: trunk/reactos/lib/3rdparty/libxml2/parser.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/parse…
Modified: trunk/reactos/lib/3rdparty/libxml2/parserInternals.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/parse…
Modified: trunk/reactos/lib/3rdparty/libxml2/relaxng.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/relax…
Modified: trunk/reactos/lib/3rdparty/libxml2/schematron.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/schem…
Modified: trunk/reactos/lib/3rdparty/libxml2/threads.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/threa…
Modified: trunk/reactos/lib/3rdparty/libxml2/timsort.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/timso…
Modified: trunk/reactos/lib/3rdparty/libxml2/tree.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/tree.…
Modified: trunk/reactos/lib/3rdparty/libxml2/trio.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/trio.…
Modified: trunk/reactos/lib/3rdparty/libxml2/trio.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/trio.…
Modified: trunk/reactos/lib/3rdparty/libxml2/triodef.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/triod…
Modified: trunk/reactos/lib/3rdparty/libxml2/triostr.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/trios…
Modified: trunk/reactos/lib/3rdparty/libxml2/uri.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/uri.c…
Modified: trunk/reactos/lib/3rdparty/libxml2/valid.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/valid…
Modified: trunk/reactos/lib/3rdparty/libxml2/xinclude.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xincl…
Modified: trunk/reactos/lib/3rdparty/libxml2/xlink.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xlink…
Modified: trunk/reactos/lib/3rdparty/libxml2/xmlIO.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xmlIO…
Modified: trunk/reactos/lib/3rdparty/libxml2/xmlcatalog.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xmlca…
Modified: trunk/reactos/lib/3rdparty/libxml2/xmllint.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xmlli…
Modified: trunk/reactos/lib/3rdparty/libxml2/xmlmemory.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xmlme…
Modified: trunk/reactos/lib/3rdparty/libxml2/xmlmodule.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xmlmo…
Modified: trunk/reactos/lib/3rdparty/libxml2/xmlreader.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xmlre…
Modified: trunk/reactos/lib/3rdparty/libxml2/xmlregexp.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xmlre…
Modified: trunk/reactos/lib/3rdparty/libxml2/xmlschemas.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xmlsc…
Modified: trunk/reactos/lib/3rdparty/libxml2/xmlschemastypes.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xmlsc…
Modified: trunk/reactos/lib/3rdparty/libxml2/xmlwriter.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xmlwr…
Modified: trunk/reactos/lib/3rdparty/libxml2/xpath.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xpath…
Modified: trunk/reactos/lib/3rdparty/libxml2/xpointer.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xpoin…
Modified: trunk/reactos/lib/3rdparty/libxml2/xzlib.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xzlib…
Modified: trunk/reactos/lib/3rdparty/libxml2/xzlib.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libxml2/xzlib…
Modified: trunk/reactos/media/doc/3rd Party Files.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/3rd%20Party%20Fi…
10 years, 2 months
1
0
0
0
[tfaber] 64778: [NPFS] - Arch, pool tags are specified in reverse order
by tfaber@svn.reactos.org
Author: tfaber Date: Fri Oct 17 10:04:57 2014 New Revision: 64778 URL:
http://svn.reactos.org/svn/reactos?rev=64778&view=rev
Log: [NPFS] - Arch, pool tags are specified in reverse order Modified: trunk/reactos/drivers/filesystems/npfs/npfs.h Modified: trunk/reactos/drivers/filesystems/npfs/npfs.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/npfs/n…
============================================================================== --- trunk/reactos/drivers/filesystems/npfs/npfs.h [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/npfs/npfs.h [iso-8859-1] Fri Oct 17 10:04:57 2014 @@ -50,18 +50,18 @@ // NpFs - npfs.sys - Client security context // NpFw - npfs.sys - Write block // NpFW - npfs.sys - Write block -#define NPFS_CCB_TAG 'NpFc' -#define NPFS_ROOT_DCB_CCB_TAG 'NpFC' -#define NPFS_DCB_TAG 'NpFD' -#define NPFS_FCB_TAG 'NpFf' -#define NPFS_GLOBAL_TAG 'NpFg' -#define NPFS_CLIENT_INFO_TAG 'NpFi' -#define NPFS_NAME_BLOCK_TAG 'NpFn' -#define NPFS_QUERY_TEMPLATE_TAG 'NpFq' -#define NPFS_DATA_ENTRY_TAG 'NpFr' -#define NPFS_CLIENT_SEC_CTX_TAG 'NpFs' -#define NPFS_WAIT_BLOCK_TAG 'NpFt' -#define NPFS_WRITE_BLOCK_TAG 'NpFw' +#define NPFS_CCB_TAG 'cFpN' +#define NPFS_ROOT_DCB_CCB_TAG 'CFpN' +#define NPFS_DCB_TAG 'DFpN' +#define NPFS_FCB_TAG 'fFpN' +#define NPFS_GLOBAL_TAG 'gFpN' +#define NPFS_CLIENT_INFO_TAG 'iFpN' +#define NPFS_NAME_BLOCK_TAG 'nFpN' +#define NPFS_QUERY_TEMPLATE_TAG 'qFpN' +#define NPFS_DATA_ENTRY_TAG 'rFpN' +#define NPFS_CLIENT_SEC_CTX_TAG 'sFpN' +#define NPFS_WAIT_BLOCK_TAG 'tFpN' +#define NPFS_WRITE_BLOCK_TAG 'wFpN' // // NPFS bugchecking support
10 years, 2 months
1
0
0
0
[akhaldi] 64777: [WIN32K] * Workaround for CORE-8525, CORE-6023, CORE-7735 and CORE-8635. * Brought to you by V and Amine. Thanks to Timo and Jerome for the reviews. CORE-8525 CORE-6023 CORE-7735 C...
by akhaldi@svn.reactos.org
Author: akhaldi Date: Fri Oct 17 07:59:29 2014 New Revision: 64777 URL:
http://svn.reactos.org/svn/reactos?rev=64777&view=rev
Log: [WIN32K] * Workaround for CORE-8525, CORE-6023, CORE-7735 and CORE-8635. * Brought to you by V and Amine. Thanks to Timo and Jerome for the reviews. CORE-8525 CORE-6023 CORE-7735 CORE-8635 #comment Please retest with r64777 or later. Modified: trunk/reactos/win32ss/gdi/ntgdi/freetype.c Modified: trunk/reactos/win32ss/gdi/ntgdi/freetype.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/ntgdi/freetype…
============================================================================== --- trunk/reactos/win32ss/gdi/ntgdi/freetype.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/gdi/ntgdi/freetype.c [iso-8859-1] Fri Oct 17 07:59:29 2014 @@ -2664,15 +2664,42 @@ Status = RtlAnsiStringToUnicodeString(&EntryFaceNameW, &EntryFaceNameA, TRUE); if (NT_SUCCESS(Status)) { + static const UNICODE_STRING MarlettFaceNameW = RTL_CONSTANT_STRING(L"Marlett"); + static const UNICODE_STRING SymbolFaceNameW = RTL_CONSTANT_STRING(L"Symbol"); + static const UNICODE_STRING VGAFaceNameW = RTL_CONSTANT_STRING(L"VGA"); + if ((LF_FACESIZE - 1) * sizeof(WCHAR) < EntryFaceNameW.Length) { EntryFaceNameW.Length = (LF_FACESIZE - 1) * sizeof(WCHAR); EntryFaceNameW.Buffer[LF_FACESIZE - 1] = L'\0'; } - if (0 == RtlCompareUnicodeString(FaceName, &EntryFaceNameW, TRUE)) + + if (!RtlCompareUnicodeString(FaceName, &EntryFaceNameW, TRUE)) { Score += 49; } + + /* FIXME: this is a work around to counter weird fonts on weird places. + A proper fix would be to score fonts on more attributes than + the ones in this function */ + if (!RtlCompareUnicodeString(&MarlettFaceNameW, &EntryFaceNameW, TRUE) && + RtlCompareUnicodeString(&MarlettFaceNameW, FaceName, TRUE)) + { + Score = 0; + } + + if (!RtlCompareUnicodeString(&SymbolFaceNameW, &EntryFaceNameW, TRUE) && + RtlCompareUnicodeString(&SymbolFaceNameW, FaceName, TRUE)) + { + Score = 0; + } + + if (!RtlCompareUnicodeString(&VGAFaceNameW, &EntryFaceNameW, TRUE) && + RtlCompareUnicodeString(&VGAFaceNameW, FaceName, TRUE)) + { + Score = 0; + } + RtlFreeUnicodeString(&EntryFaceNameW); }
10 years, 2 months
1
0
0
0
[pschweitzer] 64776: [NTFS] Bugfixing... Part 3/X: - Really release the allocated memory in NtfsFindFileAt() and NtfsLookupFileAt(). Don't attempt to release caller pointer! This fixes crashes on d...
by pschweitzer@svn.reactos.org
Author: pschweitzer Date: Fri Oct 17 06:55:52 2014 New Revision: 64776 URL:
http://svn.reactos.org/svn/reactos?rev=64776&view=rev
Log: [NTFS] Bugfixing... Part 3/X: - Really release the allocated memory in NtfsFindFileAt() and NtfsLookupFileAt(). Don't attempt to release caller pointer! This fixes crashes on directory enumeration failure. Even though this latter still doesn't work. Modified: trunk/reactos/drivers/filesystems/ntfs/mft.c Modified: trunk/reactos/drivers/filesystems/ntfs/mft.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/ntfs/m…
============================================================================== --- trunk/reactos/drivers/filesystems/ntfs/mft.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/ntfs/mft.c [iso-8859-1] Fri Oct 17 06:55:52 2014 @@ -397,6 +397,8 @@ { ULONGLONG BytesRead; + DPRINT1("ReadFileRecord(%p, %I64x, %p)\n", Vcb, index, file); + BytesRead = ReadAttribute(Vcb, Vcb->MFTContext, index * Vcb->NtfsInfo.BytesPerFileRecord, (PCHAR)file, Vcb->NtfsInfo.BytesPerFileRecord); if (BytesRead != Vcb->NtfsInfo.BytesPerFileRecord) { @@ -714,7 +716,7 @@ if (!NT_SUCCESS(Status)) { DPRINT("NtfsLookupFileAt: Can't read MFT record\n"); - ExFreePoolWithTag(FileRecord, TAG_NTFS); + ExFreePoolWithTag(*FileRecord, TAG_NTFS); return Status; } @@ -724,7 +726,7 @@ if (!NT_SUCCESS(Status)) { DPRINT("NtfsLookupFileAt: Can't find data attribute\n"); - ExFreePoolWithTag(FileRecord, TAG_NTFS); + ExFreePoolWithTag(*FileRecord, TAG_NTFS); return Status; } @@ -775,7 +777,7 @@ if (!NT_SUCCESS(Status)) { DPRINT("NtfsFindFileAt: Can't read MFT record\n"); - ExFreePoolWithTag(FileRecord, TAG_NTFS); + ExFreePoolWithTag(*FileRecord, TAG_NTFS); return Status; } @@ -785,7 +787,7 @@ if (!NT_SUCCESS(Status)) { DPRINT("NtfsFindFileAt: Can't find data attribute\n"); - ExFreePoolWithTag(FileRecord, TAG_NTFS); + ExFreePoolWithTag(*FileRecord, TAG_NTFS); return Status; }
10 years, 2 months
1
0
0
0
[hbelusca] 64775: [FAST486]: Use psh/poppack.h here too.
by hbelusca@svn.reactos.org
Author: hbelusca Date: Fri Oct 17 02:31:14 2014 New Revision: 64775 URL:
http://svn.reactos.org/svn/reactos?rev=64775&view=rev
Log: [FAST486]: Use psh/poppack.h here too. Modified: trunk/reactos/lib/fast486/common.h Modified: trunk/reactos/lib/fast486/common.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fast486/common.h?rev=6…
============================================================================== --- trunk/reactos/lib/fast486/common.h [iso-8859-1] (original) +++ trunk/reactos/lib/fast486/common.h [iso-8859-1] Fri Oct 17 02:31:14 2014 @@ -85,7 +85,7 @@ }; } FAST486_MOD_REG_RM, *PFAST486_MOD_REG_RM; -#pragma pack(push, 1) +#include <pshpack1.h> typedef union _FAST486_PAGE_DIR { @@ -128,7 +128,7 @@ C_ASSERT(sizeof(FAST486_PAGE_DIR) == sizeof(ULONG)); -#pragma pack(pop) +#include <poppack.h> /* FUNCTIONS ******************************************************************/
10 years, 2 months
1
0
0
0
[hbelusca] 64774: [FAST486]: rename some structs and use #include <pshpack/poppack.h> for portability purposes.
by hbelusca@svn.reactos.org
Author: hbelusca Date: Fri Oct 17 02:29:48 2014 New Revision: 64774 URL:
http://svn.reactos.org/svn/reactos?rev=64774&view=rev
Log: [FAST486]: rename some structs and use #include <pshpack/poppack.h> for portability purposes. Modified: trunk/reactos/include/reactos/libs/fast486/fast486.h Modified: trunk/reactos/include/reactos/libs/fast486/fast486.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/fast4…
============================================================================== --- trunk/reactos/include/reactos/libs/fast486/fast486.h [iso-8859-1] (original) +++ trunk/reactos/include/reactos/libs/fast486/fast486.h [iso-8859-1] Fri Oct 17 02:29:48 2014 @@ -261,14 +261,14 @@ ULONG Base; } FAST486_SEG_REG, *PFAST486_SEG_REG; -typedef struct +typedef struct _FAST486_LDT_REG { USHORT Selector; ULONG Base; ULONG Limit; -} FAST486_LDT_REG; - -typedef struct +} FAST486_LDT_REG, *PFAST486_LDT_REG; + +typedef struct _FAST486_TASK_REG { USHORT Selector; ULONG Base; @@ -276,7 +276,7 @@ BOOLEAN Busy; } FAST486_TASK_REG, *PFAST486_TASK_REG; -#pragma pack(push, 1) +#include <pshpack1.h> typedef struct { @@ -350,7 +350,7 @@ /* Verify the structure size */ C_ASSERT(sizeof(FAST486_IDT_ENTRY) == sizeof(ULONGLONG)); -#pragma pack(pop) +#include <poppack.h> typedef struct _FAST486_TABLE_REG {
10 years, 2 months
1
0
0
0
[hbelusca] 64773: [FAST486]: Do not call RtlCopyMemory for copying few bytes (2 and 4).
by hbelusca@svn.reactos.org
Author: hbelusca Date: Thu Oct 16 21:48:18 2014 New Revision: 64773 URL:
http://svn.reactos.org/svn/reactos?rev=64773&view=rev
Log: [FAST486]: Do not call RtlCopyMemory for copying few bytes (2 and 4). Modified: trunk/reactos/lib/fast486/fast486.c trunk/reactos/lib/fast486/opgroups.c Modified: trunk/reactos/lib/fast486/fast486.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fast486/fast486.c?rev=…
============================================================================== --- trunk/reactos/lib/fast486/fast486.c [iso-8859-1] (original) +++ trunk/reactos/lib/fast486/fast486.c [iso-8859-1] Thu Oct 16 21:48:18 2014 @@ -117,7 +117,6 @@ Fast486MemReadCallback(PFAST486_STATE State, ULONG Address, PVOID Buffer, ULONG Size) { UNREFERENCED_PARAMETER(State); - RtlMoveMemory(Buffer, (PVOID)Address, Size); } @@ -126,7 +125,6 @@ Fast486MemWriteCallback(PFAST486_STATE State, ULONG Address, PVOID Buffer, ULONG Size) { UNREFERENCED_PARAMETER(State); - RtlMoveMemory((PVOID)Address, Buffer, Size); } Modified: trunk/reactos/lib/fast486/opgroups.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fast486/opgroups.c?rev…
============================================================================== --- trunk/reactos/lib/fast486/opgroups.c [iso-8859-1] (original) +++ trunk/reactos/lib/fast486/opgroups.c [iso-8859-1] Thu Oct 16 21:48:18 2014 @@ -2016,6 +2016,7 @@ FAST486_OPCODE_HANDLER(Fast486OpcodeGroup0F01) { + // FAST486_TABLE_REG TableReg; UCHAR TableReg[6]; FAST486_MOD_REG_RM ModRegRm; BOOLEAN OperandSize, AddressSize; @@ -2054,8 +2055,9 @@ } /* Fill the 6-byte table register */ - RtlCopyMemory(TableReg, &State->Gdtr.Size, sizeof(USHORT)); - RtlCopyMemory(&TableReg[sizeof(USHORT)], &State->Gdtr.Address, sizeof(ULONG)); + // TableReg = State->Gdtr; + *((PUSHORT)&TableReg) = State->Gdtr.Size; + *((PULONG)&TableReg[sizeof(USHORT)]) = State->Gdtr.Address; /* Store the GDTR */ return Fast486WriteMemory(State, @@ -2076,8 +2078,9 @@ } /* Fill the 6-byte table register */ - RtlCopyMemory(TableReg, &State->Idtr.Size, sizeof(USHORT)); - RtlCopyMemory(&TableReg[sizeof(USHORT)], &State->Idtr.Address, sizeof(ULONG)); + // TableReg = State->Idtr; + *((PUSHORT)&TableReg) = State->Idtr.Size; + *((PULONG)&TableReg[sizeof(USHORT)]) = State->Idtr.Address; /* Store the IDTR */ return Fast486WriteMemory(State, @@ -2117,7 +2120,8 @@ } /* Load the new GDT */ - State->Gdtr.Size = *((PUSHORT)TableReg); + // State->Gdtr = TableReg; + State->Gdtr.Size = *((PUSHORT)&TableReg); State->Gdtr.Address = *((PULONG)&TableReg[sizeof(USHORT)]); /* In 16-bit mode the highest byte is masked out */ @@ -2156,7 +2160,8 @@ } /* Load the new IDT */ - State->Idtr.Size = *((PUSHORT)TableReg); + // State->Idtr = TableReg; + State->Idtr.Size = *((PUSHORT)&TableReg); State->Idtr.Address = *((PULONG)&TableReg[sizeof(USHORT)]); /* In 16-bit mode the highest byte is masked out */
10 years, 2 months
1
0
0
0
← Newer
1
...
36
37
38
39
40
41
42
...
73
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
72
73
Results per page:
10
25
50
100
200