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
February 2015
----- 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
16 participants
372 discussions
Start a n
N
ew thread
[hbelusca] 66217: [CONSRV]: Fix a DPRINT.
by hbelusca@svn.reactos.org
Author: hbelusca Date: Tue Feb 10 18:27:34 2015 New Revision: 66217 URL:
http://svn.reactos.org/svn/reactos?rev=66217&view=rev
Log: [CONSRV]: Fix a DPRINT. Modified: trunk/reactos/win32ss/user/winsrv/consrv/frontends/gui/conwnd.c Modified: trunk/reactos/win32ss/user/winsrv/consrv/frontends/gui/conwnd.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/winsrv/consrv…
============================================================================== --- trunk/reactos/win32ss/user/winsrv/consrv/frontends/gui/conwnd.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/user/winsrv/consrv/frontends/gui/conwnd.c [iso-8859-1] Tue Feb 10 18:27:34 2015 @@ -715,7 +715,7 @@ { WORD ActivationState = LOWORD(wParam); - DPRINT("WM_ACTIVATE - ActivationState = %d\n"); + DPRINT("WM_ACTIVATE - ActivationState = %d\n", ActivationState); if ( ActivationState == WA_ACTIVE || ActivationState == WA_CLICKACTIVE )
9 years, 10 months
1
0
0
0
[aandrejevic] 66216: [FAST486] Implement Fast486FpuMultiply properly.
by aandrejevic@svn.reactos.org
Author: aandrejevic Date: Tue Feb 10 17:29:26 2015 New Revision: 66216 URL:
http://svn.reactos.org/svn/reactos?rev=66216&view=rev
Log: [FAST486] Implement Fast486FpuMultiply properly. Modified: trunk/reactos/lib/fast486/fpu.c Modified: trunk/reactos/lib/fast486/fpu.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fast486/fpu.c?rev=6621…
============================================================================== --- trunk/reactos/lib/fast486/fpu.c [iso-8859-1] (original) +++ trunk/reactos/lib/fast486/fpu.c [iso-8859-1] Tue Feb 10 17:29:26 2015 @@ -696,6 +696,37 @@ PFAST486_FPU_DATA_REG Result) { FAST486_FPU_DATA_REG TempResult; + LONG Exponent; + + if (FPU_IS_INDEFINITE(FirstOperand) + || FPU_IS_INDEFINITE(SecondOperand) + || (FPU_IS_ZERO(FirstOperand) && FPU_IS_INFINITY(SecondOperand)) + || (FPU_IS_INFINITY(FirstOperand) && FPU_IS_ZERO(SecondOperand))) + { + /* The result will be indefinite */ + Result->Sign = TRUE; + Result->Exponent = FPU_MAX_EXPONENT + 1; + Result->Mantissa = FPU_INDEFINITE_MANTISSA; + return; + } + + if (FPU_IS_ZERO(FirstOperand) || FPU_IS_ZERO(SecondOperand)) + { + /* The result will be zero */ + Result->Sign = FirstOperand->Sign ^ SecondOperand->Sign; + Result->Exponent = 0; + Result->Mantissa = 0ULL; + return; + } + + if (FPU_IS_INFINITY(FirstOperand) || FPU_IS_INFINITY(SecondOperand)) + { + /* The result will be infinity */ + Result->Sign = FirstOperand->Sign ^ SecondOperand->Sign; + Result->Exponent = FPU_MAX_EXPONENT + 1; + Result->Mantissa = FPU_MANTISSA_HIGH_BIT; + return; + } if ((!FPU_IS_NORMALIZED(FirstOperand) || !FPU_IS_NORMALIZED(SecondOperand))) { @@ -709,12 +740,51 @@ } } + /* Calculate the sign */ + TempResult.Sign = FirstOperand->Sign ^ SecondOperand->Sign; + + /* Calculate the exponent */ + Exponent = (LONG)FirstOperand->Exponent + (LONG)SecondOperand->Exponent - FPU_REAL10_BIAS; + + /* Calculate the mantissa */ UnsignedMult128(FirstOperand->Mantissa, SecondOperand->Mantissa, &TempResult.Mantissa); - TempResult.Exponent = FirstOperand->Exponent + SecondOperand->Exponent; - TempResult.Sign = FirstOperand->Sign ^ SecondOperand->Sign; + if (Exponent < 0) + { + /* Raise the underflow exception */ + State->FpuStatus.Ue = TRUE; + + if (!State->FpuControl.Um) + { + Fast486FpuException(State); + return; + } + + /* The exponent will be zero */ + TempResult.Exponent = 0; + + /* If possible, denormalize the result, otherwise make it zero */ + if (Exponent > -64) TempResult.Mantissa >>= (-Exponent); + else TempResult.Mantissa = 0ULL; + } + else if (Exponent > FPU_MAX_EXPONENT) + { + /* Raise the overflow exception */ + State->FpuStatus.Oe = TRUE; + + if (!State->FpuControl.Om) + { + Fast486FpuException(State); + return; + } + + /* Make the result infinity */ + TempResult.Exponent = FPU_MAX_EXPONENT + 1; + TempResult.Mantissa = FPU_MANTISSA_HIGH_BIT; + } + else TempResult.Exponent = (USHORT)Exponent; /* Normalize the result */ Fast486FpuNormalize(State, &TempResult);
9 years, 10 months
1
0
0
0
[dreimer] 66215: [BROWSEUI] German update. (Is it possible that our browseui is not even similar to the one from Win 5.2?)
by dreimer@svn.reactos.org
Author: dreimer Date: Tue Feb 10 02:03:35 2015 New Revision: 66215 URL:
http://svn.reactos.org/svn/reactos?rev=66215&view=rev
Log: [BROWSEUI] German update. (Is it possible that our browseui is not even similar to the one from Win 5.2?) Modified: trunk/reactos/dll/win32/browseui/lang/de-DE.rc Modified: trunk/reactos/dll/win32/browseui/lang/de-DE.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/lang/de…
============================================================================== --- trunk/reactos/dll/win32/browseui/lang/de-DE.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/browseui/lang/de-DE.rc [iso-8859-1] Tue Feb 10 02:03:35 2015 @@ -118,7 +118,7 @@ LTEXT "", IDC_TEXT_LINE + 1, 7, 55, 250, 10, SS_LEFT|SS_NOPREFIX LTEXT "", IDC_TEXT_LINE + 2, 7, 75, 190, 10, SS_LEFT|SS_NOPREFIX CONTROL "", IDC_PROGRESS_BAR, PROGRESS_CLASSA, WS_BORDER, 7, 65, 190, 8 - PUSHBUTTON "Cancel", IDCANCEL, 205, 65, 50, 15, WS_GROUP | WS_TABSTOP | WS_VISIBLE + PUSHBUTTON "Abbrechen", IDCANCEL, 205, 65, 50, 15, WS_GROUP | WS_TABSTOP | WS_VISIBLE } IDD_CUSTOMIZETOOLBAREX DIALOGEX 0, 0, 357, 33 @@ -154,8 +154,8 @@ STRINGTABLE BEGIN - IDS_CANCELLING "Canceling..." - IDS_REMAINING "Remaining" + IDS_CANCELLING "Abbrechen..." + IDS_REMAINING "Ãbrig" END STRINGTABLE
9 years, 10 months
1
0
0
0
[dreimer] 66214: [BROWSEUI] Sync all languages with the once more not synced English one... Every language has a different state and no one sees that if the new strings are not added in there. At l...
by dreimer@svn.reactos.org
Author: dreimer Date: Mon Feb 9 23:25:49 2015 New Revision: 66214 URL:
http://svn.reactos.org/svn/reactos?rev=66214&view=rev
Log: [BROWSEUI] Sync all languages with the once more not synced English one... Every language has a different state and no one sees that if the new strings are not added in there. At least add the English original. Thx for understanding. DIALOG -> DIALOGEX Modified: trunk/reactos/dll/win32/browseui/lang/bg-BG.rc trunk/reactos/dll/win32/browseui/lang/de-DE.rc trunk/reactos/dll/win32/browseui/lang/en-US.rc trunk/reactos/dll/win32/browseui/lang/es-ES.rc trunk/reactos/dll/win32/browseui/lang/he-IL.rc trunk/reactos/dll/win32/browseui/lang/it-IT.rc trunk/reactos/dll/win32/browseui/lang/pl-PL.rc trunk/reactos/dll/win32/browseui/lang/ro-RO.rc trunk/reactos/dll/win32/browseui/lang/ru-RU.rc trunk/reactos/dll/win32/browseui/lang/sq-AL.rc trunk/reactos/dll/win32/browseui/lang/tr-TR.rc trunk/reactos/dll/win32/browseui/lang/uk-UA.rc Modified: trunk/reactos/dll/win32/browseui/lang/bg-BG.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/lang/bg…
============================================================================== --- trunk/reactos/dll/win32/browseui/lang/bg-BG.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/browseui/lang/bg-BG.rc [iso-8859-1] Mon Feb 9 23:25:49 2015 @@ -77,7 +77,31 @@ END END +IDM_TASKBAR_TOOLBARS MENUEX +BEGIN + POPUP "&Toolbars", -1, MFT_STRING, MFS_ENABLED, 0 + BEGIN + MENUITEM "&Desktop", IDM_TASKBAR_TOOLBARS_DESKTOP, MFT_STRING, MFS_GRAYED + MENUITEM "&Quick Launch", IDM_TASKBAR_TOOLBARS_QUICKLAUNCH, MFT_STRING, MFS_GRAYED + MENUITEM "", -1, MFT_SEPARATOR, MFS_ENABLED + MENUITEM "&New Toolbar...", IDM_TASKBAR_TOOLBARS_NEW, MFT_STRING, MFS_GRAYED + END +END + /* Dialogs */ + +IDD_PROGRESS_DLG DIALOGEX 0, 0, 260, 85 +STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU +CAPTION "" +FONT 8, "MS Shell Dlg" +{ + CONTROL "", IDC_ANIMATION, ANIMATE_CLASSA, 0, 12, 10, 236, 25 /* TODO: style */ + LTEXT "", IDC_TEXT_LINE, 7, 45, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 1, 7, 55, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 2, 7, 75, 190, 10, SS_LEFT|SS_NOPREFIX + CONTROL "", IDC_PROGRESS_BAR, PROGRESS_CLASSA, WS_BORDER, 7, 65, 190, 8 + PUSHBUTTON "Cancel", IDCANCEL, 205, 65, 50, 15, WS_GROUP | WS_TABSTOP | WS_VISIBLE +} IDD_CUSTOMIZETOOLBAREX DIALOGEX 0, 0, 357, 36 STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CAPTION @@ -101,6 +125,7 @@ "B", IDM_FAVORITES_ORGANIZEFAVORITES, VIRTKEY, CONTROL, NOINVERT VK_LEFT, IDM_GOTO_BACK, VIRTKEY, ALT VK_RIGHT, IDM_GOTO_FORWARD, VIRTKEY, ALT + VK_BACK, 41010, NOINVERT, VIRTKEY "W", IDM_FILE_CLOSE, VIRTKEY, CONTROL, NOINVERT "E", IDM_EXPLORERBAR_SEARCH, VIRTKEY, CONTROL, NOINVERT "I", IDM_EXPLORERBAR_FAVORITES, VIRTKEY, CONTROL, NOINVERT @@ -108,6 +133,12 @@ END /* Strings */ + +STRINGTABLE +BEGIN + IDS_CANCELLING "Canceling..." + IDS_REMAINING "Remaining" +END STRINGTABLE BEGIN @@ -236,3 +267,8 @@ IDS_BACK "Ðазад" IDS_FORWARD "ÐапÑед" END + +STRINGTABLE +BEGIN + IDS_STANDARD_TOOLBAR, "|Back|Forward|Up|Search|Folders|Move To|Copy To|Delete|Undo|Views|Stop|Refresh|Home|Map Drive|Disconnect|Favorites|History|Full Screen|Properties|Cut|Copy|Paste|Folder Options||" +END Modified: trunk/reactos/dll/win32/browseui/lang/de-DE.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/lang/de…
============================================================================== --- trunk/reactos/dll/win32/browseui/lang/de-DE.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/browseui/lang/de-DE.rc [iso-8859-1] Mon Feb 9 23:25:49 2015 @@ -108,6 +108,19 @@ /* Dialogs */ +IDD_PROGRESS_DLG DIALOGEX 0, 0, 260, 85 +STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU +CAPTION "" +FONT 8, "MS Shell Dlg" +{ + CONTROL "", IDC_ANIMATION, ANIMATE_CLASSA, 0, 12, 10, 236, 25 /* TODO: style */ + LTEXT "", IDC_TEXT_LINE, 7, 45, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 1, 7, 55, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 2, 7, 75, 190, 10, SS_LEFT|SS_NOPREFIX + CONTROL "", IDC_PROGRESS_BAR, PROGRESS_CLASSA, WS_BORDER, 7, 65, 190, 8 + PUSHBUTTON "Cancel", IDCANCEL, 205, 65, 50, 15, WS_GROUP | WS_TABSTOP | WS_VISIBLE +} + IDD_CUSTOMIZETOOLBAREX DIALOGEX 0, 0, 357, 33 STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CAPTION FONT 8, "MS Shell Dlg", 0, 0, 0x1 @@ -130,6 +143,7 @@ "B", IDM_FAVORITES_ORGANIZEFAVORITES, VIRTKEY, CONTROL, NOINVERT VK_LEFT, IDM_GOTO_BACK, VIRTKEY, ALT VK_RIGHT, IDM_GOTO_FORWARD, VIRTKEY, ALT + VK_BACK, 41010, NOINVERT, VIRTKEY "W", IDM_FILE_CLOSE, VIRTKEY, CONTROL, NOINVERT "E", IDM_EXPLORERBAR_SEARCH, VIRTKEY, CONTROL, NOINVERT "I", IDM_EXPLORERBAR_FAVORITES, VIRTKEY, CONTROL, NOINVERT @@ -137,6 +151,12 @@ END /* Strings */ + +STRINGTABLE +BEGIN + IDS_CANCELLING "Canceling..." + IDS_REMAINING "Remaining" +END STRINGTABLE BEGIN @@ -271,4 +291,3 @@ BEGIN IDS_STANDARD_TOOLBAR, "|Zurück|Vorwärts|Ãbergeordneter Ordner|Suchen|Ordner|Verschieben nach|Kopieren nach|Löschen|Rückgängig|Ansicht|Stop|Aktualisieren|Startseite|Netzlaufwerk verbinden|Netzlaufwerk trennen|Favoriten|Verlauf|Vollbild|Eigenschaften|Ausschneiden|Kopieren|Einfügen|Ordneroptionen||" END - Modified: trunk/reactos/dll/win32/browseui/lang/en-US.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/lang/en…
============================================================================== --- trunk/reactos/dll/win32/browseui/lang/en-US.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/browseui/lang/en-US.rc [iso-8859-1] Mon Feb 9 23:25:49 2015 @@ -108,7 +108,7 @@ /* Dialogs */ -IDD_PROGRESS_DLG DIALOG 0, 0, 260, 85 +IDD_PROGRESS_DLG DIALOGEX 0, 0, 260, 85 STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU CAPTION "" FONT 8, "MS Shell Dlg" @@ -286,7 +286,6 @@ IDS_FORWARD "Forward" END - STRINGTABLE BEGIN IDS_STANDARD_TOOLBAR, "|Back|Forward|Up|Search|Folders|Move To|Copy To|Delete|Undo|Views|Stop|Refresh|Home|Map Drive|Disconnect|Favorites|History|Full Screen|Properties|Cut|Copy|Paste|Folder Options||" Modified: trunk/reactos/dll/win32/browseui/lang/es-ES.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/lang/es…
============================================================================== --- trunk/reactos/dll/win32/browseui/lang/es-ES.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/browseui/lang/es-ES.rc [iso-8859-1] Mon Feb 9 23:25:49 2015 @@ -78,7 +78,31 @@ END END +IDM_TASKBAR_TOOLBARS MENUEX +BEGIN + POPUP "&Toolbars", -1, MFT_STRING, MFS_ENABLED, 0 + BEGIN + MENUITEM "&Desktop", IDM_TASKBAR_TOOLBARS_DESKTOP, MFT_STRING, MFS_GRAYED + MENUITEM "&Quick Launch", IDM_TASKBAR_TOOLBARS_QUICKLAUNCH, MFT_STRING, MFS_GRAYED + MENUITEM "", -1, MFT_SEPARATOR, MFS_ENABLED + MENUITEM "&New Toolbar...", IDM_TASKBAR_TOOLBARS_NEW, MFT_STRING, MFS_GRAYED + END +END + /* Dialogs */ + +IDD_PROGRESS_DLG DIALOGEX 0, 0, 260, 85 +STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU +CAPTION "" +FONT 8, "MS Shell Dlg" +{ + CONTROL "", IDC_ANIMATION, ANIMATE_CLASSA, 0, 12, 10, 236, 25 /* TODO: style */ + LTEXT "", IDC_TEXT_LINE, 7, 45, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 1, 7, 55, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 2, 7, 75, 190, 10, SS_LEFT|SS_NOPREFIX + CONTROL "", IDC_PROGRESS_BAR, PROGRESS_CLASSA, WS_BORDER, 7, 65, 190, 8 + PUSHBUTTON "Cancel", IDCANCEL, 205, 65, 50, 15, WS_GROUP | WS_TABSTOP | WS_VISIBLE +} IDD_CUSTOMIZETOOLBAREX DIALOGEX 0, 0, 357, 33 STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CAPTION @@ -102,6 +126,7 @@ "B", IDM_FAVORITES_ORGANIZEFAVORITES, VIRTKEY, CONTROL, NOINVERT VK_LEFT, IDM_GOTO_BACK, VIRTKEY, ALT VK_RIGHT, IDM_GOTO_FORWARD, VIRTKEY, ALT + VK_BACK, 41010, NOINVERT, VIRTKEY "W", IDM_FILE_CLOSE, VIRTKEY, CONTROL, NOINVERT "Q", IDM_EXPLORERBAR_SEARCH, VIRTKEY, CONTROL, NOINVERT "I", IDM_EXPLORERBAR_FAVORITES, VIRTKEY, CONTROL, NOINVERT @@ -109,6 +134,12 @@ END /* Strings */ + +STRINGTABLE +BEGIN + IDS_CANCELLING "Canceling..." + IDS_REMAINING "Remaining" +END STRINGTABLE BEGIN @@ -237,3 +268,8 @@ IDS_BACK "Atrás" IDS_FORWARD "Adelante" END + +STRINGTABLE +BEGIN + IDS_STANDARD_TOOLBAR, "|Back|Forward|Up|Search|Folders|Move To|Copy To|Delete|Undo|Views|Stop|Refresh|Home|Map Drive|Disconnect|Favorites|History|Full Screen|Properties|Cut|Copy|Paste|Folder Options||" +END Modified: trunk/reactos/dll/win32/browseui/lang/he-IL.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/lang/he…
============================================================================== --- trunk/reactos/dll/win32/browseui/lang/he-IL.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/browseui/lang/he-IL.rc [iso-8859-1] Mon Feb 9 23:25:49 2015 @@ -79,7 +79,31 @@ END END +IDM_TASKBAR_TOOLBARS MENUEX +BEGIN + POPUP "&Toolbars", -1, MFT_STRING, MFS_ENABLED, 0 + BEGIN + MENUITEM "&Desktop", IDM_TASKBAR_TOOLBARS_DESKTOP, MFT_STRING, MFS_GRAYED + MENUITEM "&Quick Launch", IDM_TASKBAR_TOOLBARS_QUICKLAUNCH, MFT_STRING, MFS_GRAYED + MENUITEM "", -1, MFT_SEPARATOR, MFS_ENABLED + MENUITEM "&New Toolbar...", IDM_TASKBAR_TOOLBARS_NEW, MFT_STRING, MFS_GRAYED + END +END + /* Dialogs */ + +IDD_PROGRESS_DLG DIALOGEX 0, 0, 260, 85 +STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU +CAPTION "" +FONT 8, "MS Shell Dlg" +{ + CONTROL "", IDC_ANIMATION, ANIMATE_CLASSA, 0, 12, 10, 236, 25 /* TODO: style */ + LTEXT "", IDC_TEXT_LINE, 7, 45, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 1, 7, 55, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 2, 7, 75, 190, 10, SS_LEFT|SS_NOPREFIX + CONTROL "", IDC_PROGRESS_BAR, PROGRESS_CLASSA, WS_BORDER, 7, 65, 190, 8 + PUSHBUTTON "Cancel", IDCANCEL, 205, 65, 50, 15, WS_GROUP | WS_TABSTOP | WS_VISIBLE +} IDD_CUSTOMIZETOOLBAREX DIALOGEX 0, 0, 357, 33 STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CAPTION @@ -103,6 +127,7 @@ "B", IDM_FAVORITES_ORGANIZEFAVORITES, VIRTKEY, CONTROL, NOINVERT VK_LEFT, IDM_GOTO_BACK, VIRTKEY, ALT VK_RIGHT, IDM_GOTO_FORWARD, VIRTKEY, ALT + VK_BACK, 41010, NOINVERT, VIRTKEY "W", IDM_FILE_CLOSE, VIRTKEY, CONTROL, NOINVERT "E", IDM_EXPLORERBAR_SEARCH, VIRTKEY, CONTROL, NOINVERT "I", IDM_EXPLORERBAR_FAVORITES, VIRTKEY, CONTROL, NOINVERT @@ -110,6 +135,12 @@ END /* Strings */ + +STRINGTABLE +BEGIN + IDS_CANCELLING "Canceling..." + IDS_REMAINING "Remaining" +END STRINGTABLE BEGIN @@ -238,3 +269,8 @@ IDS_BACK "Back" IDS_FORWARD "Forward" END + +STRINGTABLE +BEGIN + IDS_STANDARD_TOOLBAR, "|Back|Forward|Up|Search|Folders|Move To|Copy To|Delete|Undo|Views|Stop|Refresh|Home|Map Drive|Disconnect|Favorites|History|Full Screen|Properties|Cut|Copy|Paste|Folder Options||" +END Modified: trunk/reactos/dll/win32/browseui/lang/it-IT.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/lang/it…
============================================================================== --- trunk/reactos/dll/win32/browseui/lang/it-IT.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/browseui/lang/it-IT.rc [iso-8859-1] Mon Feb 9 23:25:49 2015 @@ -77,7 +77,31 @@ END END +IDM_TASKBAR_TOOLBARS MENUEX +BEGIN + POPUP "&Toolbars", -1, MFT_STRING, MFS_ENABLED, 0 + BEGIN + MENUITEM "&Desktop", IDM_TASKBAR_TOOLBARS_DESKTOP, MFT_STRING, MFS_GRAYED + MENUITEM "&Quick Launch", IDM_TASKBAR_TOOLBARS_QUICKLAUNCH, MFT_STRING, MFS_GRAYED + MENUITEM "", -1, MFT_SEPARATOR, MFS_ENABLED + MENUITEM "&New Toolbar...", IDM_TASKBAR_TOOLBARS_NEW, MFT_STRING, MFS_GRAYED + END +END + /* Dialogs */ + +IDD_PROGRESS_DLG DIALOGEX 0, 0, 260, 85 +STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU +CAPTION "" +FONT 8, "MS Shell Dlg" +{ + CONTROL "", IDC_ANIMATION, ANIMATE_CLASSA, 0, 12, 10, 236, 25 /* TODO: style */ + LTEXT "", IDC_TEXT_LINE, 7, 45, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 1, 7, 55, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 2, 7, 75, 190, 10, SS_LEFT|SS_NOPREFIX + CONTROL "", IDC_PROGRESS_BAR, PROGRESS_CLASSA, WS_BORDER, 7, 65, 190, 8 + PUSHBUTTON "Cancel", IDCANCEL, 205, 65, 50, 15, WS_GROUP | WS_TABSTOP | WS_VISIBLE +} IDD_CUSTOMIZETOOLBAREX DIALOGEX 0, 0, 357, 33 STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CAPTION @@ -101,6 +125,7 @@ "B", IDM_FAVORITES_ORGANIZEFAVORITES, VIRTKEY, CONTROL, NOINVERT VK_LEFT, IDM_GOTO_BACK, VIRTKEY, ALT VK_RIGHT, IDM_GOTO_FORWARD, VIRTKEY, ALT + VK_BACK, 41010, NOINVERT, VIRTKEY "W", IDM_FILE_CLOSE, VIRTKEY, CONTROL, NOINVERT "E", IDM_EXPLORERBAR_SEARCH, VIRTKEY, CONTROL, NOINVERT "I", IDM_EXPLORERBAR_FAVORITES, VIRTKEY, CONTROL, NOINVERT @@ -108,6 +133,12 @@ END /* Strings */ + +STRINGTABLE +BEGIN + IDS_CANCELLING "Canceling..." + IDS_REMAINING "Remaining" +END STRINGTABLE BEGIN @@ -236,3 +267,8 @@ IDS_BACK "Indietro" IDS_FORWARD "Avanti" END + +STRINGTABLE +BEGIN + IDS_STANDARD_TOOLBAR, "|Back|Forward|Up|Search|Folders|Move To|Copy To|Delete|Undo|Views|Stop|Refresh|Home|Map Drive|Disconnect|Favorites|History|Full Screen|Properties|Cut|Copy|Paste|Folder Options||" +END Modified: trunk/reactos/dll/win32/browseui/lang/pl-PL.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/lang/pl…
============================================================================== --- trunk/reactos/dll/win32/browseui/lang/pl-PL.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/browseui/lang/pl-PL.rc [iso-8859-1] Mon Feb 9 23:25:49 2015 @@ -85,7 +85,31 @@ END END +IDM_TASKBAR_TOOLBARS MENUEX +BEGIN + POPUP "&Toolbars", -1, MFT_STRING, MFS_ENABLED, 0 + BEGIN + MENUITEM "&Desktop", IDM_TASKBAR_TOOLBARS_DESKTOP, MFT_STRING, MFS_GRAYED + MENUITEM "&Quick Launch", IDM_TASKBAR_TOOLBARS_QUICKLAUNCH, MFT_STRING, MFS_GRAYED + MENUITEM "", -1, MFT_SEPARATOR, MFS_ENABLED + MENUITEM "&New Toolbar...", IDM_TASKBAR_TOOLBARS_NEW, MFT_STRING, MFS_GRAYED + END +END + /* Dialogs */ + +IDD_PROGRESS_DLG DIALOGEX 0, 0, 260, 85 +STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU +CAPTION "" +FONT 8, "MS Shell Dlg" +{ + CONTROL "", IDC_ANIMATION, ANIMATE_CLASSA, 0, 12, 10, 236, 25 /* TODO: style */ + LTEXT "", IDC_TEXT_LINE, 7, 45, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 1, 7, 55, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 2, 7, 75, 190, 10, SS_LEFT|SS_NOPREFIX + CONTROL "", IDC_PROGRESS_BAR, PROGRESS_CLASSA, WS_BORDER, 7, 65, 190, 8 + PUSHBUTTON "Cancel", IDCANCEL, 205, 65, 50, 15, WS_GROUP | WS_TABSTOP | WS_VISIBLE +} IDD_CUSTOMIZETOOLBAREX DIALOGEX 0, 0, 357, 33 STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CAPTION @@ -109,6 +133,7 @@ "B", IDM_FAVORITES_ORGANIZEFAVORITES, VIRTKEY, CONTROL, NOINVERT VK_LEFT, IDM_GOTO_BACK, VIRTKEY, ALT VK_RIGHT, IDM_GOTO_FORWARD, VIRTKEY, ALT + VK_BACK, 41010, NOINVERT, VIRTKEY "W", IDM_FILE_CLOSE, VIRTKEY, CONTROL, NOINVERT "E", IDM_EXPLORERBAR_SEARCH, VIRTKEY, CONTROL, NOINVERT "I", IDM_EXPLORERBAR_FAVORITES, VIRTKEY, CONTROL, NOINVERT @@ -116,6 +141,12 @@ END /* Strings */ + +STRINGTABLE +BEGIN + IDS_CANCELLING "Canceling..." + IDS_REMAINING "Remaining" +END STRINGTABLE BEGIN @@ -244,3 +275,8 @@ IDS_BACK "Wstecz" IDS_FORWARD "Naprzód" END + +STRINGTABLE +BEGIN + IDS_STANDARD_TOOLBAR, "|Back|Forward|Up|Search|Folders|Move To|Copy To|Delete|Undo|Views|Stop|Refresh|Home|Map Drive|Disconnect|Favorites|History|Full Screen|Properties|Cut|Copy|Paste|Folder Options||" +END Modified: trunk/reactos/dll/win32/browseui/lang/ro-RO.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/lang/ro…
============================================================================== --- trunk/reactos/dll/win32/browseui/lang/ro-RO.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/browseui/lang/ro-RO.rc [iso-8859-1] Mon Feb 9 23:25:49 2015 @@ -92,6 +92,19 @@ /* Dialogs */ +IDD_PROGRESS_DLG DIALOGEX 0, 0, 260, 85 +STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU +CAPTION "" +FONT 8, "MS Shell Dlg" +{ + CONTROL "", IDC_ANIMATION, ANIMATE_CLASSA, 0, 12, 10, 236, 25 /* TODO: style */ + LTEXT "", IDC_TEXT_LINE, 7, 45, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 1, 7, 55, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 2, 7, 75, 190, 10, SS_LEFT|SS_NOPREFIX + CONTROL "", IDC_PROGRESS_BAR, PROGRESS_CLASSA, WS_BORDER, 7, 65, 190, 8 + PUSHBUTTON "Cancel", IDCANCEL, 205, 65, 50, 15, WS_GROUP | WS_TABSTOP | WS_VISIBLE +} + IDD_CUSTOMIZETOOLBAREX DIALOGEX 0, 0, 357, 33 STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CAPTION FONT 8, "MS Shell Dlg", 0, 0, 0x1 @@ -114,6 +127,7 @@ "B", IDM_FAVORITES_ORGANIZEFAVORITES, VIRTKEY, CONTROL, NOINVERT VK_LEFT, IDM_GOTO_BACK, VIRTKEY, ALT VK_RIGHT, IDM_GOTO_FORWARD, VIRTKEY, ALT + VK_BACK, 41010, NOINVERT, VIRTKEY "W", IDM_FILE_CLOSE, VIRTKEY, CONTROL, NOINVERT "E", IDM_EXPLORERBAR_SEARCH, VIRTKEY, CONTROL, NOINVERT "I", IDM_EXPLORERBAR_FAVORITES, VIRTKEY, CONTROL, NOINVERT @@ -121,6 +135,12 @@ END /* Strings */ + +STRINGTABLE +BEGIN + IDS_CANCELLING "Canceling..." + IDS_REMAINING "Remaining" +END STRINGTABLE BEGIN @@ -249,3 +269,8 @@ IDS_BACK "Ãnapoi" IDS_FORWARD "Ãnainte" END + +STRINGTABLE +BEGIN + IDS_STANDARD_TOOLBAR, "|Back|Forward|Up|Search|Folders|Move To|Copy To|Delete|Undo|Views|Stop|Refresh|Home|Map Drive|Disconnect|Favorites|History|Full Screen|Properties|Cut|Copy|Paste|Folder Options||" +END Modified: trunk/reactos/dll/win32/browseui/lang/ru-RU.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/lang/ru…
============================================================================== --- trunk/reactos/dll/win32/browseui/lang/ru-RU.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/browseui/lang/ru-RU.rc [iso-8859-1] Mon Feb 9 23:25:49 2015 @@ -1,9 +1,9 @@ /* Russian language resource file by Petr Akhlamov (petr-akhlamov(a)yandex.ru) */ LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT - + /* Menus */ - + IDM_CABINET_CONTEXTMENU MENUEX BEGIN POPUP "", 264,MFT_STRING,MFS_ENABLED @@ -18,7 +18,7 @@ MENUITEM "&Ðнопка ÐеÑÐµÑ Ð¾Ð´", IDM_TOOLBARS_GOBUTTON, MFT_STRING, MFS_ENABLED END END - + IDM_CABINET_MAINMENU MENUEX BEGIN POPUP "&Файл", FCIDM_MENU_FILE @@ -91,7 +91,20 @@ END /* Dialogs */ - + +IDD_PROGRESS_DLG DIALOGEX 0, 0, 260, 85 +STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU +CAPTION "" +FONT 8, "MS Shell Dlg" +{ + CONTROL "", IDC_ANIMATION, ANIMATE_CLASSA, 0, 12, 10, 236, 25 /* TODO: style */ + LTEXT "", IDC_TEXT_LINE, 7, 45, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 1, 7, 55, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 2, 7, 75, 190, 10, SS_LEFT|SS_NOPREFIX + CONTROL "", IDC_PROGRESS_BAR, PROGRESS_CLASSA, WS_BORDER, 7, 65, 190, 8 + PUSHBUTTON "Cancel", IDCANCEL, 205, 65, 50, 15, WS_GROUP | WS_TABSTOP | WS_VISIBLE +} + IDD_CUSTOMIZETOOLBAREX DIALOGEX 0, 0, 357, 33 STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CAPTION FONT 8, "MS Shell Dlg", 0, 0, 0x1 @@ -101,9 +114,9 @@ LTEXT "Ico&n options:", -1, 4, 20, 48, 15 COMBOBOX IDC_ICONOPTIONS, 52, 18, 123, 57, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP END - + /* Accelerators */ - + IDR_ACCELERATORS ACCELERATORS BEGIN VK_F5, IDM_VIEW_REFRESH, VIRTKEY, NOINVERT @@ -120,52 +133,58 @@ "I", IDM_EXPLORERBAR_FAVORITES, VIRTKEY, CONTROL, NOINVERT "H", IDM_EXPLORERBAR_HISTORY, VIRTKEY, CONTROL, NOINVERT END - + /* Strings */ - + +STRINGTABLE +BEGIN + IDS_CANCELLING "Canceling..." + IDS_REMAINING "Remaining" +END + STRINGTABLE BEGIN 800 "ÐÐ¾Ð¼Ð°Ð½Ð´Ñ ÑабоÑÑ Ñ Ð²ÑделеннÑми обÑекÑами." END - + STRINGTABLE BEGIN 864 "ÐÐ¾Ð¼Ð°Ð½Ð´Ñ Ð´Ð»Ñ ÑедакÑиÑованиÑ." END - + STRINGTABLE BEGIN 928 "ÐÐ¾Ð¼Ð°Ð½Ð´Ñ Ð´Ð»Ñ ÑпÑÐ°Ð²Ð»ÐµÐ½Ð¸Ñ Ð¾ÑобÑажением." END - + STRINGTABLE BEGIN 992 "СлÑжебнÑе командÑ." END - + STRINGTABLE BEGIN 1056 "ÐÐ¾Ð¼Ð°Ð½Ð´Ñ Ð´Ð»Ñ Ð¿ÑоÑмоÑÑа ÑпÑавки." END - + STRINGTABLE BEGIN 9025 "ÐакÑÑÑÑ Ð¾ÐºÐ½Ð¾." 9026 "ÐвеÑÑ ." END - + STRINGTABLE BEGIN 9121 "ÐодклÑÑиÑÑ ÑеÑевой диÑк." 9122 "ÐÑклÑÑиÑÑ ÑеÑевой диÑк." END - + STRINGTABLE BEGIN 9250 "ÐÑобÑажение Ñведений о пÑогÑамме, номеÑе веÑÑии и авÑоÑÑÐºÐ¸Ñ Ð¿ÑÐ°Ð²Ð°Ñ ." 9252 "ÐÑобÑажение Ñведений Ð´Ð»Ñ Ð¾Ñладки." END - + STRINGTABLE BEGIN 9281 "ÐеÑейÑи на пÑедÑдÑÑÑÑ ÑÑÑаниÑÑ." @@ -173,13 +192,13 @@ 9283 "ÐÑимениÑÑ Ð¸Ð·Ð¼ÐµÐ½ÐµÐ½Ð½Ñе наÑÑÑойки." 9285 "ÐеÑейÑи на домаÑнÑÑ ÑÑÑаниÑÑ." END - + STRINGTABLE BEGIN 9362 "ÐÑкÑÑÑÑ Ð¿Ð°Ð¿ÐºÑ ÐзбÑанное." 9363 "ÐобавиÑÑ Ð² избÑанное." END - + STRINGTABLE BEGIN 9505 "ÐоказаÑÑ Ð¸Ð»Ð¸ ÑпÑÑÑаÑÑ Ð¿Ð°Ð½ÐµÐ»Ð¸." @@ -189,12 +208,12 @@ 9510 "ÐÑобÑазиÑÑ Ð¿Ð°Ð½ÐµÐ»Ñ ÑÑÑлок." 9516 "ÐакÑепиÑÑ Ð¿Ð°Ð½ÐµÐ»Ñ Ð¸Ð½ÑÑÑÑменÑов." END - + STRINGTABLE BEGIN 9533 "ÐаÑÑÑойка панели инÑÑÑÑменÑов." END - + STRINGTABLE BEGIN 9552 "ÐÑобÑазиÑÑ Ð¸Ð»Ð¸ ÑкÑÑÑÑ Ð¿Ð°Ð½ÐµÐ»Ð¸ обозÑеваÑелÑ" @@ -204,54 +223,53 @@ 9557 "ÐÑобÑазиÑÑ Ð¿Ð°Ð½ÐµÐ»Ñ Ð¿Ð°Ð¿Ð¾Ðº" 9559 "ÐÑобÑазиÑÑ Ð¿Ð°Ð½ÐµÐ»Ñ Ð¼ÐµÐ´Ð¸Ð°" END - + STRINGTABLE BEGIN IDS_SMALLICONS "Ðелкие знаÑки" IDS_LARGEICONS "ÐÑÑпнÑе знаÑки" IDS_SHOWTEXTLABELS "ТекÑÑ ÐºÐ½Ð¾Ð¿ÐºÐ¸" END - + STRINGTABLE BEGIN IDS_NOTEXTLABELS "Ðез подпиÑей к кнопкам" IDS_SELECTIVETEXTONRIGHT "ÐÑбоÑоÑно ÑекÑÑ ÑпÑава" END - + STRINGTABLE BEGIN IDS_GOBUTTONLABEL "|ÐеÑÐµÑ Ð¾Ð´||" IDS_GOBUTTONTIPTEMPLATE "ÐеÑейÑи в ""%s""" END - + STRINGTABLE BEGIN IDS_SEARCHLABEL "ÐоиÑк" IDS_ADDRESSBANDLABEL "Ð&дÑеÑ" END - + STRINGTABLE BEGIN IDS_FOLDERSLABEL "Ðапки" END - + STRINGTABLE BEGIN IDS_HISTORYTEXT "&ÐÑÑоÑиÑ\tCtrl+H" END - + STRINGTABLE BEGIN IDS_UP "ÐвеÑÑ " END - + STRINGTABLE BEGIN IDS_BACK "Ðазад" IDS_FORWARD "ÐпеÑед" END - STRINGTABLE BEGIN IDS_STANDARD_TOOLBAR, "|Ðазад|ÐпеÑед|ÐвеÑÑ |ÐоиÑк|Ðапки|ÐеÑемеÑÑиÑÑ Ð²|ÐопиÑоваÑÑ Ð²|УдалиÑÑ|ÐÑмениÑÑ|Ðид|ÐÑÑановиÑÑ|ÐбновиÑÑ|Ðомой|ÐодклÑÑиÑÑ Ð´Ð¸Ñк|ÐÑклÑÑиÑÑ|ÐзбÑанное|ÐÑÑнал|Ðо веÑÑ ÑкÑан|СвойÑÑва|ÐÑÑезаÑÑ|ÐопиÑоваÑÑ|ÐÑÑавиÑÑ|СвойÑÑва папки||" Modified: trunk/reactos/dll/win32/browseui/lang/sq-AL.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/lang/sq…
============================================================================== --- trunk/reactos/dll/win32/browseui/lang/sq-AL.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/browseui/lang/sq-AL.rc [iso-8859-1] Mon Feb 9 23:25:49 2015 @@ -96,7 +96,31 @@ END END +IDM_TASKBAR_TOOLBARS MENUEX +BEGIN + POPUP "&Toolbars", -1, MFT_STRING, MFS_ENABLED, 0 + BEGIN + MENUITEM "&Desktop", IDM_TASKBAR_TOOLBARS_DESKTOP, MFT_STRING, MFS_GRAYED + MENUITEM "&Quick Launch", IDM_TASKBAR_TOOLBARS_QUICKLAUNCH, MFT_STRING, MFS_GRAYED + MENUITEM "", -1, MFT_SEPARATOR, MFS_ENABLED + MENUITEM "&New Toolbar...", IDM_TASKBAR_TOOLBARS_NEW, MFT_STRING, MFS_GRAYED + END +END + /* Dialogs */ + +IDD_PROGRESS_DLG DIALOGEX 0, 0, 260, 85 +STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU +CAPTION "" +FONT 8, "MS Shell Dlg" +{ + CONTROL "", IDC_ANIMATION, ANIMATE_CLASSA, 0, 12, 10, 236, 25 /* TODO: style */ + LTEXT "", IDC_TEXT_LINE, 7, 45, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 1, 7, 55, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 2, 7, 75, 190, 10, SS_LEFT|SS_NOPREFIX + CONTROL "", IDC_PROGRESS_BAR, PROGRESS_CLASSA, WS_BORDER, 7, 65, 190, 8 + PUSHBUTTON "Cancel", IDCANCEL, 205, 65, 50, 15, WS_GROUP | WS_TABSTOP | WS_VISIBLE +} IDD_CUSTOMIZETOOLBAREX DIALOGEX 0, 0, 357, 33 STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CAPTION @@ -120,6 +144,7 @@ "B", IDM_FAVORITES_ORGANIZEFAVORITES, VIRTKEY, CONTROL, NOINVERT VK_LEFT, IDM_GOTO_BACK, VIRTKEY, ALT VK_RIGHT, IDM_GOTO_FORWARD, VIRTKEY, ALT + VK_BACK, 41010, NOINVERT, VIRTKEY "W", IDM_FILE_CLOSE, VIRTKEY, CONTROL, NOINVERT "E", IDM_EXPLORERBAR_SEARCH, VIRTKEY, CONTROL, NOINVERT "I", IDM_EXPLORERBAR_FAVORITES, VIRTKEY, CONTROL, NOINVERT @@ -127,6 +152,12 @@ END /* Strings */ + +STRINGTABLE +BEGIN + IDS_CANCELLING "Canceling..." + IDS_REMAINING "Remaining" +END STRINGTABLE BEGIN @@ -255,3 +286,8 @@ IDS_BACK "Mrapa" IDS_FORWARD "Perpara" END + +STRINGTABLE +BEGIN + IDS_STANDARD_TOOLBAR, "|Back|Forward|Up|Search|Folders|Move To|Copy To|Delete|Undo|Views|Stop|Refresh|Home|Map Drive|Disconnect|Favorites|History|Full Screen|Properties|Cut|Copy|Paste|Folder Options||" +END Modified: trunk/reactos/dll/win32/browseui/lang/tr-TR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/lang/tr…
============================================================================== --- trunk/reactos/dll/win32/browseui/lang/tr-TR.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/browseui/lang/tr-TR.rc [iso-8859-1] Mon Feb 9 23:25:49 2015 @@ -77,7 +77,31 @@ END END +IDM_TASKBAR_TOOLBARS MENUEX +BEGIN + POPUP "&Toolbars", -1, MFT_STRING, MFS_ENABLED, 0 + BEGIN + MENUITEM "&Desktop", IDM_TASKBAR_TOOLBARS_DESKTOP, MFT_STRING, MFS_GRAYED + MENUITEM "&Quick Launch", IDM_TASKBAR_TOOLBARS_QUICKLAUNCH, MFT_STRING, MFS_GRAYED + MENUITEM "", -1, MFT_SEPARATOR, MFS_ENABLED + MENUITEM "&New Toolbar...", IDM_TASKBAR_TOOLBARS_NEW, MFT_STRING, MFS_GRAYED + END +END + /* Dialogs */ + +IDD_PROGRESS_DLG DIALOGEX 0, 0, 260, 85 +STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU +CAPTION "" +FONT 8, "MS Shell Dlg" +{ + CONTROL "", IDC_ANIMATION, ANIMATE_CLASSA, 0, 12, 10, 236, 25 /* TODO: style */ + LTEXT "", IDC_TEXT_LINE, 7, 45, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 1, 7, 55, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 2, 7, 75, 190, 10, SS_LEFT|SS_NOPREFIX + CONTROL "", IDC_PROGRESS_BAR, PROGRESS_CLASSA, WS_BORDER, 7, 65, 190, 8 + PUSHBUTTON "Cancel", IDCANCEL, 205, 65, 50, 15, WS_GROUP | WS_TABSTOP | WS_VISIBLE +} IDD_CUSTOMIZETOOLBAREX DIALOGEX 0, 0, 357, 33 STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CAPTION @@ -101,6 +125,7 @@ "B", IDM_FAVORITES_ORGANIZEFAVORITES, VIRTKEY, CONTROL, NOINVERT VK_LEFT, IDM_GOTO_BACK, VIRTKEY, ALT VK_RIGHT, IDM_GOTO_FORWARD, VIRTKEY, ALT + VK_BACK, 41010, NOINVERT, VIRTKEY "W", IDM_FILE_CLOSE, VIRTKEY, CONTROL, NOINVERT "E", IDM_EXPLORERBAR_SEARCH, VIRTKEY, CONTROL, NOINVERT "I", IDM_EXPLORERBAR_FAVORITES, VIRTKEY, CONTROL, NOINVERT @@ -108,6 +133,12 @@ END /* Strings */ + +STRINGTABLE +BEGIN + IDS_CANCELLING "Canceling..." + IDS_REMAINING "Remaining" +END STRINGTABLE BEGIN @@ -236,3 +267,8 @@ IDS_BACK "Geri" IDS_FORWARD "Ä°leri" END + +STRINGTABLE +BEGIN + IDS_STANDARD_TOOLBAR, "|Back|Forward|Up|Search|Folders|Move To|Copy To|Delete|Undo|Views|Stop|Refresh|Home|Map Drive|Disconnect|Favorites|History|Full Screen|Properties|Cut|Copy|Paste|Folder Options||" +END Modified: trunk/reactos/dll/win32/browseui/lang/uk-UA.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/lang/uk…
============================================================================== --- trunk/reactos/dll/win32/browseui/lang/uk-UA.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/browseui/lang/uk-UA.rc [iso-8859-1] Mon Feb 9 23:25:49 2015 @@ -79,7 +79,31 @@ END END +IDM_TASKBAR_TOOLBARS MENUEX +BEGIN + POPUP "&Toolbars", -1, MFT_STRING, MFS_ENABLED, 0 + BEGIN + MENUITEM "&Desktop", IDM_TASKBAR_TOOLBARS_DESKTOP, MFT_STRING, MFS_GRAYED + MENUITEM "&Quick Launch", IDM_TASKBAR_TOOLBARS_QUICKLAUNCH, MFT_STRING, MFS_GRAYED + MENUITEM "", -1, MFT_SEPARATOR, MFS_ENABLED + MENUITEM "&New Toolbar...", IDM_TASKBAR_TOOLBARS_NEW, MFT_STRING, MFS_GRAYED + END +END + /* Dialogs */ + +IDD_PROGRESS_DLG DIALOGEX 0, 0, 260, 85 +STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU +CAPTION "" +FONT 8, "MS Shell Dlg" +{ + CONTROL "", IDC_ANIMATION, ANIMATE_CLASSA, 0, 12, 10, 236, 25 /* TODO: style */ + LTEXT "", IDC_TEXT_LINE, 7, 45, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 1, 7, 55, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 2, 7, 75, 190, 10, SS_LEFT|SS_NOPREFIX + CONTROL "", IDC_PROGRESS_BAR, PROGRESS_CLASSA, WS_BORDER, 7, 65, 190, 8 + PUSHBUTTON "Cancel", IDCANCEL, 205, 65, 50, 15, WS_GROUP | WS_TABSTOP | WS_VISIBLE +} IDD_CUSTOMIZETOOLBAREX DIALOGEX 0, 0, 357, 33 STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CAPTION @@ -103,6 +127,7 @@ "B", IDM_FAVORITES_ORGANIZEFAVORITES, VIRTKEY, CONTROL, NOINVERT VK_LEFT, IDM_GOTO_BACK, VIRTKEY, ALT VK_RIGHT, IDM_GOTO_FORWARD, VIRTKEY, ALT + VK_BACK, 41010, NOINVERT, VIRTKEY "W", IDM_FILE_CLOSE, VIRTKEY, CONTROL, NOINVERT "E", IDM_EXPLORERBAR_SEARCH, VIRTKEY, CONTROL, NOINVERT "I", IDM_EXPLORERBAR_FAVORITES, VIRTKEY, CONTROL, NOINVERT @@ -110,6 +135,12 @@ END /* Strings */ + +STRINGTABLE +BEGIN + IDS_CANCELLING "Canceling..." + IDS_REMAINING "Remaining" +END STRINGTABLE BEGIN @@ -238,3 +269,8 @@ IDS_BACK "Ðазад" IDS_FORWARD "ÐпеÑед" END + +STRINGTABLE +BEGIN + IDS_STANDARD_TOOLBAR, "|Back|Forward|Up|Search|Folders|Move To|Copy To|Delete|Undo|Views|Stop|Refresh|Home|Map Drive|Disconnect|Favorites|History|Full Screen|Properties|Cut|Copy|Paste|Folder Options||" +END
9 years, 10 months
1
0
0
0
[gadamopoulos] 66213: Fix build on unix hosts
by gadamopoulos@svn.reactos.org
Author: gadamopoulos Date: Mon Feb 9 22:31:53 2015 New Revision: 66213 URL:
http://svn.reactos.org/svn/reactos?rev=66213&view=rev
Log: Fix build on unix hosts Modified: trunk/reactos/dll/win32/browseui/precomp.h Modified: trunk/reactos/dll/win32/browseui/precomp.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/precomp…
============================================================================== --- trunk/reactos/dll/win32/browseui/precomp.h [iso-8859-1] (original) +++ trunk/reactos/dll/win32/browseui/precomp.h [iso-8859-1] Mon Feb 9 22:31:53 2015 @@ -22,7 +22,7 @@ #include <atlwin.h> #include <perhist.h> #include <exdispid.h> -#include <Strsafe.h> +#include <strsafe.h> #include <shlwapi.h> #include <shlwapi_undoc.h> #include <undocshell.h>
9 years, 10 months
1
0
0
0
[gadamopoulos] 66212: [BROWSEUI] - Implement CProgressDialog based on wine - Patch by Huw Campbell, improved by me CORE-4476
by gadamopoulos@svn.reactos.org
Author: gadamopoulos Date: Mon Feb 9 22:29:23 2015 New Revision: 66212 URL:
http://svn.reactos.org/svn/reactos?rev=66212&view=rev
Log: [BROWSEUI] - Implement CProgressDialog based on wine - Patch by Huw Campbell, improved by me CORE-4476 Added: trunk/reactos/dll/win32/browseui/CProgressDialog.cpp (with props) trunk/reactos/dll/win32/browseui/CProgressDialog.h (with props) trunk/reactos/dll/win32/browseui/res/progressdialog.rgs (with props) Modified: trunk/reactos/dll/win32/browseui/CMakeLists.txt trunk/reactos/dll/win32/browseui/browseui.cpp trunk/reactos/dll/win32/browseui/browseui.rc trunk/reactos/dll/win32/browseui/lang/en-US.rc trunk/reactos/dll/win32/browseui/precomp.h trunk/reactos/dll/win32/browseui/resource.h Modified: trunk/reactos/dll/win32/browseui/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/CMakeLi…
============================================================================== --- trunk/reactos/dll/win32/browseui/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/dll/win32/browseui/CMakeLists.txt [iso-8859-1] Mon Feb 9 22:29:23 2015 @@ -28,6 +28,7 @@ toolsband.cpp travellog.cpp utility.cpp + CProgressDialog.cpp precomp.h) add_library(browseui SHARED Added: trunk/reactos/dll/win32/browseui/CProgressDialog.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/CProgre…
============================================================================== --- trunk/reactos/dll/win32/browseui/CProgressDialog.cpp (added) +++ trunk/reactos/dll/win32/browseui/CProgressDialog.cpp [iso-8859-1] Mon Feb 9 22:29:23 2015 @@ -0,0 +1,453 @@ +/* + * Progress dialog + * + * Copyright 2007 Mikolaj Zalewski + * Copyright 2014 Huw Campbell + * + * this library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * this library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include <precomp.h> + +#define COBJMACROS + +#define CANCEL_MSG_LINE 2 + +/* Note: to avoid a deadlock we don't want to send messages to the dialog + * with the critical section held. Instead we only mark what fields should be + * updated and the dialog proc does the update */ +#define UPDATE_PROGRESS 0x1 +#define UPDATE_TITLE 0x2 +#define UPDATE_LINE1 0x4 +#define UPDATE_LINE2 (UPDATE_LINE1<<1) +#define UPDATE_LINE3 (UPDATE_LINE1<<2) + + +#define WM_DLG_UPDATE (WM_APP+1) /* set to the dialog when it should update */ +#define WM_DLG_DESTROY (WM_APP+2) /* DestroyWindow must be called from the owning thread */ + +#define ID_3SECONDS 101 + +CProgressDialog::CProgressDialog() +{ + ULONG cb = 32 *sizeof(WCHAR); + this->lines[0] = (LPWSTR) heap_alloc_zero(cb); + this->lines[1] = (LPWSTR) heap_alloc_zero(cb); + this->lines[2] = (LPWSTR) heap_alloc_zero(cb); + this->cancelMsg = (LPWSTR) heap_alloc_zero(cb); + this->title = (LPWSTR) heap_alloc_zero(cb); + + this->clockHand = -1; + this->progressClock[29].ullMark = 0ull; + this->dwStartTime = GetTickCount(); + + InitializeCriticalSection(&this->cs); + this->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": ProgressDialog.cs"); +} + +CProgressDialog::~CProgressDialog() +{ + if (this->hwnd) + this->end_dialog(); + heap_free(this->lines[0]); + heap_free(this->lines[1]); + heap_free(this->lines[2]); + heap_free(this->cancelMsg); + heap_free(this->title); + this->cs.DebugInfo->Spare[0] = 0; + DeleteCriticalSection(&this->cs); +} + +static void set_buffer(LPWSTR *buffer, LPCWSTR string) +{ + static const WCHAR empty_string[] = {0}; + ULONG len; + + if (string == NULL) + string = empty_string; + len = (wcslen(string) + 1)*sizeof(WCHAR); + + LPWSTR tmp = (LPWSTR) heap_realloc(*buffer, len); + if (tmp) + *buffer = tmp; + else + len = wcslen(*buffer) + 1; + + StringCchCopyW(*buffer, len, string); +} + +struct create_params +{ + CProgressDialog *This; + HANDLE hEvent; + HWND hwndParent; +}; + +static LPWSTR load_string(HINSTANCE hInstance, UINT uiResourceId) +{ + WCHAR string[256]; + LPWSTR ret; + + LoadStringW(hInstance, uiResourceId, string, sizeof(string)/sizeof(string[0])); + ret = (LPWSTR) HeapAlloc(GetProcessHeap(), 0, (wcslen(string) + 1) * sizeof(WCHAR)); + StrCpyW(ret, string); + return ret; +} + +void CProgressDialog::set_progress_marquee() +{ + HWND hProgress = GetDlgItem(this->hwnd, IDC_PROGRESS_BAR); + SetWindowLongW(hProgress, GWL_STYLE, + GetWindowLongW(hProgress, GWL_STYLE)|PBS_MARQUEE); +} + +void CProgressDialog::update_dialog(DWORD dwUpdate) +{ + WCHAR empty[] = {0}; + + if (dwUpdate & UPDATE_TITLE) + SetWindowTextW(this->hwnd, this->title); + + if (dwUpdate & UPDATE_LINE1) + SetDlgItemTextW(this->hwnd, IDC_TEXT_LINE, (this->isCancelled ? empty : this->lines[0])); + if (dwUpdate & UPDATE_LINE2) + SetDlgItemTextW(this->hwnd, IDC_TEXT_LINE+1, (this->isCancelled ? empty : this->lines[1])); + if (dwUpdate & UPDATE_LINE3) + SetDlgItemTextW(this->hwnd, IDC_TEXT_LINE+2, (this->isCancelled ? this->cancelMsg : this->lines[2])); + + if (dwUpdate & UPDATE_PROGRESS) + { + ULONGLONG ullTotal = this->ullTotal; + ULONGLONG ullCompleted = this->ullCompleted; + + /* progress bar requires 32-bit coordinates */ + while (ullTotal >> 32) + { + ullTotal >>= 1; + ullCompleted >>= 1; + } + + SendDlgItemMessageW(this->hwnd, IDC_PROGRESS_BAR, PBM_SETRANGE32, 0, (DWORD)ullTotal); + SendDlgItemMessageW(this->hwnd, IDC_PROGRESS_BAR, PBM_SETPOS, (DWORD)ullCompleted, 0); + } +} + +void CProgressDialog::end_dialog() +{ + SendMessageW(this->hwnd, WM_DLG_DESTROY, 0, 0); + /* native doesn't re-enable the window? */ + if (this->hwndDisabledParent) + EnableWindow(this->hwndDisabledParent, TRUE); + this->hwnd = NULL; +} + +static INT_PTR CALLBACK dialog_proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) +{ + CProgressDialog *This = (CProgressDialog *)GetWindowLongPtrW(hwnd, DWLP_USER); + + switch (msg) + { + case WM_INITDIALOG: + { + struct create_params *params = (struct create_params *)lParam; + + /* Note: until we set the hEvent, the object is protected by + * the critical section held by StartProgress */ + SetWindowLongPtrW(hwnd, DWLP_USER, (LONG_PTR)params->This); + This = params->This; + This->hwnd = hwnd; + + if (This->dwFlags & PROGDLG_NOPROGRESSBAR) + ShowWindow(GetDlgItem(hwnd, IDC_PROGRESS_BAR), SW_HIDE); + if (This->dwFlags & PROGDLG_NOCANCEL) + ShowWindow(GetDlgItem(hwnd, IDCANCEL), SW_HIDE); + if (This->dwFlags & PROGDLG_MARQUEEPROGRESS) + This->set_progress_marquee(); + if (This->dwFlags & PROGDLG_NOMINIMIZE) + SetWindowLongW(hwnd, GWL_STYLE, GetWindowLongW(hwnd, GWL_STYLE) & (~WS_MINIMIZEBOX)); + + This->update_dialog(0xffffffff); + This->dwUpdate = 0; + This->isCancelled = FALSE; + + SetTimer(hwnd, ID_3SECONDS, 3 * 1000, NULL); + + SetEvent(params->hEvent); + return TRUE; + } + + case WM_DLG_UPDATE: + EnterCriticalSection(&This->cs); + This->update_dialog(This->dwUpdate); + This->dwUpdate = 0; + LeaveCriticalSection(&This->cs); + return TRUE; + + case WM_DLG_DESTROY: + DestroyWindow(hwnd); + PostThreadMessageW(GetCurrentThreadId(), WM_NULL, 0, 0); /* wake up the GetMessage */ + KillTimer(hwnd, ID_3SECONDS); + + return TRUE; + + case WM_CLOSE: + case WM_COMMAND: + if (msg == WM_CLOSE || wParam == IDCANCEL) + { + EnterCriticalSection(&This->cs); + This->isCancelled = TRUE; + + if (!This->cancelMsg[0]) { + heap_free(This->cancelMsg); + This->cancelMsg = load_string(_AtlBaseModule.GetResourceInstance(), IDS_CANCELLING); + } + + This->set_progress_marquee(); + EnableWindow(GetDlgItem(This->hwnd, IDCANCEL), FALSE); + This->update_dialog(UPDATE_LINE1|UPDATE_LINE2|UPDATE_LINE3); + LeaveCriticalSection(&This->cs); + } + return TRUE; + + case WM_TIMER: + EnterCriticalSection(&This->cs); + if (This->progressClock[29].ullMark != 0ull) { + // We have enough info to take a guess + ULONGLONG sizeDiff = This->progressClock[This->clockHand].ullMark - + This->progressClock[(This->clockHand + 29) % 30].ullMark; + DWORD timeDiff = This->progressClock[This->clockHand].dwTime - + This->progressClock[(This->clockHand + 29) % 30].dwTime; + DWORD runDiff = This->progressClock[This->clockHand].dwTime - + This->dwStartTime; + ULONGLONG sizeLeft = This->ullTotal - This->progressClock[This->clockHand].ullMark; + + // A guess for time remaining based on the recent slope. + DWORD timeLeftD = (DWORD) timeDiff * ((double) sizeLeft) / ((double) sizeDiff); + // A guess for time remaining based on the start time and current position + DWORD timeLeftI = (DWORD) runDiff * ((double) sizeLeft) / ((double) This->progressClock[This->clockHand].ullMark); + + heap_realloc(&This->lines[2], 128); + StrFromTimeIntervalW(This->lines[2], 128, timeLeftD * 0.3 + timeLeftI * 0.7 , 2); + This->update_dialog( UPDATE_LINE1 << 2 ); + } + LeaveCriticalSection(&This->cs); + + return TRUE; + } + return FALSE; +} + +static DWORD WINAPI dialog_thread(LPVOID lpParameter) +{ + /* Note: until we set the hEvent in WM_INITDIALOG, the ProgressDialog object + * is protected by the critical section held by StartProgress */ + struct create_params *params = (struct create_params *) lpParameter; + HWND hwnd; + MSG msg; + + hwnd = CreateDialogParamW(_AtlBaseModule.GetResourceInstance(), + MAKEINTRESOURCEW(IDD_PROGRESS_DLG), + params->hwndParent, + dialog_proc, + (LPARAM)params); + + while (GetMessageW(&msg, NULL, 0, 0) > 0) + { + if (!IsWindow(hwnd)) + break; + if(!IsDialogMessageW(hwnd, &msg)) + { + TranslateMessage(&msg); + DispatchMessageW(&msg); + } + } + + return 0; +} + +HRESULT WINAPI CProgressDialog::StartProgressDialog(HWND hwndParent, IUnknown *punkEnableModeless, DWORD dwFlags, LPCVOID reserved) +{ + static const INITCOMMONCONTROLSEX init = { sizeof(init), ICC_ANIMATE_CLASS }; + + struct create_params params; + HANDLE hThread; + + // TRACE("(%p, %p, %x, %p)\n", this, punkEnableModeless, dwFlags, reserved); + if (punkEnableModeless || reserved) + FIXME("Reserved parameters not null (%p, %p)\n", punkEnableModeless, reserved); + if (dwFlags & PROGDLG_AUTOTIME) + FIXME("Flags PROGDLG_AUTOTIME not supported\n"); + if (dwFlags & PROGDLG_NOTIME) + FIXME("Flags PROGDLG_NOTIME not supported\n"); + + InitCommonControlsEx( &init ); + + EnterCriticalSection(&this->cs); + + if (this->hwnd) + { + LeaveCriticalSection(&this->cs); + return S_OK; /* as on XP */ + } + this->dwFlags = dwFlags; + params.This = this; + params.hwndParent = hwndParent; + params.hEvent = CreateEventW(NULL, TRUE, FALSE, NULL); + + hThread = CreateThread(NULL, 0, dialog_thread, ¶ms, 0, NULL); + WaitForSingleObject(params.hEvent, INFINITE); + CloseHandle(params.hEvent); + CloseHandle(hThread); + + this->hwndDisabledParent = NULL; + if (hwndParent && (dwFlags & PROGDLG_MODAL)) + { + HWND hwndDisable = GetAncestor(hwndParent, GA_ROOT); + if (EnableWindow(hwndDisable, FALSE)) + this->hwndDisabledParent = hwndDisable; + } + + LeaveCriticalSection(&this->cs); + + return S_OK; +} + +HRESULT WINAPI CProgressDialog::StopProgressDialog() +{ + EnterCriticalSection(&this->cs); + if (this->hwnd) + this->end_dialog(); + LeaveCriticalSection(&this->cs); + + return S_OK; +} + +HRESULT WINAPI CProgressDialog::SetTitle(LPCWSTR pwzTitle) +{ + HWND hwnd; + + EnterCriticalSection(&this->cs); + set_buffer(&this->title, pwzTitle); + this->dwUpdate |= UPDATE_TITLE; + hwnd = this->hwnd; + LeaveCriticalSection(&this->cs); + + if (hwnd) + SendMessageW(hwnd, WM_DLG_UPDATE, 0, 0); + + return S_OK; +} + +HRESULT WINAPI CProgressDialog::SetAnimation(HINSTANCE hInstance, UINT uiResourceId) +{ + return S_OK; +} + +BOOL WINAPI CProgressDialog::HasUserCancelled() +{ + return this->isCancelled; +} + +HRESULT WINAPI CProgressDialog::SetProgress64(ULONGLONG ullCompleted, ULONGLONG ullTotal) +{ + HWND hwnd; + + EnterCriticalSection(&this->cs); + this->ullTotal = ullTotal; + this->ullCompleted = ullCompleted; + + if (GetTickCount() - this->progressClock[(this->clockHand + 29) % 30].dwTime > 20) { + this->clockHand = (this->clockHand + 1) % 30; + this->progressClock[this->clockHand].ullMark = ullCompleted; + this->progressClock[this->clockHand].dwTime = GetTickCount(); + } + + this->dwUpdate |= UPDATE_PROGRESS; + hwnd = this->hwnd; + LeaveCriticalSection(&this->cs); + + if (hwnd) + SendMessageW(hwnd, WM_DLG_UPDATE, 0, 0); + + return S_OK; /* Windows sometimes returns S_FALSE */ +} + +HRESULT WINAPI CProgressDialog::SetProgress(DWORD dwCompleted, DWORD dwTotal) +{ + return this->SetProgress64(dwCompleted, dwTotal); +} + +HRESULT WINAPI CProgressDialog::SetLine(DWORD dwLineNum, LPCWSTR pwzLine, BOOL bPath, LPCVOID reserved) +{ + HWND hwnd; + + if (reserved) + FIXME("reserved pointer not null (%p)\n", reserved); + + dwLineNum--; + if (dwLineNum >= 3) /* Windows seems to do something like that */ + dwLineNum = 0; + + EnterCriticalSection(&this->cs); + set_buffer(&this->lines[dwLineNum], pwzLine); + this->dwUpdate |= UPDATE_LINE1 << dwLineNum; + hwnd = (this->isCancelled ? NULL : this->hwnd); /* no sense to send the message if window cancelled */ + LeaveCriticalSection(&this->cs); + + if (hwnd) + SendMessageW(hwnd, WM_DLG_UPDATE, 0, 0); + + return S_OK; +} + +HRESULT WINAPI CProgressDialog::SetCancelMsg(LPCWSTR pwzMsg, LPCVOID reserved) +{ + HWND hwnd; + + if (reserved) + FIXME("reserved pointer not null (%p)\n", reserved); + + EnterCriticalSection(&this->cs); + set_buffer(&this->cancelMsg, pwzMsg); + this->dwUpdate |= UPDATE_LINE1 << CANCEL_MSG_LINE; + hwnd = (this->isCancelled ? this->hwnd : NULL); /* no sense to send the message if window not cancelled */ + LeaveCriticalSection(&this->cs); + + if (hwnd) + SendMessageW(hwnd, WM_DLG_UPDATE, 0, 0); + + return S_OK; +} + +HRESULT WINAPI CProgressDialog::Timer(DWORD dwTimerAction, LPCVOID reserved) +{ + if (reserved) + FIXME("Reserved field not NULL but %p\n", reserved); + + return S_OK; +} + +HRESULT WINAPI CProgressDialog::GetWindow(HWND* phwnd) +{ + EnterCriticalSection(&this->cs); + *phwnd = this->hwnd; + LeaveCriticalSection(&this->cs); + return S_OK; +} + +HRESULT WINAPI CProgressDialog::ContextSensitiveHelp(BOOL fEnterMode) +{ + return E_NOTIMPL; +} Propchange: trunk/reactos/dll/win32/browseui/CProgressDialog.cpp ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/dll/win32/browseui/CProgressDialog.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/CProgre…
============================================================================== --- trunk/reactos/dll/win32/browseui/CProgressDialog.h (added) +++ trunk/reactos/dll/win32/browseui/CProgressDialog.h [iso-8859-1] Mon Feb 9 22:29:23 2015 @@ -0,0 +1,101 @@ +/* + * Progress dialog + * + * Copyright 2014 Huw Campbell + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef _PROGRESSDIALOG_H_ +#define _PROGRESSDIALOG_H_ + +class CProgressDialog : + public CComCoClass<CProgressDialog, &CLSID_ProgressDialog>, + public CComObjectRootEx<CComMultiThreadModelNoCS>, + public IProgressDialog, + public IOleWindow +{ +public: + CRITICAL_SECTION cs; + HWND hwnd; + DWORD dwFlags; + DWORD dwUpdate; + LPWSTR lines[3]; + LPWSTR cancelMsg; + LPWSTR title; + BOOL isCancelled; + ULONGLONG ullCompleted; + ULONGLONG ullTotal; + HWND hwndDisabledParent; + void set_progress_marquee(); + void update_dialog(DWORD dwUpdate); + void end_dialog(); + + UINT clockHand; + struct progressMark { + ULONGLONG ullMark; + DWORD dwTime; + }; + progressMark progressClock[30]; + DWORD dwStartTime; + + CProgressDialog(); + ~CProgressDialog(); + + // IProgressDialog + virtual HRESULT WINAPI StartProgressDialog(HWND hwndParent, IUnknown *punkEnableModeless, DWORD dwFlags, LPCVOID reserved); + virtual HRESULT WINAPI StopProgressDialog(); + virtual HRESULT WINAPI SetTitle(LPCWSTR pwzTitle); + virtual HRESULT WINAPI SetAnimation(HINSTANCE hInstance, UINT uiResourceId); + virtual BOOL WINAPI HasUserCancelled(); + virtual HRESULT WINAPI SetProgress64(ULONGLONG ullCompleted, ULONGLONG ullTotal); + virtual HRESULT WINAPI SetProgress(DWORD dwCompleted, DWORD dwTotal); + virtual HRESULT WINAPI SetLine(DWORD dwLineNum, LPCWSTR pwzLine, BOOL bPath, LPCVOID reserved); + virtual HRESULT WINAPI SetCancelMsg(LPCWSTR pwzMsg, LPCVOID reserved); + virtual HRESULT WINAPI Timer(DWORD dwTimerAction, LPCVOID reserved); + + //////// IOleWindow + virtual HRESULT WINAPI GetWindow(HWND* phwnd); + virtual HRESULT WINAPI ContextSensitiveHelp(BOOL fEnterMode); + +DECLARE_REGISTRY_RESOURCEID(IDR_PROGRESSDIALOG) +DECLARE_NOT_AGGREGATABLE(CProgressDialog) + +DECLARE_PROTECT_FINAL_CONSTRUCT() + +BEGIN_COM_MAP(CProgressDialog) + COM_INTERFACE_ENTRY_IID(IID_IProgressDialog, IProgressDialog) + COM_INTERFACE_ENTRY_IID(IID_IOleWindow, IOleWindow) +END_COM_MAP() +}; + +static inline void *heap_alloc(size_t size) +{ + return HeapAlloc(GetProcessHeap(), 0, size); +} +static inline void *heap_alloc_zero(size_t size) +{ + return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size); +} +static inline void *heap_realloc(void *mem, size_t size) +{ + return mem ? HeapReAlloc(GetProcessHeap(), 0, mem, size) : heap_alloc(size); +} +static inline BOOL heap_free(void *mem) +{ + return HeapFree(GetProcessHeap(), 0, mem); +} + +#endif /* _PROGRESSDIALOG_H_ */ Propchange: trunk/reactos/dll/win32/browseui/CProgressDialog.h ------------------------------------------------------------------------------ svn:eol-style = native Modified: trunk/reactos/dll/win32/browseui/browseui.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/browseu…
============================================================================== --- trunk/reactos/dll/win32/browseui/browseui.cpp [iso-8859-1] (original) +++ trunk/reactos/dll/win32/browseui/browseui.cpp [iso-8859-1] Mon Feb 9 22:29:23 2015 @@ -39,6 +39,7 @@ OBJECT_ENTRY(CLSID_InternetToolbar, CInternetToolbar) OBJECT_ENTRY(CLSID_CRegTreeOptions, CRegTreeOptions) OBJECT_ENTRY(CLSID_ExplorerBand, CExplorerBand) +OBJECT_ENTRY(CLSID_ProgressDialog, CProgressDialog) END_OBJECT_MAP() CBrowseUIModule gModule; Modified: trunk/reactos/dll/win32/browseui/browseui.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/browseu…
============================================================================== --- trunk/reactos/dll/win32/browseui/browseui.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/browseui/browseui.rc [iso-8859-1] Mon Feb 9 22:29:23 2015 @@ -42,6 +42,7 @@ IDR_INTERNETTOOLBAR REGISTRY "res/internettoolbar.rgs" IDR_REGTREEOPTIONS REGISTRY "res/regtreeoptions.rgs" IDR_EXPLORERBAND REGISTRY "res/explorerband.rgs" +IDR_PROGRESSDIALOG REGISTRY "res/progressdialog.rgs" /* * Everything specific to any language goes Modified: trunk/reactos/dll/win32/browseui/lang/en-US.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/lang/en…
============================================================================== --- trunk/reactos/dll/win32/browseui/lang/en-US.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/browseui/lang/en-US.rc [iso-8859-1] Mon Feb 9 22:29:23 2015 @@ -108,6 +108,19 @@ /* Dialogs */ +IDD_PROGRESS_DLG DIALOG 0, 0, 260, 85 +STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU +CAPTION "" +FONT 8, "MS Shell Dlg" +{ + CONTROL "", IDC_ANIMATION, ANIMATE_CLASSA, 0, 12, 10, 236, 25 /* TODO: style */ + LTEXT "", IDC_TEXT_LINE, 7, 45, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 1, 7, 55, 250, 10, SS_LEFT|SS_NOPREFIX + LTEXT "", IDC_TEXT_LINE + 2, 7, 75, 190, 10, SS_LEFT|SS_NOPREFIX + CONTROL "", IDC_PROGRESS_BAR, PROGRESS_CLASSA, WS_BORDER, 7, 65, 190, 8 + PUSHBUTTON "Cancel", IDCANCEL, 205, 65, 50, 15, WS_GROUP | WS_TABSTOP | WS_VISIBLE +} + IDD_CUSTOMIZETOOLBAREX DIALOGEX 0, 0, 357, 33 STYLE DS_SETFONT | DS_3DLOOK | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CAPTION FONT 8, "MS Shell Dlg", 0, 0, 0x1 @@ -141,6 +154,12 @@ STRINGTABLE BEGIN + IDS_CANCELLING "Canceling..." + IDS_REMAINING "Remaining" +END + +STRINGTABLE +BEGIN 800 "Contains commands for manipulating the selected items." END Modified: trunk/reactos/dll/win32/browseui/precomp.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/precomp…
============================================================================== --- trunk/reactos/dll/win32/browseui/precomp.h [iso-8859-1] (original) +++ trunk/reactos/dll/win32/browseui/precomp.h [iso-8859-1] Mon Feb 9 22:29:23 2015 @@ -22,6 +22,7 @@ #include <atlwin.h> #include <perhist.h> #include <exdispid.h> +#include <Strsafe.h> #include <shlwapi.h> #include <shlwapi_undoc.h> #include <undocshell.h> @@ -43,6 +44,7 @@ #include "globalfoldersettings.h" #include "regtreeoptions.h" #include "explorerband.h" +#include "CProgressDialog.h" #include <stdio.h> WINE_DEFAULT_DEBUG_CHANNEL(browseui); Added: trunk/reactos/dll/win32/browseui/res/progressdialog.rgs URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/res/pro…
============================================================================== --- trunk/reactos/dll/win32/browseui/res/progressdialog.rgs (added) +++ trunk/reactos/dll/win32/browseui/res/progressdialog.rgs [iso-8859-1] Mon Feb 9 22:29:23 2015 @@ -0,0 +1,13 @@ +HKCR +{ + NoRemove CLSID + { + ForceRemove {F8383852-FCD3-11D1-A6B9-006097DF5BD4} = s 'Progress Dialog' + { + InprocServer32 = s '%MODULE%' + { + val ThreadingModel = s 'Apartment' + } + } + } +} Propchange: trunk/reactos/dll/win32/browseui/res/progressdialog.rgs ------------------------------------------------------------------------------ svn:eol-style = native Modified: trunk/reactos/dll/win32/browseui/resource.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/resourc…
============================================================================== --- trunk/reactos/dll/win32/browseui/resource.h [iso-8859-1] (original) +++ trunk/reactos/dll/win32/browseui/resource.h [iso-8859-1] Mon Feb 9 22:29:23 2015 @@ -83,6 +83,7 @@ #define IDR_GLOBALFOLDERSETTINGS 137 #define IDR_REGTREEOPTIONS 138 #define IDR_EXPLORERBAND 139 +#define IDR_PROGRESSDIALOG 140 #define IDS_SMALLICONS 12301 #define IDS_LARGEICONS 12302 @@ -100,6 +101,13 @@ #define IDS_BACK 58689 #define IDS_FORWARD 58690 +#define IDS_CANCELLING 16 +#define IDS_REMAINING 17 +#define IDC_ANIMATION 100 +#define IDC_PROGRESS_BAR 102 +#define IDC_TEXT_LINE 103 +#define IDD_PROGRESS_DLG 100 + #define IDR_ACCELERATORS 256 #define IDI_CABINET 103
9 years, 10 months
1
0
0
0
[tfaber] 66211: [INCLUDE] - Fix CListView::HitTest. Fixes stack corruption when dragging files on the desktop. CORE-9143 #resolve
by tfaber@svn.reactos.org
Author: tfaber Date: Mon Feb 9 19:59:59 2015 New Revision: 66211 URL:
http://svn.reactos.org/svn/reactos?rev=66211&view=rev
Log: [INCLUDE] - Fix CListView::HitTest. Fixes stack corruption when dragging files on the desktop. CORE-9143 #resolve Modified: trunk/reactos/include/reactos/rosctrls.h Modified: trunk/reactos/include/reactos/rosctrls.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/rosctrls.h…
============================================================================== --- trunk/reactos/include/reactos/rosctrls.h [iso-8859-1] (original) +++ trunk/reactos/include/reactos/rosctrls.h [iso-8859-1] Mon Feb 9 19:59:59 2015 @@ -175,7 +175,7 @@ int HitTest(LV_HITTESTINFO * phtInfo) { - return (int)SendMessage(LVM_HITTEST, 0, reinterpret_cast<LPARAM>(&phtInfo)); + return (int)SendMessage(LVM_HITTEST, 0, reinterpret_cast<LPARAM>(phtInfo)); } DWORD_PTR GetItemData(int i)
9 years, 10 months
1
0
0
0
[tfaber] 66210: [USER32] - In ICO_ExtractIconExW, don't try to return two icons if only one was requested. Fixes stack corruption. CORE-9142 #resolve
by tfaber@svn.reactos.org
Author: tfaber Date: Mon Feb 9 19:04:42 2015 New Revision: 66210 URL:
http://svn.reactos.org/svn/reactos?rev=66210&view=rev
Log: [USER32] - In ICO_ExtractIconExW, don't try to return two icons if only one was requested. Fixes stack corruption. CORE-9142 #resolve Modified: trunk/reactos/win32ss/user/user32/misc/exticon.c Modified: trunk/reactos/win32ss/user/user32/misc/exticon.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/misc/e…
============================================================================== --- trunk/reactos/win32ss/user/user32/misc/exticon.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/user/user32/misc/exticon.c [iso-8859-1] Mon Feb 9 19:04:42 2015 @@ -52,7 +52,7 @@ BOOL bIcon, DWORD fuLoad, POINT *ptHotSpot); -#endif +#endif /********************************************************************** * find_entry_by_id @@ -380,7 +380,7 @@ INT cx[2] = {cx1, cx2}, cy[2] = {cy1, cy2}; INT index; - for(index = 0; index < 2; index++) + for(index = 0; index < (cx2 || cy2 ? 2 : 1); index++) { DWORD dataOffset; LPBYTE imageData;
9 years, 10 months
1
0
0
0
[gadamopoulos] 66209: [COM_APITEST] - Test the interfaces exposed by CLSID_ProgressDialog CORE-4476
by gadamopoulos@svn.reactos.org
Author: gadamopoulos Date: Sun Feb 8 23:47:11 2015 New Revision: 66209 URL:
http://svn.reactos.org/svn/reactos?rev=66209&view=rev
Log: [COM_APITEST] - Test the interfaces exposed by CLSID_ProgressDialog CORE-4476 Modified: trunk/rostests/apitests/com/browseui.c Modified: trunk/rostests/apitests/com/browseui.c URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/com/browseui.c?r…
============================================================================== --- trunk/rostests/apitests/com/browseui.c [iso-8859-1] (original) +++ trunk/rostests/apitests/com/browseui.c [iso-8859-1] Sun Feb 8 23:47:11 2015 @@ -225,6 +225,16 @@ { 0x4, &IID_IObjectWithSite }, } }, + { + ID_NAME(CLSID_ProgressDialog), + { + { 0x0, &IID_IProgressDialog }, + { 0x0, &IID_IUnknown }, + { 0x4, &IID_IOleWindow }, + { 0x10, &IID_IObjectWithSite }, + }, + L"Both" + } }; static const INT ExpectedInterfaceCount = RTL_NUMBER_OF(ExpectedInterfaces);
9 years, 10 months
1
0
0
0
[tfaber] 66208: [DDK] - Add additional list entry checks that can be optionally enabled by defining EXTRA_KERNEL_LIST_ENTRY_CHECKS. These checks warn against attempts to remove items from an empty ...
by tfaber@svn.reactos.org
Author: tfaber Date: Sun Feb 8 14:22:26 2015 New Revision: 66208 URL:
http://svn.reactos.org/svn/reactos?rev=66208&view=rev
Log: [DDK] - Add additional list entry checks that can be optionally enabled by defining EXTRA_KERNEL_LIST_ENTRY_CHECKS. These checks warn against attempts to remove items from an empty list, which can easily be an error (and is trivial to avoid where it's not). - Enable these checks by default for ReactOS code CORE-8419 #resolve Modified: trunk/reactos/include/ddk/wdm.h trunk/reactos/include/xdk/rtlfuncs.h Modified: trunk/reactos/include/ddk/wdm.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/wdm.h?rev=6620…
============================================================================== --- trunk/reactos/include/ddk/wdm.h [iso-8859-1] (original) +++ trunk/reactos/include/ddk/wdm.h [iso-8859-1] Sun Feb 8 14:22:26 2015 @@ -9621,6 +9621,10 @@ #define NO_KERNEL_LIST_ENTRY_CHECKS #endif +#if !defined(EXTRA_KERNEL_LIST_ENTRY_CHECKS) && defined(__REACTOS__) +#define EXTRA_KERNEL_LIST_ENTRY_CHECKS +#endif + #if !defined(MIDL_PASS) && !defined(SORTPP_PASS) #define RTL_STATIC_LIST_HEAD(x) LIST_ENTRY x = { &x, &x } @@ -9693,6 +9697,10 @@ OldFlink = Entry->Flink; OldBlink = Entry->Blink; #if !defined(NO_KERNEL_LIST_ENTRY_CHECKS) +#ifdef EXTRA_KERNEL_LIST_ENTRY_CHECKS + if (OldFlink == Entry || OldBlink == Entry) + FatalListEntryError(OldBlink, Entry, OldFlink); +#endif if (OldFlink->Blink != Entry || OldBlink->Flink != Entry) FatalListEntryError(OldBlink, Entry, OldFlink); #endif @@ -9711,6 +9719,10 @@ #if !defined(NO_KERNEL_LIST_ENTRY_CHECKS) && DBG RtlpCheckListEntry(ListHead); +#ifdef EXTRA_KERNEL_LIST_ENTRY_CHECKS + if (ListHead->Flink == ListHead || ListHead->Blink == ListHead) + FatalListEntryError(ListHead->Blink, ListHead, ListHead->Flink); +#endif #endif Entry = ListHead->Flink; Flink = Entry->Flink; @@ -9733,6 +9745,10 @@ #if !defined(NO_KERNEL_LIST_ENTRY_CHECKS) && DBG RtlpCheckListEntry(ListHead); +#ifdef EXTRA_KERNEL_LIST_ENTRY_CHECKS + if (ListHead->Flink == ListHead || ListHead->Blink == ListHead) + FatalListEntryError(ListHead->Blink, ListHead, ListHead->Flink); +#endif #endif Entry = ListHead->Blink; Blink = Entry->Blink; Modified: trunk/reactos/include/xdk/rtlfuncs.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/xdk/rtlfuncs.h?rev…
============================================================================== --- trunk/reactos/include/xdk/rtlfuncs.h [iso-8859-1] (original) +++ trunk/reactos/include/xdk/rtlfuncs.h [iso-8859-1] Sun Feb 8 14:22:26 2015 @@ -35,6 +35,10 @@ #define NO_KERNEL_LIST_ENTRY_CHECKS #endif +#if !defined(EXTRA_KERNEL_LIST_ENTRY_CHECKS) && defined(__REACTOS__) +#define EXTRA_KERNEL_LIST_ENTRY_CHECKS +#endif + #if !defined(MIDL_PASS) && !defined(SORTPP_PASS) #define RTL_STATIC_LIST_HEAD(x) LIST_ENTRY x = { &x, &x } @@ -107,6 +111,10 @@ OldFlink = Entry->Flink; OldBlink = Entry->Blink; #if !defined(NO_KERNEL_LIST_ENTRY_CHECKS) +#ifdef EXTRA_KERNEL_LIST_ENTRY_CHECKS + if (OldFlink == Entry || OldBlink == Entry) + FatalListEntryError(OldBlink, Entry, OldFlink); +#endif if (OldFlink->Blink != Entry || OldBlink->Flink != Entry) FatalListEntryError(OldBlink, Entry, OldFlink); #endif @@ -125,6 +133,10 @@ #if !defined(NO_KERNEL_LIST_ENTRY_CHECKS) && DBG RtlpCheckListEntry(ListHead); +#ifdef EXTRA_KERNEL_LIST_ENTRY_CHECKS + if (ListHead->Flink == ListHead || ListHead->Blink == ListHead) + FatalListEntryError(ListHead->Blink, ListHead, ListHead->Flink); +#endif #endif Entry = ListHead->Flink; Flink = Entry->Flink; @@ -147,6 +159,10 @@ #if !defined(NO_KERNEL_LIST_ENTRY_CHECKS) && DBG RtlpCheckListEntry(ListHead); +#ifdef EXTRA_KERNEL_LIST_ENTRY_CHECKS + if (ListHead->Flink == ListHead || ListHead->Blink == ListHead) + FatalListEntryError(ListHead->Blink, ListHead, ListHead->Flink); +#endif #endif Entry = ListHead->Blink; Blink = Entry->Blink;
9 years, 10 months
1
0
0
0
← Newer
1
...
27
28
29
30
31
32
33
...
38
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
Results per page:
10
25
50
100
200