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
September 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
19 participants
589 discussions
Start a n
N
ew thread
[gedmurphy] 28888: don't try to free a NULL pointer
by gedmurphy@svn.reactos.org
Author: gedmurphy Date: Thu Sep 6 02:44:46 2007 New Revision: 28888 URL:
http://svn.reactos.org/svn/reactos?rev=28888&view=rev
Log: don't try to free a NULL pointer Modified: trunk/reactos/base/system/services/config.c Modified: trunk/reactos/base/system/services/config.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/confi…
============================================================================== --- trunk/reactos/base/system/services/config.c (original) +++ trunk/reactos/base/system/services/config.c Thu Sep 6 02:44:46 2007 @@ -288,7 +288,8 @@ if (dwError != ERROR_SUCCESS) { HeapFree(GetProcessHeap(), 0, ptr); - HeapFree(GetProcessHeap(), 0, expanded); + if (expanded) + HeapFree(GetProcessHeap(), 0, expanded); } return dwError;
17 years, 3 months
1
0
0
0
[gedmurphy] 28887: - Implement the RPC server calls for QueryServiceConfig2 and ChangeServiceConfig2 (SmcrChangeServiceConfig2 is untested) - This fixes the retrieval of the service description in servman
by gedmurphy@svn.reactos.org
Author: gedmurphy Date: Thu Sep 6 02:35:51 2007 New Revision: 28887 URL:
http://svn.reactos.org/svn/reactos?rev=28887&view=rev
Log: - Implement the RPC server calls for QueryServiceConfig2 and ChangeServiceConfig2 (SmcrChangeServiceConfig2 is untested) - This fixes the retrieval of the service description in servman Modified: trunk/reactos/base/system/services/rpcserver.c Modified: trunk/reactos/base/system/services/rpcserver.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/rpcse…
============================================================================== --- trunk/reactos/base/system/services/rpcserver.c (original) +++ trunk/reactos/base/system/services/rpcserver.c Thu Sep 6 02:35:51 2007 @@ -2219,8 +2219,93 @@ unsigned char *lpInfo, unsigned long dwInfoSize) { - DPRINT1("ScmrChangeServiceConfig2W() is unimplemented\n"); - return ERROR_CALL_NOT_IMPLEMENTED; + DWORD dwError = ERROR_SUCCESS; + PSERVICE_HANDLE hSvc; + PSERVICE lpService = NULL; + HKEY hServiceKey = NULL; + + DPRINT("ScmrChangeServiceConfig2W() called\n"); + DPRINT("dwInfoLevel = %lu\n", dwInfoLevel); + DPRINT("dwInfoSize = %lu\n", dwInfoSize); + + if (ScmShutdown) + return ERROR_SHUTDOWN_IN_PROGRESS; + + hSvc = (PSERVICE_HANDLE)hService; + if (hSvc->Handle.Tag != SERVICE_TAG) + { + DPRINT1("Invalid handle tag!\n"); + return ERROR_INVALID_HANDLE; + } + + if (!RtlAreAllAccessesGranted(hSvc->Handle.DesiredAccess, + SERVICE_CHANGE_CONFIG)) + { + DPRINT1("Insufficient access rights! 0x%lx\n", hSvc->Handle.DesiredAccess); + return ERROR_ACCESS_DENIED; + } + + lpService = hSvc->ServiceEntry; + if (lpService == NULL) + { + DPRINT1("lpService == NULL!\n"); + return ERROR_INVALID_HANDLE; + } + + /* FIXME: Lock database exclusively */ + + if (lpService->bDeleted) + { + /* FIXME: Unlock database */ + DPRINT1("The service has already been marked for delete!\n"); + return ERROR_SERVICE_MARKED_FOR_DELETE; + } + + /* Open the service key */ + dwError = ScmOpenServiceKey(lpService->szServiceName, + KEY_SET_VALUE, + &hServiceKey); + if (dwError != ERROR_SUCCESS) + goto done; + + if (dwInfoLevel & SERVICE_CONFIG_DESCRIPTION) + { + LPSERVICE_DESCRIPTIONW lpServiceDescription = (LPSERVICE_DESCRIPTIONW)lpInfo; + + if (dwInfoSize != sizeof(*lpServiceDescription)) + { + dwError = ERROR_INVALID_PARAMETER; + goto done; + } + + if (lpServiceDescription != NULL && lpServiceDescription->lpDescription != NULL) + { + RegSetValueExW(hServiceKey, + L"Description", + 0, + REG_SZ, + (LPBYTE)lpServiceDescription->lpDescription, + (wcslen(lpServiceDescription->lpDescription) + 1) * sizeof(WCHAR)); + + if (dwError != ERROR_SUCCESS) + goto done; + } + } + else if (dwInfoLevel & SERVICE_CONFIG_FAILURE_ACTIONS) + { + DPRINT1("SERVICE_CONFIG_FAILURE_ACTIONS not implemented\n"); + dwError = ERROR_CALL_NOT_IMPLEMENTED; + goto done; + } + +done: + /* FIXME: Unlock database */ + if (hServiceKey != NULL) + RegCloseKey(hServiceKey); + + DPRINT("ScmrChangeServiceConfigW() done (Error %lu)\n", dwError); + + return dwError; } @@ -2247,8 +2332,92 @@ unsigned long cbBufSize, unsigned long *pcbBytesNeeded) { - DPRINT1("ScmrQueryServiceConfig2W() is unimplemented\n"); - return ERROR_CALL_NOT_IMPLEMENTED; + DWORD dwError = ERROR_SUCCESS; + PSERVICE_HANDLE hSvc; + PSERVICE lpService = NULL; + HKEY hServiceKey = NULL; + DWORD dwRequiredSize; + LPWSTR lpDescription = NULL; + + DPRINT("ScmrQueryServiceConfig2W() called\n"); + + if (ScmShutdown) + return ERROR_SHUTDOWN_IN_PROGRESS; + + hSvc = (PSERVICE_HANDLE)hService; + if (hSvc->Handle.Tag != SERVICE_TAG) + { + DPRINT1("Invalid handle tag!\n"); + return ERROR_INVALID_HANDLE; + } + + if (!RtlAreAllAccessesGranted(hSvc->Handle.DesiredAccess, + SERVICE_QUERY_CONFIG)) + { + DPRINT1("Insufficient access rights! 0x%lx\n", hSvc->Handle.DesiredAccess); + return ERROR_ACCESS_DENIED; + } + + lpService = hSvc->ServiceEntry; + if (lpService == NULL) + { + DPRINT1("lpService == NULL!\n"); + return ERROR_INVALID_HANDLE; + } + + /* FIXME: Lock the service database shared */ + + dwError = ScmOpenServiceKey(lpService->lpServiceName, + KEY_READ, + &hServiceKey); + if (dwError != ERROR_SUCCESS) + goto done; + + if (dwInfoLevel & SERVICE_CONFIG_DESCRIPTION) + { + LPSERVICE_DESCRIPTIONW lpServiceDescription = (LPSERVICE_DESCRIPTIONW)lpBuffer; + LPWSTR lpStr; + + dwError = ScmReadString(hServiceKey, + L"Description", + &lpDescription); + if (dwError != ERROR_SUCCESS) + goto done; + + dwRequiredSize = sizeof(SERVICE_DESCRIPTIONW) + ((wcslen(lpDescription) + 1) * sizeof(WCHAR)); + + if (cbBufSize < dwRequiredSize) + { + *pcbBytesNeeded = dwRequiredSize; + dwError = ERROR_INSUFFICIENT_BUFFER; + goto done; + } + else + { + lpStr = (LPWSTR)(lpServiceDescription + 1); + wcscpy(lpStr, lpDescription); + lpServiceDescription->lpDescription = (LPWSTR)((ULONG_PTR)lpStr - (ULONG_PTR)lpServiceDescription); + } + } + else if (dwInfoLevel & SERVICE_CONFIG_FAILURE_ACTIONS) + { + DPRINT1("SERVICE_CONFIG_FAILURE_ACTIONS not implemented\n"); + dwError = ERROR_CALL_NOT_IMPLEMENTED; + goto done; + } + +done: + if (lpDescription != NULL) + HeapFree(GetProcessHeap(), 0, lpDescription); + + if (hServiceKey != NULL) + RegCloseKey(hServiceKey); + + /* FIXME: Unlock database */ + + DPRINT("ScmrQueryServiceConfig2W() done (Error %lu)\n", dwError); + + return dwError; }
17 years, 3 months
1
0
0
0
[fireball] 28886: - Fix IntEaLength's type (ULONG -> LONG), so it could actually become negative, and corresponding check will be performed.
by fireball@svn.reactos.org
Author: fireball Date: Thu Sep 6 01:35:09 2007 New Revision: 28886 URL:
http://svn.reactos.org/svn/reactos?rev=28886&view=rev
Log: - Fix IntEaLength's type (ULONG -> LONG), so it could actually become negative, and corresponding check will be performed. Modified: trunk/reactos/ntoskrnl/io/iomgr/util.c Modified: trunk/reactos/ntoskrnl/io/iomgr/util.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/util.c?r…
============================================================================== --- trunk/reactos/ntoskrnl/io/iomgr/util.c (original) +++ trunk/reactos/ntoskrnl/io/iomgr/util.c Thu Sep 6 01:35:09 2007 @@ -139,7 +139,8 @@ OUT PULONG ErrorOffset) { PFILE_FULL_EA_INFORMATION EaBufferEnd; - ULONG NextEaBufferOffset, IntEaLength; + ULONG NextEaBufferOffset; + LONG IntEaLength; /* Lenght of the rest. Inital equal to EaLength */ IntEaLength = EaLength;
17 years, 3 months
1
0
0
0
[fireball] 28885: UINT -> ULONG
by fireball@svn.reactos.org
Author: fireball Date: Thu Sep 6 01:32:04 2007 New Revision: 28885 URL:
http://svn.reactos.org/svn/reactos?rev=28885&view=rev
Log: UINT -> ULONG Modified: trunk/reactos/ntoskrnl/kdbg/kdb.h trunk/reactos/ntoskrnl/kdbg/kdb_keyboard.c trunk/reactos/ntoskrnl/kdbg/kdb_serial.c Modified: trunk/reactos/ntoskrnl/kdbg/kdb.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/kdbg/kdb.h?rev=28…
============================================================================== --- trunk/reactos/ntoskrnl/kdbg/kdb.h (original) +++ trunk/reactos/ntoskrnl/kdbg/kdb.h Thu Sep 6 01:32:04 2007 @@ -249,11 +249,11 @@ #define KdbpGetCharKeyboard(ScanCode) KdbpTryGetCharKeyboard(ScanCode, 0) CHAR -KdbpTryGetCharKeyboard(PULONG ScanCode, UINT Retry); +KdbpTryGetCharKeyboard(PULONG ScanCode, ULONG Retry); #define KdbpGetCharSerial() KdbpTryGetCharSerial(0) CHAR -KdbpTryGetCharSerial(UINT Retry); +KdbpTryGetCharSerial(ULONG Retry); VOID KdbEnter(VOID); Modified: trunk/reactos/ntoskrnl/kdbg/kdb_keyboard.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/kdbg/kdb_keyboard…
============================================================================== --- trunk/reactos/ntoskrnl/kdbg/kdb_keyboard.c (original) +++ trunk/reactos/ntoskrnl/kdbg/kdb_keyboard.c Thu Sep 6 01:32:04 2007 @@ -62,7 +62,7 @@ } CHAR -KdbpTryGetCharKeyboard(PULONG ScanCode, UINT Retry) +KdbpTryGetCharKeyboard(PULONG ScanCode, ULONG Retry) { static byte_t last_key = 0; static byte_t shift = 0; Modified: trunk/reactos/ntoskrnl/kdbg/kdb_serial.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/kdbg/kdb_serial.c…
============================================================================== --- trunk/reactos/ntoskrnl/kdbg/kdb_serial.c (original) +++ trunk/reactos/ntoskrnl/kdbg/kdb_serial.c Thu Sep 6 01:32:04 2007 @@ -17,7 +17,7 @@ #include <debug.h> CHAR -KdbpTryGetCharSerial(UINT Retry) +KdbpTryGetCharSerial(ULONG Retry) { CHAR Result = -1;
17 years, 3 months
1
0
0
0
[janderwald] 28884: - delete pidfile if it exists before launching emulator - delete pidfile on exit - close pidfile on failure
by janderwald@svn.reactos.org
Author: janderwald Date: Thu Sep 6 01:00:32 2007 New Revision: 28884 URL:
http://svn.reactos.org/svn/reactos?rev=28884&view=rev
Log: - delete pidfile if it exists before launching emulator - delete pidfile on exit - close pidfile on failure Modified: trunk/reactos/tools/sysreg/rosboot_test.cpp Modified: trunk/reactos/tools/sysreg/rosboot_test.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/rosboot_test.…
============================================================================== --- trunk/reactos/tools/sysreg/rosboot_test.cpp (original) +++ trunk/reactos/tools/sysreg/rosboot_test.cpp Thu Sep 6 01:00:32 2007 @@ -578,22 +578,19 @@ return false; } } + if (m_PidFile.length () && isFileExisting(m_PidFile)) + { + cerr << "Deleting pid file " << m_PidFile << endl; + _tremove(m_PidFile.c_str ()); + } + cerr << "Opening Data Source:" << m_BootCmd << endl; - -/* -#ifdef __LINUX__ - _tremove(m_PidFile.c_str ()); - m_DataSource = new PipeReader(); - m_Src = m_BootCmd; -#else -*/ m_DataSource = new NamedPipeReader(); if (!executeBootCmd()) { cerr << "Error: failed to launch emulator with: " << m_BootCmd << endl; return false; } -//#endif return true; } @@ -647,6 +644,11 @@ } delete m_DataSource; m_DataSource = NULL; + + if (m_PidFile.length ()) + { + _tremove(m_PidFile.c_str ()); + } } //--------------------------------------------------------------------------------------- @@ -720,6 +722,7 @@ if (!fread(buffer, 1, sizeof(buffer), file)) { cerr << "Error: pid file w/o pid!!! " << endl; + fclose(file); cleanup(); return false; }
17 years, 3 months
1
0
0
0
[tkreuzer] 28883: New implementation of EnumFontFamiliesExW, based on NtGdiEnumFontXxx, does not work on ros, because those apis are not implemented yet, but it works on Windows XP.
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Wed Sep 5 23:32:37 2007 New Revision: 28883 URL:
http://svn.reactos.org/svn/reactos?rev=28883&view=rev
Log: New implementation of EnumFontFamiliesExW, based on NtGdiEnumFontXxx, does not work on ros, because those apis are not implemented yet, but it works on Windows XP. Modified: trunk/reactos/dll/win32/gdi32/objects/font.c Modified: trunk/reactos/dll/win32/gdi32/objects/font.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/objects/fo…
============================================================================== --- trunk/reactos/dll/win32/gdi32/objects/font.c (original) +++ trunk/reactos/dll/win32/gdi32/objects/font.c Wed Sep 5 23:32:37 2007 @@ -1310,6 +1310,70 @@ #endif } - - - +#define EfdFontFamilies 3 + +INT +STDCALL +NewEnumFontFamiliesExW( + HDC hDC, + LPLOGFONTW lpLogfont, + FONTENUMPROCW lpEnumFontFamExProcW, + LPARAM lParam, + DWORD dwFlags) +{ + ULONG_PTR idEnum, ulCount, ulSize; + PENUMFONTDATAW pEfdw; + PBYTE pBuffer; + PBYTE pMax; + INT ret = 1; + + idEnum = NtGdiEnumFontOpen(hDC, + EfdFontFamilies, + 0, + LF_FACESIZE, + lpLogfont->lfFaceName, + lpLogfont->lfCharSet, + &ulCount); + if (idEnum == 0) + { + return 0; + } + if (ulCount == 0) + { + NtGdiEnumFontClose(idEnum); + return 0; + } + + pBuffer = HeapAlloc(GetProcessHeap(), 0, ulCount); + if (pBuffer == NULL) + { + NtGdiEnumFontClose(idEnum); + return 0; + } + pMax = pBuffer + ulCount; + + if (!NtGdiEnumFontChunk(hDC, idEnum, ulCount, &ulSize, (PVOID)pBuffer)) + { + HeapFree(GetProcessHeap(), 0, pBuffer); + NtGdiEnumFontClose(idEnum); + return 0; + } + + /* Iterate through the structures */ + for (pEfdw = (PENUMFONTDATAW)pBuffer; + (PBYTE)pEfdw < pMax && pEfdw->cbSize != 0 && ret != 0; + pEfdw = (PENUMFONTDATAW)((PBYTE)pEfdw + pEfdw->cbSize)) + { + ENUMLOGFONTEXW *pElfew = &pEfdw->efdi.elfex; + NEWTEXTMETRICEXW *pNtmew = (NEWTEXTMETRICEXW*)((PBYTE)&pEfdw->efdi + pEfdw->efdi.cbSize + sizeof(DWORD)); // FIXME + DWORD dwFontType = pEfdw->efdi.dwFontType; + ret = lpEnumFontFamExProcW(pElfew, pNtmew, dwFontType, lParam); + } + + HeapFree(GetProcessHeap(), 0, pBuffer); + NtGdiEnumFontClose(idEnum); + + return ret; +} + +
17 years, 3 months
1
0
0
0
[tkreuzer] 28882: different implementation of ENUMFONTDATA structure
by tkreuzer@svn.reactos.org
Author: tkreuzer Date: Wed Sep 5 23:27:16 2007 New Revision: 28882 URL:
http://svn.reactos.org/svn/reactos?rev=28882&view=rev
Log: different implementation of ENUMFONTDATA structure Modified: trunk/reactos/include/reactos/win32k/ntgdityp.h Modified: trunk/reactos/include/reactos/win32k/ntgdityp.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/win32k/ntg…
============================================================================== --- trunk/reactos/include/reactos/win32k/ntgdityp.h (original) +++ trunk/reactos/include/reactos/win32k/ntgdityp.h Wed Sep 5 23:27:16 2007 @@ -120,36 +120,33 @@ TMDIFF Diff; } TMW_INTERNAL, *PTMW_INTERNAL; -typedef struct _DESIGNVECTORINT { - DWORD dvReserved; - DWORD dvNumAxes; - LONG dvValues[0]; -} DESIGNVECTORINT, *PDESIGNVECTORINT; - -typedef struct _ENUMFONTDATAINT +typedef struct { - DWORD dwReserved; - DWORD dwReserved1; - ENUMTEXTMETRICW etmTm; -} ENUMFONTDATAINT, *PENUMFONTDATAINT; - -typedef struct _ENUMFONTDATAW -{ - DWORD dwSize; // Full size of this structure. - ULONG ulOffsetTM; // Offset to enfdi in this structure. - DWORD dwFontType; // If sign set scale enum. - ENUMLOGFONTEXW elfex; + ULONG cbSize; + DWORD dwFontType; + ENUMLOGFONTEXW elfex; /* - * Yuam 14.5: + * Yuan 14.5: * DESIGNVECTOR is a variable-size data structure that specifies the number of * axes and a value for each axis. * So it maybe smaller than MM_MAX_NUMAXES. */ - DESIGNVECTORINT DesignVectori; - ENUMFONTDATAINT enfdi; + DESIGNVECTOR dv; +} ENUMFONTDATAINTW, *PENUMFONTDATAINTW; + +/* Warning: this structure is of variable size! + * It is only to access the cbSize and efdi member. + * The rest of the structure has to be parsed. */ +typedef struct _ENUMFONTDATAW +{ + ULONG cbSize; + ENUMFONTDATAINTW efdi; +/* The following 2 members do not have a constant offset! */ +/* DWORD dwFlags; + ENUMTEXTMETRICW etm; */ } ENUMFONTDATAW, *PENUMFONTDATAW; - - + + /* Number Representation */ typedef struct _EFLOAT_S {
17 years, 3 months
1
0
0
0
[cwittich] 28881: -allocate the buffer for the NamedPipeReader on Linux too -use linux path as default in txtmode.cfg
by cwittich@svn.reactos.org
Author: cwittich Date: Wed Sep 5 21:02:30 2007 New Revision: 28881 URL:
http://svn.reactos.org/svn/reactos?rev=28881&view=rev
Log: -allocate the buffer for the NamedPipeReader on Linux too -use linux path as default in txtmode.cfg Modified: trunk/reactos/tools/sysreg/namedpipe_reader.cpp trunk/reactos/tools/sysreg/txtmode.cfg Modified: trunk/reactos/tools/sysreg/namedpipe_reader.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/namedpipe_rea…
============================================================================== --- trunk/reactos/tools/sysreg/namedpipe_reader.cpp (original) +++ trunk/reactos/tools/sysreg/namedpipe_reader.cpp Wed Sep 5 21:02:30 2007 @@ -90,6 +90,8 @@ else { cout << "NamedPipeReader::openPipe> successfully opened pipe" << endl; + m_BufferLength = 100; + m_Buffer = (char*)malloc(sizeof(char) * m_BufferLength); return true; } #endif Modified: trunk/reactos/tools/sysreg/txtmode.cfg URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/txtmode.cfg?r…
============================================================================== --- trunk/reactos/tools/sysreg/txtmode.cfg (original) +++ trunk/reactos/tools/sysreg/txtmode.cfg Wed Sep 5 21:02:30 2007 @@ -10,8 +10,8 @@ ; ; This variable sets the path to the emulator ; -ROS_EMU_PATH=E:\reactos\qemu\qemu.exe -;ROS_EMU_PATH=/usr/bin/qemu +;ROS_EMU_PATH=E:\reactos\qemu\qemu.exe +ROS_EMU_PATH=/usr/bin/qemu ; ROS_HDD_IMAGE ;
17 years, 3 months
1
0
0
0
[cwittich] 28880: fix some bugs in the linux version (not working yet)
by cwittich@svn.reactos.org
Author: cwittich Date: Wed Sep 5 20:52:45 2007 New Revision: 28880 URL:
http://svn.reactos.org/svn/reactos?rev=28880&view=rev
Log: fix some bugs in the linux version (not working yet) Modified: trunk/reactos/tools/sysreg/os_support.cpp trunk/reactos/tools/sysreg/rosboot_test.cpp Modified: trunk/reactos/tools/sysreg/os_support.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/os_support.cp…
============================================================================== --- trunk/reactos/tools/sysreg/os_support.cpp (original) +++ trunk/reactos/tools/sysreg/os_support.cpp Wed Sep 5 20:52:45 2007 @@ -126,7 +126,7 @@ void OsSupport::delayExecution(long value) { - sleep( (clock_t)value * CLOCKS_PER_SEC ); + sleep( value ); } Modified: trunk/reactos/tools/sysreg/rosboot_test.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/rosboot_test.…
============================================================================== --- trunk/reactos/tools/sysreg/rosboot_test.cpp (original) +++ trunk/reactos/tools/sysreg/rosboot_test.cpp Wed Sep 5 20:52:45 2007 @@ -717,7 +717,7 @@ return false; } char buffer[128]; - if (!fread(buffer, sizeof(buffer), 1, file)) + if (!fread(buffer, 1, sizeof(buffer), file)) { cerr << "Error: pid file w/o pid!!! " << endl; cleanup();
17 years, 3 months
1
0
0
0
[hpoussin] 28879: Fix ReactOS temporary directory name
by hpoussin@svn.reactos.org
Author: hpoussin Date: Wed Sep 5 20:33:41 2007 New Revision: 28879 URL:
http://svn.reactos.org/svn/reactos?rev=28879&view=rev
Log: Fix ReactOS temporary directory name Modified: trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp Modified: trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/backend/mingw…
============================================================================== --- trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp (original) +++ trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp Wed Sep 5 20:33:41 2007 @@ -27,7 +27,7 @@ #define CLEAN_FILE(f) clean_files.push_back ( f ); -static string ros_temp = "$(TEMPORARY)"; +static string ros_temp = "$(TEMPORARY_)"; MingwBackend* MingwModuleHandler::backend = NULL; FILE*
17 years, 3 months
1
0
0
0
← Newer
1
...
41
42
43
44
45
46
47
...
59
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
Results per page:
10
25
50
100
200