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
November 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
888 discussions
Start a n
N
ew thread
[hpoussin] 30089: Move files to recycle bin when asked to
by hpoussin@svn.reactos.org
Author: hpoussin Date: Sat Nov 3 17:17:00 2007 New Revision: 30089 URL:
http://svn.reactos.org/svn/reactos?rev=30089&view=rev
Log: Move files to recycle bin when asked to Modified: trunk/reactos/dll/win32/shell32/recyclebin.c trunk/reactos/dll/win32/shell32/shell32.rbuild Modified: trunk/reactos/dll/win32/shell32/recyclebin.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/recycleb…
============================================================================== --- trunk/reactos/dll/win32/shell32/recyclebin.c (original) +++ trunk/reactos/dll/win32/shell32/recyclebin.c Sat Nov 3 17:17:00 2007 @@ -806,6 +806,6 @@ BOOL TRASH_TrashFile(LPCWSTR wszPath) { - FIXME("(%s)\n", debugstr_w(wszPath)); - return FALSE; -} + TRACE("(%s)\n", debugstr_w(wszPath)); + return DeleteFileToRecycleBinW(wszPath); +} Modified: trunk/reactos/dll/win32/shell32/shell32.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shell32.…
============================================================================== --- trunk/reactos/dll/win32/shell32/shell32.rbuild (original) +++ trunk/reactos/dll/win32/shell32/shell32.rbuild Sat Nov 3 17:17:00 2007 @@ -22,7 +22,6 @@ <library>ole32</library> <library>version</library> <library>devmgr</library> - <library>rtl</library> <library>winspool</library> <file>authors.c</file> <file>autocomplete.c</file>
17 years, 1 month
1
0
0
0
[fireball] 30088: - Don't bother flushing volatile hives.
by fireball@svn.reactos.org
Author: fireball Date: Sat Nov 3 16:59:26 2007 New Revision: 30088 URL:
http://svn.reactos.org/svn/reactos?rev=30088&view=rev
Log: - Don't bother flushing volatile hives. Modified: trunk/reactos/ntoskrnl/cm/registry.c Modified: trunk/reactos/ntoskrnl/cm/registry.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/cm/registry.c?rev…
============================================================================== --- trunk/reactos/ntoskrnl/cm/registry.c (original) +++ trunk/reactos/ntoskrnl/cm/registry.c Sat Nov 3 16:59:26 2007 @@ -561,7 +561,9 @@ { Hive = CONTAINING_RECORD(Entry, CMHIVE, HiveList); - if (!(IsNoFileHive(Hive) || IsNoSynchHive(Hive))) + if (!(IsNoFileHive(Hive) || + IsNoSynchHive(Hive) || + (Hive->Hive.HiveFlags & HIVE_VOLATILE))) { /* Flush non-volatile hive */ CmiFlushRegistryHive(Hive); @@ -595,7 +597,9 @@ { Hive = CONTAINING_RECORD(Entry, CMHIVE, HiveList); - if (!(IsNoFileHive(Hive) || IsNoSynchHive(Hive))) + if (!(IsNoFileHive(Hive) || + IsNoSynchHive(Hive) || + (Hive->Hive.HiveFlags & HIVE_VOLATILE))) { /* Flush non-volatile hive */ CmiFlushRegistryHive(Hive);
17 years, 1 month
1
0
0
0
[hpoussin] 30087: Add stubs for TRASH_CanTrashFile and TRASH_TrashFile
by hpoussin@svn.reactos.org
Author: hpoussin Date: Sat Nov 3 16:39:55 2007 New Revision: 30087 URL:
http://svn.reactos.org/svn/reactos?rev=30087&view=rev
Log: Add stubs for TRASH_CanTrashFile and TRASH_TrashFile Modified: trunk/reactos/dll/win32/shell32/recyclebin.c trunk/reactos/dll/win32/shell32/shell32_ros.diff trunk/reactos/dll/win32/shell32/shlfileop.c Modified: trunk/reactos/dll/win32/shell32/recyclebin.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/recycleb…
============================================================================== --- trunk/reactos/dll/win32/shell32/recyclebin.c (original) +++ trunk/reactos/dll/win32/shell32/recyclebin.c Sat Nov 3 16:39:55 2007 @@ -796,3 +796,16 @@ return TRUE; } +BOOL +TRASH_CanTrashFile(LPCWSTR wszPath) +{ + FIXME("(%s)\n", debugstr_w(wszPath)); + return TRUE; +} + +BOOL +TRASH_TrashFile(LPCWSTR wszPath) +{ + FIXME("(%s)\n", debugstr_w(wszPath)); + return FALSE; +} Modified: trunk/reactos/dll/win32/shell32/shell32_ros.diff URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shell32_…
============================================================================== --- trunk/reactos/dll/win32/shell32/shell32_ros.diff (original) +++ trunk/reactos/dll/win32/shell32/shell32_ros.diff Sat Nov 3 16:39:55 2007 @@ -1235,29 +1235,7 @@ =================================================================== --- shlfileop.c (revision 29513) +++ shlfileop.c (working copy) -@@ -1303,8 +1303,8 @@ - return ERROR_SUCCESS; - - /* Windows also checks only the first item */ -- bTrash = (lpFileOp->fFlags & FOF_ALLOWUNDO) -- && TRASH_CanTrashFile(flFrom->feFiles[0].szFullPath); -+ bTrash = (lpFileOp->fFlags & FOF_ALLOWUNDO); -+ //&& TRASH_CanTrashFile(flFrom->feFiles[0].szFullPath); - - if (!(lpFileOp->fFlags & FOF_NOCONFIRMATION) || (!bTrash && lpFileOp->fFlags & FOF_WANTNUKEWARNING)) - if (!confirm_delete_list(lpFileOp->hwnd, lpFileOp->fFlags, bTrash, flFrom)) -@@ -1325,8 +1325,10 @@ - if (bTrash) - { - BOOL bDelete; -+#if 0 - if (TRASH_TrashFile(fileEntry->szFullPath)) - continue; -+#endif - - /* Note: Windows silently deletes the file in such a situation, we show a dialog */ - if (!(lpFileOp->fFlags & FOF_NOCONFIRMATION) || (lpFileOp->fFlags & FOF_WANTNUKEWARNING)) -@@ -1696,16 +1698,6 @@ +@@ -1696,16 +1696,6 @@ } /*********************************************************************** @@ -1274,7 +1252,7 @@ * SHPathPrepareForWriteW (SHELL32.@) */ HRESULT WINAPI SHPathPrepareForWriteW(HWND hwnd, IUnknown *modless, LPCWSTR path, DWORD flags) -@@ -1767,3 +1759,13 @@ +@@ -1767,3 +1757,13 @@ else return HRESULT_FROM_WIN32(ERROR_DIRECTORY); } Modified: trunk/reactos/dll/win32/shell32/shlfileop.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shlfileo…
============================================================================== --- trunk/reactos/dll/win32/shell32/shlfileop.c (original) +++ trunk/reactos/dll/win32/shell32/shlfileop.c Sat Nov 3 16:39:55 2007 @@ -1303,10 +1303,8 @@ return ERROR_SUCCESS; /* Windows also checks only the first item */ - bTrash = (lpFileOp->fFlags & FOF_ALLOWUNDO); -#if 0 + bTrash = (lpFileOp->fFlags & FOF_ALLOWUNDO) && TRASH_CanTrashFile(flFrom->feFiles[0].szFullPath); -#endif if (!(lpFileOp->fFlags & FOF_NOCONFIRMATION) || (!bTrash && lpFileOp->fFlags & FOF_WANTNUKEWARNING)) if (!confirm_delete_list(lpFileOp->hwnd, lpFileOp->fFlags, bTrash, flFrom)) @@ -1327,10 +1325,8 @@ if (bTrash) { BOOL bDelete; -#if 0 if (TRASH_TrashFile(fileEntry->szFullPath)) continue; -#endif /* Note: Windows silently deletes the file in such a situation, we show a dialog */ if (!(lpFileOp->fFlags & FOF_NOCONFIRMATION) || (lpFileOp->fFlags & FOF_WANTNUKEWARNING))
17 years, 1 month
1
0
0
0
[ekohl] 30086: Implement removal of environment variables by removing all environment variables from the registry and re-adding the stored ones.
by ekohl@svn.reactos.org
Author: ekohl Date: Sat Nov 3 14:02:31 2007 New Revision: 30086 URL:
http://svn.reactos.org/svn/reactos?rev=30086&view=rev
Log: Implement removal of environment variables by removing all environment variables from the registry and re-adding the stored ones. Modified: trunk/reactos/dll/cpl/sysdm/environment.c Modified: trunk/reactos/dll/cpl/sysdm/environment.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/environment.…
============================================================================== --- trunk/reactos/dll/cpl/sysdm/environment.c (original) +++ trunk/reactos/dll/cpl/sysdm/environment.c Sat Nov 3 14:02:31 2007 @@ -484,7 +484,14 @@ PVARIABLE_DATA VarData; LV_ITEM lvi; INT iItem; - HKEY hk; + HKEY hKey; + DWORD dwValueCount; + DWORD dwMaxValueNameLength; + LPTSTR *aValueArray; + DWORD dwNameLength; + DWORD i; + TCHAR szBuffer[256]; + LPTSTR lpBuffer; memset(&lvi, 0x00, sizeof(lvi)); @@ -504,10 +511,76 @@ REG_OPTION_NON_VOLATILE, KEY_WRITE | KEY_READ, NULL, - &hk, + &hKey, NULL)) { return; + } + + /* Get the number of values and the maximum value name length */ + if (RegQueryInfoKey(hKey, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + &dwValueCount, + &dwMaxValueNameLength, + NULL, + NULL, + NULL)) + { + RegCloseKey(hKey); + return; + } + + if (dwValueCount > 0) + { + /* Allocate the value array */ + aValueArray = GlobalAlloc(GPTR, dwValueCount * sizeof(LPTSTR)); + if (aValueArray != NULL) + { + /* Get all value names */ + for (i = 0; i < dwValueCount; i++) + { + dwNameLength = 256; + if (!RegEnumValue(hKey, + i, + szBuffer, + &dwNameLength, + NULL, + NULL, + NULL, + NULL)) + { + /* Allocate a value name buffer, fill it and attach it to the array */ + lpBuffer = (LPTSTR)GlobalAlloc(GPTR, (dwNameLength + 1) * sizeof(TCHAR)); + if (lpBuffer != NULL) + { + _tcscpy(lpBuffer, szBuffer); + aValueArray[i] = lpBuffer; + } + } + } + + /* Delete all values */ + for (i = 0; i < dwValueCount; i++) + { + if (aValueArray[i] != NULL) + { + /* Delete the value*/ + RegDeleteValue(hKey, + aValueArray[i]); + + /* Free the value name */ + GlobalFree(aValueArray[i]); + } + } + + /* Free the value array */ + GlobalFree(aValueArray); + } } /* Loop through all variables */ @@ -518,14 +591,14 @@ if (VarData != NULL) { /* Set the new value */ - if (RegSetValueEx(hk, + if (RegSetValueEx(hKey, VarData->lpName, 0, VarData->dwType, (LPBYTE)VarData->lpRawValue, (DWORD)(_tcslen(VarData->lpRawValue) + 1) * sizeof(TCHAR))) { - RegCloseKey(hk); + RegCloseKey(hKey); return; } } @@ -535,7 +608,7 @@ lvi.iItem = ++iItem; } - RegCloseKey(hk); + RegCloseKey(hKey); }
17 years, 1 month
1
0
0
0
[jimtabor] 30085: Fix a stub.
by jimtabor@svn.reactos.org
Author: jimtabor Date: Sat Nov 3 04:30:04 2007 New Revision: 30085 URL:
http://svn.reactos.org/svn/reactos?rev=30085&view=rev
Log: Fix a stub. Modified: trunk/reactos/subsystems/win32/win32k/stubs/stubs.c Modified: trunk/reactos/subsystems/win32/win32k/stubs/stubs.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/st…
============================================================================== --- trunk/reactos/subsystems/win32/win32k/stubs/stubs.c (original) +++ trunk/reactos/subsystems/win32/win32k/stubs/stubs.c Sat Nov 3 04:30:04 2007 @@ -3347,14 +3347,13 @@ } /* - * @unimplemented + * @implemented */ BOOL STDCALL NtGdiInit() { - UNIMPLEMENTED; - return FALSE; + return TRUE; } /*
17 years, 1 month
1
0
0
0
[cfinck] 30084: - Make "notevil" use the new autogenerated contributors header - Fix indentation in "notevil" - Small changes in the "contributors.rbuild"
by cfinck@svn.reactos.org
Author: cfinck Date: Sat Nov 3 03:56:14 2007 New Revision: 30084 URL:
http://svn.reactos.org/svn/reactos?rev=30084&view=rev
Log: - Make "notevil" use the new autogenerated contributors header - Fix indentation in "notevil" - Small changes in the "contributors.rbuild" Modified: branches/rbuild/reactos/contributors.rbuild branches/rbuild/rosapps/notevil/notevil.c branches/rbuild/rosapps/notevil/notevil.rc Modified: branches/rbuild/reactos/contributors.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/contributors.rbu…
============================================================================== --- branches/rbuild/reactos/contributors.rbuild (original) +++ branches/rbuild/reactos/contributors.rbuild Sat Nov 3 03:56:14 2007 @@ -7,7 +7,7 @@ <contributor firstname="Andrew" lastname="Munger" mail="waxdragon(a)gmail.com" alias="amunger" /> <contributor firstname="Arindam" lastname="Das" /> <contributor firstname="Art" lastname="Yerkes" mail="ayerkes(a)speakeasy.net" alias="arty" /> - <contributor firstname="Ariadne" alias="ariadne" /> + <contributor firstname="Boudewijn" lastname="Dekker" alias="ariadne" /> <contributor firstname="Brandon" lastname="Turner" mail="turnerb7(a)msu.edu" alias="turner" /> <contributor firstname="Brian" lastname="Palmer" mail="brianp(a)sginet.com" alias="bpalmer" /> <contributor firstname="Casper S." lastname="Hornstrup" mail="chorns(a)users.sourceforge.net" alias="chorns" /> @@ -20,7 +20,7 @@ <contributor firstname="Eugene" lastname="Ingerman" mail="geneing(a)myrealbox.com" /> <contributor firstname="Filip" lastname="Navara" mail="xnavara(a)volny.cz" alias="navaraf" /> <contributor firstname="Frederik" lastname="Leemans" /> - <contributor firstname="Ge" lastname="van Geldorp" mail="ge(a)gse.nl" alias="gvg" /> + <contributor firstname="Gé" lastname="van Geldorp" mail="ge(a)gse.nl" alias="gvg" /> <contributor firstname="Ged" lastname="Murphy" mail="gedmurphy(a)reactos.org" alias="gedmurphy" /> <contributor firstname="Gregor" lastname="Brunmar" alias="gbrunmar" /> <contributor firstname="Guido" lastname="de Jong" /> Modified: branches/rbuild/rosapps/notevil/notevil.c URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/rosapps/notevil/notevil.…
============================================================================== --- branches/rbuild/rosapps/notevil/notevil.c (original) +++ branches/rbuild/rosapps/notevil/notevil.c Sat Nov 3 03:56:14 2007 @@ -31,41 +31,39 @@ #include <stdlib.h> #include <tchar.h> #include "resource.h" +#include "autocontributors.h" LPCTSTR app_name = _TEXT("notevil"); -HANDLE myself; -HANDLE ScreenBuffer; -CONSOLE_SCREEN_BUFFER_INFO ScreenBufferInfo; -HANDLE WaitableTimer; +HANDLE myself; +HANDLE ScreenBuffer; +CONSOLE_SCREEN_BUFFER_INFO ScreenBufferInfo; +HANDLE WaitableTimer; void WriteStringAt( - LPTSTR lpString, - COORD xy, - WORD wColor - ) -{ - DWORD cWritten = 0; - WORD wLen = lstrlen(lpString); - - if (0 == wLen) - return; - // don't bother writing text when erasing - if( wColor ) - WriteConsoleOutputCharacter( ScreenBuffer, - lpString, - wLen, - xy, - & cWritten - ); - FillConsoleOutputAttribute( - ScreenBuffer, - wColor, - wLen, - xy, - & cWritten - ); + LPTSTR lpString, + COORD xy, + WORD wColor) +{ + DWORD cWritten = 0; + WORD wLen = lstrlen(lpString); + + if (0 == wLen) + return; + // don't bother writing text when erasing + if( wColor ) + WriteConsoleOutputCharacter( ScreenBuffer, + lpString, + wLen, + xy, + &cWritten); + FillConsoleOutputAttribute( + ScreenBuffer, + wColor, + wLen, + xy, + & cWritten); } @@ -73,194 +71,195 @@ void WriteCoord(COORD c) { - COORD xy = {0,0}; - TCHAR buf [40]; - - wsprintf( - buf, - _TEXT("x=%02d y=%02d"), - c.X, - c.Y - ); - WriteStringAt( - buf, - xy, - (BACKGROUND_RED | BACKGROUND_GREEN | BACKGROUND_BLUE) - ); + COORD xy = {0,0}; + TCHAR buf [40]; + + wsprintf( + buf, + _TEXT("x=%02d y=%02d"), + c.X, + c.Y + ); + WriteStringAt( + buf, + xy, + (BACKGROUND_RED | BACKGROUND_GREEN | BACKGROUND_BLUE) + ); } #endif /* def DISPLAY_COORD */ INT GetNextString( - LPTSTR Buffer, - INT BufferSize, - DWORD *Index - ) -{ - if (RES_LAST_INDEX == *Index) - { - *Index = RES_FIRST_INDEX; - } - else - { - ++*Index; - } - LoadString( - myself, - *Index, - Buffer, - BufferSize - ); - return 0; + LPTSTR Buffer, + INT BufferSize, + DWORD *Index) +{ + if (RES_LAST_INDEX == *Index) + { + *Index = RES_FIRST_INDEX; + } + else + { + ++*Index; + } + LoadString( + myself, + *Index, + Buffer, + BufferSize); + + return 0; } VOID DisplayTitle(VOID) { - LPTSTR szTitle = _TEXT("ReactOS Coders Console Parade"); - COORD xy; - - xy.X = (ScreenBufferInfo.dwSize.X - lstrlen(szTitle)) / 2; - xy.Y = ScreenBufferInfo.dwSize.Y / 2; - - WriteStringAt( - szTitle, - xy, - (FOREGROUND_GREEN | FOREGROUND_INTENSITY) - ); + LPTSTR szTitle = _TEXT("ReactOS Coders Console Parade"); + COORD xy; + + xy.X = (ScreenBufferInfo.dwSize.X - lstrlen(szTitle)) / 2; + xy.Y = ScreenBufferInfo.dwSize.Y / 2; + + WriteStringAt( + szTitle, + xy, + (FOREGROUND_GREEN | FOREGROUND_INTENSITY)); } #define RES_DELAY_CHANGE 12 -#define RES_BUFFER_SIZE 1024 void MainLoop(void) { - TCHAR NameString [RES_BUFFER_SIZE]; - DWORD NameIndex = 1; - INT NameLength = 0; - COORD xy; - INT n = RES_DELAY_CHANGE; - INT dir_y = 1; - INT dir_x = 1; - WORD wColor = 1; - - xy.X = ScreenBufferInfo.dwSize.X / 2; - xy.Y = ScreenBufferInfo.dwSize.Y / 2; - - for ( ; 1; ++n ) - { - if (n == RES_DELAY_CHANGE) - { - n = GetNextString( - NameString, - RES_BUFFER_SIZE, - & NameIndex - ); - NameLength = lstrlen(NameString); - wColor++; - if ((wColor & 0x000F) == 0) - wColor = 1; - } - if (xy.X == 0) - { - if (dir_x == -1) - dir_x = 1; - } - else if (xy.X >= ScreenBufferInfo.dwSize.X - NameLength - 1) - { - if (dir_x == 1) - dir_x = -1; - } - xy.X += dir_x; - - if (xy.Y == 0) - { - if (dir_y == -1) - dir_y = 1; - } - else if (xy.Y >= ScreenBufferInfo.dwSize.Y - 1) - { - if (dir_y == 1) - dir_y = -1; - } - xy.Y += dir_y; + const char** pstr; + CHAR NameString [64]; + INT NameLength = 0; + COORD xy; + INT n = RES_DELAY_CHANGE; + INT dir_y = 1; + INT dir_x = 1; + WORD wColor = 1; + + xy.X = ScreenBufferInfo.dwSize.X / 2; + xy.Y = ScreenBufferInfo.dwSize.Y / 2; + + pstr = szAutoContributors; + + for ( ; 1; ++n ) + { + if (n == RES_DELAY_CHANGE) + { + n = 0; + + // Get the current name and make an OEM (console) string out of it + CharToOem(*pstr, NameString); + NameLength = lstrlen(NameString); + + // Next color + wColor++; + if ((wColor & 0x000F) == 0) + wColor = 1; + + // Next name + pstr++; + if(!*pstr) + pstr = szAutoContributors; + } + + if (xy.X == 0) + { + if (dir_x == -1) + dir_x = 1; + } + else if (xy.X >= ScreenBufferInfo.dwSize.X - NameLength - 1) + { + if (dir_x == 1) + dir_x = -1; + } + xy.X += dir_x; + + if (xy.Y == 0) + { + if (dir_y == -1) + dir_y = 1; + } + else if (xy.Y >= ScreenBufferInfo.dwSize.Y - 1) + { + if (dir_y == 1) + dir_y = -1; + } + xy.Y += dir_y; #ifdef DISPLAY_COORD - WriteCoord(xy); + WriteCoord(xy); #endif /* def DISPLAY_COORD */ - DisplayTitle(); - WriteStringAt( - NameString, - xy, - wColor - ); - WaitForSingleObject( WaitableTimer, INFINITE ); - WriteStringAt( - NameString, - xy, - 0 - ); - } + DisplayTitle(); + WriteStringAt( + NameString, + xy, + wColor); + WaitForSingleObject( WaitableTimer, INFINITE ); + WriteStringAt( + NameString, + xy, + 0); + } } int -main( - int argc, - char *argv [] - ) -{ - LARGE_INTEGER lint; - DWORD Written; - COORD Coord = { 0, 0 }; - - myself = GetModuleHandle(NULL); - - GetConsoleScreenBufferInfo (GetStdHandle(STD_OUTPUT_HANDLE), - &ScreenBufferInfo); - ScreenBufferInfo.dwSize.X = ScreenBufferInfo.srWindow.Right - ScreenBufferInfo.srWindow.Left + 1; - ScreenBufferInfo.dwSize.Y = ScreenBufferInfo.srWindow.Bottom - ScreenBufferInfo.srWindow.Top + 1; - ScreenBuffer = CreateConsoleScreenBuffer( - GENERIC_WRITE, - 0, - NULL, - CONSOLE_TEXTMODE_BUFFER, - NULL - ); - if (INVALID_HANDLE_VALUE == ScreenBuffer) - { - _ftprintf( - stderr, - _TEXT("%s: could not create a new screen buffer\n"), - app_name - ); - return EXIT_FAILURE; - } - // Fill buffer with black background - FillConsoleOutputAttribute( ScreenBuffer, - 0, - ScreenBufferInfo.dwSize.X * ScreenBufferInfo.dwSize.Y, - Coord, - &Written ); - - WaitableTimer = CreateWaitableTimer( NULL, FALSE, NULL ); - if( WaitableTimer == INVALID_HANDLE_VALUE ) - { - printf( "CreateWaitabletimer() failed\n" ); - return 1; - } - lint.QuadPart = -2000000; - if( SetWaitableTimer( WaitableTimer, &lint, 200, NULL, NULL, FALSE ) == FALSE ) - { - printf( "SetWaitableTimer() failed: 0x%lx\n", GetLastError() ); - return 2; - } - SetConsoleActiveScreenBuffer(ScreenBuffer); - MainLoop(); - CloseHandle(ScreenBuffer); - return EXIT_SUCCESS; +main(int argc, + char *argv []) +{ + LARGE_INTEGER lint; + DWORD Written; + COORD Coord = { 0, 0 }; + + myself = GetModuleHandle(NULL); + + GetConsoleScreenBufferInfo (GetStdHandle(STD_OUTPUT_HANDLE), + &ScreenBufferInfo); + ScreenBufferInfo.dwSize.X = ScreenBufferInfo.srWindow.Right - ScreenBufferInfo.srWindow.Left + 1; + ScreenBufferInfo.dwSize.Y = ScreenBufferInfo.srWindow.Bottom - ScreenBufferInfo.srWindow.Top + 1; + ScreenBuffer = CreateConsoleScreenBuffer( + GENERIC_WRITE, + 0, + NULL, + CONSOLE_TEXTMODE_BUFFER, + NULL); + if (INVALID_HANDLE_VALUE == ScreenBuffer) + { + _ftprintf( + stderr, + _TEXT("%s: could not create a new screen buffer\n"), + app_name); + return EXIT_FAILURE; + } + // Fill buffer with black background + FillConsoleOutputAttribute( ScreenBuffer, + 0, + ScreenBufferInfo.dwSize.X * ScreenBufferInfo.dwSize.Y, + Coord, + &Written ); + + WaitableTimer = CreateWaitableTimer( NULL, FALSE, NULL ); + if( WaitableTimer == INVALID_HANDLE_VALUE ) + { + printf( "CreateWaitabletimer() failed\n" ); + return 1; + } + lint.QuadPart = -2000000; + if( SetWaitableTimer( WaitableTimer, &lint, 200, NULL, NULL, FALSE ) == FALSE ) + { + printf( "SetWaitableTimer() failed: 0x%lx\n", GetLastError() ); + return 2; + } + SetConsoleActiveScreenBuffer(ScreenBuffer); + MainLoop(); + CloseHandle(ScreenBuffer); + + return EXIT_SUCCESS; } Modified: branches/rbuild/rosapps/notevil/notevil.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/rosapps/notevil/notevil.…
============================================================================== --- branches/rbuild/rosapps/notevil/notevil.rc (original) +++ branches/rbuild/rosapps/notevil/notevil.rc Sat Nov 3 03:56:14 2007 @@ -4,86 +4,3 @@ #define REACTOS_STR_INTERNAL_NAME "notevil\0" #define REACTOS_STR_ORIGINAL_FILENAME "notevil.exe\0" #include <reactos/version.rc> - -/* - * String table - * - * Order is the same as in the status report published weekly in - * the "ros-kernel" mailing list by Rex Jolliff. (obsolete) - * - * 20050116.EA: new coders are added scanning the ros-svn mailing - * list, in no particular order. Current order is kept for historical - * reason. - * - * 2006-03-05, frik85: add new coders (in no particular order) - * - */ - -STRINGTABLE MOVEABLE -BEGIN - 1, "Boudewijn Dekker (Ariadne)" - 2, "Robert Bergkvist (FragDance Galore)" - 3, "Arindam Das" - 4, "Boudewijn Dekker" - 5, "Jason Eager" - 6, "Jason Filby" - 7, "Rex Jolliff" - 8, "Eric Kohl" - 9, "Hans Kremer" - 10, "Frederik Leemans" - 11, "Jean Michault" - 12, "Jim Noeth" - 13, "Brian Palmer" - 14, "Matt Pyne" - 15, "Jason Weiler" -END - -STRINGTABLE MOVEABLE -BEGIN - 16, "David Welch" - 17, "Emanuele Aliberti" - 18, "Phillip Susi" - 19, "Paolo Pantaleo" - 20, "Hernan Ochoa" - 21, "Casper Hornstrup" - 22, "Steven Edwards" - 23, "KJK::Hyperion" - 24, "Robert Dickenson" - 25, "Eugene Ingerman" - 26, "Guido de Jong" - 27, "Jurgen van Gael" - 28, "Marty Dill" - 29, "Ge van Geldorp" - 30, "Richard Campbell" -END - -STRINGTABLE MOVEABLE -BEGIN - 31, "Gunnar Andre' Dalsnes" - 32, "Aleksey Bragin" - 33, "Royce Mitchell III" - 34, "Mark Tempel" - 35, "Art Yerkes" - 36, "Martin Fuchs" - 37, "Vizzini" - 38, "Filip Navara" - 39, "Andrew Greenwood" - 40, "Thomas Weidenmueller" - 41, "Jonathan Wilson" - 42, "Alex Ionescu" - 43, "Jim Tabor" - 44, "Magnus Olsen" - 45, "Herve Poussineau" -END - -STRINGTABLE MOVEABLE -BEGIN - 46, "Christoph von Wittich" - 47, "Brandon Turner" - 48, "Ged Murphy" - 49, "Klemens R. Friedl" - 50, "Maarten Bosma" - 51, "Saveliy Tretiakov" -END - -/* EOF */
17 years, 1 month
1
0
0
0
[cfinck] 30083: The authors list is actually in ANSI format, not UTF-8
by cfinck@svn.reactos.org
Author: cfinck Date: Sat Nov 3 03:30:11 2007 New Revision: 30083 URL:
http://svn.reactos.org/svn/reactos?rev=30083&view=rev
Log: The authors list is actually in ANSI format, not UTF-8 Modified: branches/rbuild/reactos/dll/win32/shell32/shell32_main.c Modified: branches/rbuild/reactos/dll/win32/shell32/shell32_main.c URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/shell32_main.c (original) +++ branches/rbuild/reactos/dll/win32/shell32/shell32_main.c Sat Nov 3 03:30:11 2007 @@ -997,8 +997,8 @@ { WCHAR name[64]; - /* authors list is in utf-8 format */ - MultiByteToWideChar( CP_UTF8, 0, *pstr, -1, name, sizeof(name) / sizeof(WCHAR) ); + /* authors list is in ANSI format */ + MultiByteToWideChar( CP_ACP, 0, *pstr, -1, name, sizeof(name) / sizeof(WCHAR) ); SendDlgItemMessageW( hWnd, IDC_SHELL_ABOUT_AUTHORS_LISTBOX, LB_ADDSTRING, 0, (LPARAM)name ); pstr++; }
17 years, 1 month
1
0
0
0
[cfinck] 30082: - Make use of the new automatically generated contributors list in the ShellAbout dialog, show the authors in the list box - Remove the now unneeded "authors.c" file from shell32 - To get this to build, I also needed to merge-in the changed "include/reactos/version.rc" file from r29924 (forgot that in my previous commit) - Fix the indentation of the "creditsgeneratorenerator.cpp" file and add a newline at the end of the autogenerated file to make GCC happy
by cfinck@svn.reactos.org
Author: cfinck Date: Sat Nov 3 03:03:48 2007 New Revision: 30082 URL:
http://svn.reactos.org/svn/reactos?rev=30082&view=rev
Log: - Make use of the new automatically generated contributors list in the ShellAbout dialog, show the authors in the list box - Remove the now unneeded "authors.c" file from shell32 - To get this to build, I also needed to merge-in the changed "include/reactos/version.rc" file from r29924 (forgot that in my previous commit) - Fix the indentation of the "creditsgeneratorenerator.cpp" file and add a newline at the end of the autogenerated file to make GCC happy Removed: branches/rbuild/reactos/dll/win32/shell32/authors.c Modified: branches/rbuild/reactos/dll/win32/shell32/lang/bg-BG.rc branches/rbuild/reactos/dll/win32/shell32/lang/ca-ES.rc branches/rbuild/reactos/dll/win32/shell32/lang/cs-CZ.rc branches/rbuild/reactos/dll/win32/shell32/lang/da-DK.rc branches/rbuild/reactos/dll/win32/shell32/lang/de-DE.rc branches/rbuild/reactos/dll/win32/shell32/lang/en-US.rc branches/rbuild/reactos/dll/win32/shell32/lang/eo-EO.rc branches/rbuild/reactos/dll/win32/shell32/lang/es-ES.rc branches/rbuild/reactos/dll/win32/shell32/lang/fi-FI.rc branches/rbuild/reactos/dll/win32/shell32/lang/fr-FR.rc branches/rbuild/reactos/dll/win32/shell32/lang/hu-HU.rc branches/rbuild/reactos/dll/win32/shell32/lang/it-IT.rc branches/rbuild/reactos/dll/win32/shell32/lang/ja-JP.rc branches/rbuild/reactos/dll/win32/shell32/lang/ko-KO.rc branches/rbuild/reactos/dll/win32/shell32/lang/nb-NO.rc branches/rbuild/reactos/dll/win32/shell32/lang/nl-NL.rc branches/rbuild/reactos/dll/win32/shell32/lang/pl-PL.rc branches/rbuild/reactos/dll/win32/shell32/lang/pt-BR.rc branches/rbuild/reactos/dll/win32/shell32/lang/pt-PT.rc branches/rbuild/reactos/dll/win32/shell32/lang/ru-RU.rc branches/rbuild/reactos/dll/win32/shell32/lang/sk-SK.rc branches/rbuild/reactos/dll/win32/shell32/lang/sl-SI.rc branches/rbuild/reactos/dll/win32/shell32/lang/sv-SE.rc branches/rbuild/reactos/dll/win32/shell32/lang/tr-TR.rc branches/rbuild/reactos/dll/win32/shell32/lang/uk-UA.rc branches/rbuild/reactos/dll/win32/shell32/lang/wa-WA.rc branches/rbuild/reactos/dll/win32/shell32/lang/zh-CN.rc branches/rbuild/reactos/dll/win32/shell32/lang/zh-TW.rc branches/rbuild/reactos/dll/win32/shell32/shell32.rbuild branches/rbuild/reactos/dll/win32/shell32/shell32_main.c branches/rbuild/reactos/include/reactos/version.rc branches/rbuild/reactos/tools/rbuild/creditsgeneratorenerator.cpp Removed: branches/rbuild/reactos/dll/win32/shell32/authors.c URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/authors.c (original) +++ branches/rbuild/reactos/dll/win32/shell32/authors.c (removed) @@ -1,1 +1,0 @@ -const char * const SHELL_Authors[] = { "Copyright 1993-2007 WINE team", "Copyright 1998-2007 ReactOS Team", 0 }; Modified: branches/rbuild/reactos/dll/win32/shell32/lang/bg-BG.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/bg-BG.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/bg-BG.rc Sat Nov 3 03:03:48 2007 @@ -151,7 +151,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS was brought to you by:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/ca-ES.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/ca-ES.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/ca-ES.rc Sat Nov 3 03:03:48 2007 @@ -151,7 +151,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS ha estat construit per:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/cs-CZ.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/cs-CZ.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/cs-CZ.rc Sat Nov 3 03:03:48 2007 @@ -152,7 +152,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS je d¡lem:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/da-DK.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/da-DK.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/da-DK.rc Sat Nov 3 03:03:48 2007 @@ -151,7 +151,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS havde ikke været mulig uden hjælp fra disse personer:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/de-DE.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/de-DE.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/de-DE.rc Sat Nov 3 03:03:48 2007 @@ -153,7 +153,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS wurde Ihnen zur Verfügung gestellt von:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/en-US.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/en-US.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/en-US.rc Sat Nov 3 03:03:48 2007 @@ -151,7 +151,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS was brought to you by:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/eo-EO.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/eo-EO.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/eo-EO.rc Sat Nov 3 03:03:48 2007 @@ -151,7 +151,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS was brought to you by:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/es-ES.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/es-ES.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/es-ES.rc Sat Nov 3 03:03:48 2007 @@ -152,7 +152,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS está disponible gracias a:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/fi-FI.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/fi-FI.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/fi-FI.rc Sat Nov 3 03:03:48 2007 @@ -151,7 +151,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS:n toi Sinulle:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/fr-FR.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/fr-FR.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/fr-FR.rc Sat Nov 3 03:03:48 2007 @@ -154,7 +154,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS est une réalisation de:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/hu-HU.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/hu-HU.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/hu-HU.rc Sat Nov 3 03:03:48 2007 @@ -154,7 +154,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "A ReactOS készítõi:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/it-IT.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/it-IT.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/it-IT.rc Sat Nov 3 03:03:48 2007 @@ -152,7 +152,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS è disponibile grazie a:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/ja-JP.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/ja-JP.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/ja-JP.rc Sat Nov 3 03:03:48 2007 @@ -151,7 +151,7 @@ FONT 8, "MS UI Gothic" BEGIN LTEXT "ReactOS was brought to you by:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/ko-KO.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/ko-KO.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/ko-KO.rc Sat Nov 3 03:03:48 2007 @@ -151,7 +151,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS was brought to you by:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/nb-NO.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/nb-NO.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/nb-NO.rc Sat Nov 3 03:03:48 2007 @@ -151,7 +151,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS was brought to you by:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/nl-NL.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/nl-NL.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/nl-NL.rc Sat Nov 3 03:03:48 2007 @@ -151,7 +151,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS is geschreven door:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/pl-PL.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/pl-PL.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/pl-PL.rc Sat Nov 3 03:03:48 2007 @@ -152,7 +152,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS was brought to you by:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/pt-BR.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/pt-BR.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/pt-BR.rc Sat Nov 3 03:03:48 2007 @@ -153,7 +153,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS foi disponibilizado por:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/pt-PT.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/pt-PT.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/pt-PT.rc Sat Nov 3 03:03:48 2007 @@ -153,7 +153,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS disponibilizado por:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/ru-RU.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/ru-RU.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/ru-RU.rc Sat Nov 3 03:03:48 2007 @@ -152,7 +152,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "Ðàçðàáîò÷èêè ReactOS:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/sk-SK.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/sk-SK.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/sk-SK.rc Sat Nov 3 03:03:48 2007 @@ -151,7 +151,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS was brought to you by:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/sl-SI.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/sl-SI.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/sl-SI.rc Sat Nov 3 03:03:48 2007 @@ -151,7 +151,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS so ustvarili:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/sv-SE.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/sv-SE.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/sv-SE.rc Sat Nov 3 03:03:48 2007 @@ -151,7 +151,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS hade inte varit möjligt utan dessa personer:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/tr-TR.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/tr-TR.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/tr-TR.rc Sat Nov 3 03:03:48 2007 @@ -151,7 +151,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS'ý size sunan geliþtiriciler:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/uk-UA.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/uk-UA.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/uk-UA.rc Sat Nov 3 03:03:48 2007 @@ -151,7 +151,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "Ðîçðîáíèêè ReactOS:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/wa-WA.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/wa-WA.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/wa-WA.rc Sat Nov 3 03:03:48 2007 @@ -151,7 +151,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS a estu fwait par:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/zh-CN.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/zh-CN.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/zh-CN.rc Sat Nov 3 03:03:48 2007 @@ -152,7 +152,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS was brought to you by:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/lang/zh-TW.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/lang/zh-TW.rc (original) +++ branches/rbuild/reactos/dll/win32/shell32/lang/zh-TW.rc Sat Nov 3 03:03:48 2007 @@ -152,7 +152,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS was brought to you by:", IDC_STATIC, 0, 0, 180, 10 - LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75 + LISTBOX IDC_SHELL_ABOUT_AUTHORS_LISTBOX, 0, 10, 165, 75, WS_VSCROLL END SHELL_RUN_DLG DIALOG LOADONCALL MOVEABLE DISCARDABLE 0, 0, 227, 95 Modified: branches/rbuild/reactos/dll/win32/shell32/shell32.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/shell32.rbuild (original) +++ branches/rbuild/reactos/dll/win32/shell32/shell32.rbuild Sat Nov 3 03:03:48 2007 @@ -24,7 +24,6 @@ <library>devmgr</library> <library>rtl</library> <library>winspool</library> - <file>authors.c</file> <file>autocomplete.c</file> <file>brsfolder.c</file> <file>changenotify.c</file> Modified: branches/rbuild/reactos/dll/win32/shell32/shell32_main.c URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
============================================================================== --- branches/rbuild/reactos/dll/win32/shell32/shell32_main.c (original) +++ branches/rbuild/reactos/dll/win32/shell32/shell32_main.c Sat Nov 3 03:03:48 2007 @@ -44,6 +44,7 @@ #include "shell32_main.h" #include "version.h" #include "shresdef.h" +#include "autocontributors.h" #include "wine/debug.h" #include "wine/unicode.h" @@ -979,18 +980,26 @@ { case WM_INITDIALOG: { - const char* const *pstr = SHELL_Authors; + const char** pstr; // Add the authors to the list SendDlgItemMessageW( hWnd, IDC_SHELL_ABOUT_AUTHORS_LISTBOX, WM_SETREDRAW, FALSE, 0 ); + + // First add the Wine and ReactOS copyrights + SendDlgItemMessageW( hWnd, IDC_SHELL_ABOUT_AUTHORS_LISTBOX, LB_ADDSTRING, 0, (LPARAM)L"Copyright 1993-2007 WINE Team"); + SendDlgItemMessageW( hWnd, IDC_SHELL_ABOUT_AUTHORS_LISTBOX, LB_ADDSTRING, 0, (LPARAM)L"Copyright 1998-2007 ReactOS Team"); + SendDlgItemMessageW( hWnd, IDC_SHELL_ABOUT_AUTHORS_LISTBOX, LB_ADDSTRING, 0, (LPARAM)L""); + + // Now add the authors from the autogenerated list + pstr = szAutoContributors; while (*pstr) { WCHAR name[64]; /* authors list is in utf-8 format */ - MultiByteToWideChar( CP_UTF8, 0, *pstr, -1, name, sizeof(name)/sizeof(WCHAR) ); - SendDlgItemMessageW( hWnd, IDC_SHELL_ABOUT_AUTHORS_LISTBOX, LB_ADDSTRING, (WPARAM)-1, (LPARAM)name ); + MultiByteToWideChar( CP_UTF8, 0, *pstr, -1, name, sizeof(name) / sizeof(WCHAR) ); + SendDlgItemMessageW( hWnd, IDC_SHELL_ABOUT_AUTHORS_LISTBOX, LB_ADDSTRING, 0, (LPARAM)name ); pstr++; } Modified: branches/rbuild/reactos/include/reactos/version.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/include/reactos/…
============================================================================== --- branches/rbuild/reactos/include/reactos/version.rc (original) +++ branches/rbuild/reactos/include/reactos/version.rc Sat Nov 3 03:03:48 2007 @@ -15,6 +15,13 @@ #include "winver.h" #include "version.h" #include "buildno.h" + +/* Define some defaults (shouldn't be overwritten by applications */ +#define REACTOS_DEFAULT_STR_COMPANY_NAME "ReactOS Development Team\0" +#define REACTOS_DEFAULT_STR_DESCRIPTION "ReactOS Core Component\0" +#define REACTOS_DEFAULT_STR_INTERNAL_NAME "\0" +#define REACTOS_DEFAULT_STR_LEGAL_COPYRIGHT "Copyright 1998-2007 ReactOS Team\0" +#define REACTOS_DEFAULT_STR_PRODUCT_NAME "ReactOS Operating System\0" /* Set defaults for everything, unless overridden */ #ifndef REACTOS_FILEVERSION @@ -58,11 +65,11 @@ #endif /* REACTOS_FILESUBTYPE */ #ifndef REACTOS_STR_COMPANY_NAME -#define REACTOS_STR_COMPANY_NAME "ReactOS Development Team\0" +#define REACTOS_STR_COMPANY_NAME REACTOS_DEFAULT_STR_COMPANY_NAME #endif /* REACTOS_STR_COMPANY_NAME */ #ifndef REACTOS_STR_FILE_DESCRIPTION -#define REACTOS_STR_FILE_DESCRIPTION "ReactOS core dll\0" +#define REACTOS_STR_FILE_DESCRIPTION REACTOS_DEFAULT_STR_FILE_DESCRIPTION #endif /* REACTOS_STR_FILE_DESCRIPTION */ #ifndef REACTOS_STR_FILE_VERSION @@ -74,11 +81,11 @@ #endif /* REACTOS_STR_FILE_VERSION */ #ifndef REACTOS_STR_INTERNAL_NAME -#define REACTOS_STR_INTERNAL_NAME "\0" +#define REACTOS_STR_INTERNAL_NAME REACTOS_DEFAULT_STR_INTERNAL_NAME #endif /* REACTOS_STR_INTERNAL_NAME */ #ifndef REACTOS_STR_LEGAL_COPYRIGHT -#define REACTOS_STR_LEGAL_COPYRIGHT "Copyright 1998-2007 ReactOS Team\0" +#define REACTOS_STR_LEGAL_COPYRIGHT REACTOS_DEFAULT_STR_LEGAL_COPYRIGHT #endif /* REACTOS_STR_LEGAL_COPYRIGHT */ #ifndef REACTOS_STR_ORIGINAL_FILENAME @@ -86,7 +93,7 @@ #endif /* REACTOS_STR_ORIGINAL_FILENAME */ #ifndef REACTOS_STR_PRODUCT_NAME -#define REACTOS_STR_PRODUCT_NAME "ReactOS Operating System\0" +#define REACTOS_STR_PRODUCT_NAME REACTOS_DEFAULT_STR_PRODUCT_NAME #endif /* REACTOS_STR_PRODUCT_NAME */ #ifndef REACTOS_STR_PRODUCT_VERSION Modified: branches/rbuild/reactos/tools/rbuild/creditsgeneratorenerator.cpp URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/tools/rbuild/cre…
============================================================================== --- branches/rbuild/reactos/tools/rbuild/creditsgeneratorenerator.cpp (original) +++ branches/rbuild/reactos/tools/rbuild/creditsgeneratorenerator.cpp Sat Nov 3 03:03:48 2007 @@ -23,7 +23,7 @@ CreditsGenerator::CreditsGenerator ( const Project& project ) - : project ( project ) + : project ( project ) { } @@ -41,21 +41,21 @@ void CreditsGenerator::GenerateTxt () { - char* buf; - char* s; + char* buf; + char* s; - buf = (char*) malloc ( 512*1024 ); - if ( buf == NULL ) - throw OutOfMemoryException (); - - s = buf; - s = s + sprintf ( s, "ReactOS is available thanks to the work of:\n\n"); + buf = (char*) malloc ( 512*1024 ); + if ( buf == NULL ) + throw OutOfMemoryException (); + + s = buf; + s = s + sprintf ( s, "ReactOS is available thanks to the work of:\n\n"); for ( size_t i = 0; i < project.contributors.size (); i++ ) - { + { Contributor& contributor = *project.contributors[i]; - s = s + sprintf ( s, "\t%s %s (%s)\n" , + s = s + sprintf ( s, "\t%s %s (%s)\n" , contributor.firstName.c_str() , contributor.lastName.c_str() , contributor.alias.c_str()); @@ -69,42 +69,42 @@ contributor.city.c_str() , contributor.country.c_str()); } - } + } - FileSupportCode::WriteIfChanged ( buf, NormalizeFilename ( Environment::GetIntermediatePath () + sSep + "CREDITS" ) ); + FileSupportCode::WriteIfChanged ( buf, NormalizeFilename ( Environment::GetIntermediatePath () + sSep + "CREDITS" ) ); - free ( buf ); + free ( buf ); } void CreditsGenerator::GenerateHeader () { - char* buf; - char* s; + char* buf; + char* s; - buf = (char*) malloc ( 512*1024 ); - if ( buf == NULL ) - throw OutOfMemoryException (); - - s = buf; - s = s + sprintf ( s, "/* Auto generated */\n"); - s = s + sprintf ( s, "\n" ); + buf = (char*) malloc ( 512*1024 ); + if ( buf == NULL ) + throw OutOfMemoryException (); + + s = buf; + s = s + sprintf ( s, "/* Auto generated */\n"); + s = s + sprintf ( s, "\n" ); s = s + sprintf ( s, "const char* szAutoContributors[]= {\n" ); for ( size_t i = 0; i < project.contributors.size (); i++ ) - { + { Contributor& contributor = *project.contributors[i]; - s = s + sprintf ( s, "\t\"%s %s\",\n" , + s = s + sprintf ( s, "\t\"%s %s\",\n" , contributor.firstName.c_str() , contributor.lastName.c_str()); - } + } s = s + sprintf ( s, "\t0\n"); - s = s + sprintf ( s, " };" ); + s = s + sprintf ( s, "};\n" ); - FileSupportCode::WriteIfChanged ( buf, NormalizeFilename ( Environment::GetIntermediatePath () + sSep + "include" + sSep + "reactos" + sSep + "autocontributors.h" ) ); + FileSupportCode::WriteIfChanged ( buf, NormalizeFilename ( Environment::GetIntermediatePath () + sSep + "include" + sSep + "reactos" + sSep + "autocontributors.h" ) ); - free ( buf ); + free ( buf ); }
17 years, 1 month
1
0
0
0
[mpiulachs] 30081: Implement the autogenerated credits header file (autocontributors.h) in INTERMEDIATE/include/reactos/autocontributors.h together with Colin
by mpiulachs@svn.reactos.org
Author: mpiulachs Date: Sat Nov 3 02:19:18 2007 New Revision: 30081 URL:
http://svn.reactos.org/svn/reactos?rev=30081&view=rev
Log: Implement the autogenerated credits header file (autocontributors.h) in INTERMEDIATE/include/reactos/autocontributors.h together with Colin Modified: branches/rbuild/reactos/tools/rbuild/creditsgeneratorenerator.cpp branches/rbuild/reactos/tools/rbuild/rbuild.h Modified: branches/rbuild/reactos/tools/rbuild/creditsgeneratorenerator.cpp URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/tools/rbuild/cre…
============================================================================== --- branches/rbuild/reactos/tools/rbuild/creditsgeneratorenerator.cpp (original) +++ branches/rbuild/reactos/tools/rbuild/creditsgeneratorenerator.cpp Sat Nov 3 02:19:18 2007 @@ -34,6 +34,13 @@ void CreditsGenerator::Generate () { + GenerateTxt (); + GenerateHeader (); +} + +void +CreditsGenerator::GenerateTxt () +{ char* buf; char* s; @@ -69,3 +76,35 @@ free ( buf ); } + +void +CreditsGenerator::GenerateHeader () +{ + char* buf; + char* s; + + buf = (char*) malloc ( 512*1024 ); + if ( buf == NULL ) + throw OutOfMemoryException (); + + s = buf; + s = s + sprintf ( s, "/* Auto generated */\n"); + s = s + sprintf ( s, "\n" ); + s = s + sprintf ( s, "const char* szAutoContributors[]= {\n" ); + + for ( size_t i = 0; i < project.contributors.size (); i++ ) + { + Contributor& contributor = *project.contributors[i]; + + s = s + sprintf ( s, "\t\"%s %s\",\n" , + contributor.firstName.c_str() , + contributor.lastName.c_str()); + } + + s = s + sprintf ( s, "\t0\n"); + s = s + sprintf ( s, " };" ); + + FileSupportCode::WriteIfChanged ( buf, NormalizeFilename ( Environment::GetIntermediatePath () + sSep + "include" + sSep + "reactos" + sSep + "autocontributors.h" ) ); + + free ( buf ); +} Modified: branches/rbuild/reactos/tools/rbuild/rbuild.h URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/tools/rbuild/rbu…
============================================================================== --- branches/rbuild/reactos/tools/rbuild/rbuild.h (original) +++ branches/rbuild/reactos/tools/rbuild/rbuild.h Sat Nov 3 02:19:18 2007 @@ -1182,7 +1182,9 @@ const Project& project; CreditsGenerator ( const Project& project ); ~CreditsGenerator (); - void Generate (); + void Generate(); + void GenerateTxt(); + void GenerateHeader (); private: };
17 years, 1 month
1
0
0
0
[cfinck] 30080: Merge-in the shell32 changes from r29799 to r29924 (needed for a later commit in in this branch)
by cfinck@svn.reactos.org
Author: cfinck Date: Sat Nov 3 02:17:20 2007 New Revision: 30080 URL:
http://svn.reactos.org/svn/reactos?rev=30080&view=rev
Log: Merge-in the shell32 changes from r29799 to r29924 (needed for a later commit in in this branch) Added: branches/rbuild/reactos/dll/win32/shell32/extracticon.c - copied unchanged from r29924, trunk/reactos/dll/win32/shell32/extracticon.c branches/rbuild/reactos/dll/win32/shell32/res/bitmaps/ - copied from r29924, trunk/reactos/dll/win32/shell32/res/bitmaps/ branches/rbuild/reactos/dll/win32/shell32/she_ocmenu.c - copied unchanged from r29924, trunk/reactos/dll/win32/shell32/she_ocmenu.c Modified: branches/rbuild/reactos/dll/win32/shell32/bitmap_res.rc branches/rbuild/reactos/dll/win32/shell32/folders.c branches/rbuild/reactos/dll/win32/shell32/lang/bg-BG.rc branches/rbuild/reactos/dll/win32/shell32/lang/ca-ES.rc branches/rbuild/reactos/dll/win32/shell32/lang/cs-CZ.rc branches/rbuild/reactos/dll/win32/shell32/lang/da-DK.rc branches/rbuild/reactos/dll/win32/shell32/lang/de-DE.rc branches/rbuild/reactos/dll/win32/shell32/lang/en-US.rc branches/rbuild/reactos/dll/win32/shell32/lang/eo-EO.rc branches/rbuild/reactos/dll/win32/shell32/lang/es-ES.rc branches/rbuild/reactos/dll/win32/shell32/lang/fi-FI.rc branches/rbuild/reactos/dll/win32/shell32/lang/fr-FR.rc branches/rbuild/reactos/dll/win32/shell32/lang/hu-HU.rc branches/rbuild/reactos/dll/win32/shell32/lang/it-IT.rc branches/rbuild/reactos/dll/win32/shell32/lang/ja-JP.rc branches/rbuild/reactos/dll/win32/shell32/lang/ko-KO.rc branches/rbuild/reactos/dll/win32/shell32/lang/nb-NO.rc branches/rbuild/reactos/dll/win32/shell32/lang/nl-NL.rc branches/rbuild/reactos/dll/win32/shell32/lang/pl-PL.rc branches/rbuild/reactos/dll/win32/shell32/lang/pt-BR.rc branches/rbuild/reactos/dll/win32/shell32/lang/pt-PT.rc branches/rbuild/reactos/dll/win32/shell32/lang/ru-RU.rc branches/rbuild/reactos/dll/win32/shell32/lang/sk-SK.rc branches/rbuild/reactos/dll/win32/shell32/lang/sl-SI.rc branches/rbuild/reactos/dll/win32/shell32/lang/sv-SE.rc branches/rbuild/reactos/dll/win32/shell32/lang/tr-TR.rc branches/rbuild/reactos/dll/win32/shell32/lang/uk-UA.rc branches/rbuild/reactos/dll/win32/shell32/lang/wa-WA.rc branches/rbuild/reactos/dll/win32/shell32/lang/zh-CN.rc branches/rbuild/reactos/dll/win32/shell32/lang/zh-TW.rc branches/rbuild/reactos/dll/win32/shell32/shell32.rbuild branches/rbuild/reactos/dll/win32/shell32/shell32.rc branches/rbuild/reactos/dll/win32/shell32/shell32.spec branches/rbuild/reactos/dll/win32/shell32/shell32_main.c branches/rbuild/reactos/dll/win32/shell32/shell32_main.h branches/rbuild/reactos/dll/win32/shell32/shelllink.c branches/rbuild/reactos/dll/win32/shell32/shellole.c branches/rbuild/reactos/dll/win32/shell32/shlview.c branches/rbuild/reactos/dll/win32/shell32/shresdef.h branches/rbuild/reactos/dll/win32/shell32/shv_bg_cmenu.c branches/rbuild/reactos/dll/win32/shell32/shv_item_cmenu.c branches/rbuild/reactos/dll/win32/shell32/undocshell.h [This mail would be too long, it was shortened to contain the URLs only.] Modified: branches/rbuild/reactos/dll/win32/shell32/bitmap_res.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/folders.c URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/bg-BG.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/ca-ES.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/cs-CZ.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/da-DK.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/de-DE.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/en-US.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/eo-EO.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/es-ES.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/fi-FI.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/fr-FR.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/hu-HU.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/it-IT.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/ja-JP.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/ko-KO.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/nb-NO.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/nl-NL.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/pl-PL.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/pt-BR.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/pt-PT.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/ru-RU.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/sk-SK.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/sl-SI.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/sv-SE.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/tr-TR.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/uk-UA.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/wa-WA.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/zh-CN.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/lang/zh-TW.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/shell32.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/shell32.rc URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/shell32.spec URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/shell32_main.c URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/shell32_main.h URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/shelllink.c URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/shellole.c URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/shlview.c URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/shresdef.h URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/shv_bg_cmenu.c URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/shv_item_cmenu.c URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
Modified: branches/rbuild/reactos/dll/win32/shell32/undocshell.h URL:
http://svn.reactos.org/svn/reactos/branches/rbuild/reactos/dll/win32/shell3…
17 years, 1 month
1
0
0
0
← Newer
1
...
81
82
83
84
85
86
87
88
89
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
Results per page:
10
25
50
100
200