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
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
December 2013
----- 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
13 participants
308 discussions
Start a n
N
ew thread
[aandrejevic] 61309: [FAST486] Implement the LSL instruction. Remove instructions that don't exist on a 486 from the TODO list.
by aandrejevic@svn.reactos.org
Author: aandrejevic Date: Sat Dec 21 03:48:46 2013 New Revision: 61309 URL:
http://svn.reactos.org/svn/reactos?rev=61309&view=rev
Log: [FAST486] Implement the LSL instruction. Remove instructions that don't exist on a 486 from the TODO list. Modified: branches/ntvdm/lib/fast486/extraops.c branches/ntvdm/lib/fast486/extraops.h Modified: branches/ntvdm/lib/fast486/extraops.c URL:
http://svn.reactos.org/svn/reactos/branches/ntvdm/lib/fast486/extraops.c?re…
============================================================================== --- branches/ntvdm/lib/fast486/extraops.c [iso-8859-1] (original) +++ branches/ntvdm/lib/fast486/extraops.c [iso-8859-1] Sat Dec 21 03:48:46 2013 @@ -40,11 +40,11 @@ Fast486OpcodeGroup0F00, Fast486OpcodeGroup0F01, NULL, // TODO: OPCODE 0x02 NOT IMPLEMENTED - NULL, // TODO: OPCODE 0x03 NOT IMPLEMENTED - NULL, // TODO: OPCODE 0x04 NOT IMPLEMENTED - NULL, // TODO: OPCODE 0x05 NOT IMPLEMENTED + Fast486ExtOpcodeLsl, + NULL, // Invalid + NULL, // Invalid Fast486ExtOpcodeClts, - NULL, // TODO: OPCODE 0x07 NOT IMPLEMENTED + NULL, // Invalid NULL, // TODO: OPCODE 0x08 NOT IMPLEMENTED NULL, // TODO: OPCODE 0x09 NOT IMPLEMENTED NULL, // Invalid @@ -211,7 +211,7 @@ Fast486ExtOpcodeBts, Fast486ExtOpcodeShrd, Fast486ExtOpcodeShrd, - NULL, // TODO: OPCODE 0xAE NOT IMPLEMENTED + NULL, // Invalid Fast486ExtOpcodeImul, Fast486ExtOpcodeCmpXchgByte, Fast486ExtOpcodeCmpXchg, @@ -297,6 +297,136 @@ /* PUBLIC FUNCTIONS ***********************************************************/ +FAST486_OPCODE_HANDLER(Fast486ExtOpcodeLsl) +{ + BOOLEAN OperandSize, AddressSize; + FAST486_MOD_REG_RM ModRegRm; + USHORT Selector; + ULONG Limit; + FAST486_GDT_ENTRY GdtEntry; + + OperandSize = AddressSize = State->SegmentRegs[FAST486_REG_CS].Size; + + if (!(State->ControlRegisters[FAST486_REG_CR0] & FAST486_CR0_PE) + || State->Flags.Vm) + { + /* Not recognized */ + Fast486Exception(State, FAST486_EXCEPTION_UD); + return FALSE; + } + + NO_LOCK_PREFIX(); + TOGGLE_OPSIZE(OperandSize); + TOGGLE_ADSIZE(AddressSize); + + /* Get the operands */ + if (!Fast486ParseModRegRm(State, AddressSize, &ModRegRm)) + { + /* Exception occurred */ + return FALSE; + } + + if (OperandSize) + { + ULONG Value; + + /* Read the value */ + if (!Fast486ReadModrmDwordOperands(State, &ModRegRm, NULL, &Value)) + { + /* Exception occurred */ + return FALSE; + } + + Selector = LOWORD(Value); + } + else + { + /* Read the value */ + if (!Fast486ReadModrmWordOperands(State, &ModRegRm, NULL, &Selector)) + { + /* Exception occurred */ + return FALSE; + } + } + + if (!(Selector & SEGMENT_TABLE_INDICATOR)) + { + /* Check if the GDT contains the entry */ + if (GET_SEGMENT_INDEX(Selector) >= (State->Gdtr.Size + 1)) + { + State->Flags.Zf = FALSE; + return TRUE; + } + + /* Read the GDT */ + if (!Fast486ReadLinearMemory(State, + State->Gdtr.Address + + GET_SEGMENT_INDEX(Selector), + &GdtEntry, + sizeof(GdtEntry))) + { + /* Exception occurred */ + return FALSE; + } + } + else + { + /* Check if the LDT contains the entry */ + if (GET_SEGMENT_INDEX(Selector) >= (State->Ldtr.Limit + 1)) + { + State->Flags.Zf = FALSE; + return TRUE; + } + + /* Read the LDT */ + if (!Fast486ReadLinearMemory(State, + State->Ldtr.Base + + GET_SEGMENT_INDEX(Selector), + &GdtEntry, + sizeof(GdtEntry))) + { + /* Exception occurred */ + return FALSE; + } + } + + /* Privilege check */ + if (((GET_SEGMENT_RPL(Selector) > GdtEntry.Dpl)) + || (Fast486GetCurrentPrivLevel(State) > GdtEntry.Dpl)) + { + State->Flags.Zf = FALSE; + return TRUE; + } + + /* Calculate the limit */ + Limit = GdtEntry.Limit | (GdtEntry.LimitHigh << 16); + if (GdtEntry.Granularity) Limit <<= 12; + + /* Set ZF */ + State->Flags.Zf = TRUE; + + if (OperandSize) + { + /* Read the value */ + if (!Fast486WriteModrmDwordOperands(State, &ModRegRm, TRUE, Limit)) + { + /* Exception occurred */ + return FALSE; + } + } + else + { + /* Read the value */ + if (!Fast486WriteModrmWordOperands(State, &ModRegRm, TRUE, LOWORD(Limit))) + { + /* Exception occurred */ + return FALSE; + } + } + + return TRUE; +} + FAST486_OPCODE_HANDLER(Fast486ExtOpcodeClts) { NO_LOCK_PREFIX(); Modified: branches/ntvdm/lib/fast486/extraops.h URL:
http://svn.reactos.org/svn/reactos/branches/ntvdm/lib/fast486/extraops.h?re…
============================================================================== --- branches/ntvdm/lib/fast486/extraops.h [iso-8859-1] (original) +++ branches/ntvdm/lib/fast486/extraops.h [iso-8859-1] Sat Dec 21 03:48:46 2013 @@ -26,6 +26,7 @@ /* DEFINES ********************************************************************/ +FAST486_OPCODE_HANDLER(Fast486ExtOpcodeLsl); FAST486_OPCODE_HANDLER(Fast486ExtOpcodeClts); FAST486_OPCODE_HANDLER(Fast486ExtOpcodeStoreControlReg); FAST486_OPCODE_HANDLER(Fast486ExtOpcodeStoreDebugReg);
10 years, 10 months
1
0
0
0
[akhaldi] 61308: [USETUP] * Turkish translation update by Erdem Ersoy. CORE-7408
by akhaldi@svn.reactos.org
Author: akhaldi Date: Thu Dec 19 23:20:27 2013 New Revision: 61308 URL:
http://svn.reactos.org/svn/reactos?rev=61308&view=rev
Log: [USETUP] * Turkish translation update by Erdem Ersoy. CORE-7408 Modified: trunk/reactos/base/setup/usetup/lang/tr-TR.h Modified: trunk/reactos/base/setup/usetup/lang/tr-TR.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/tr-…
============================================================================== --- trunk/reactos/base/setup/usetup/lang/tr-TR.h [iso-8859-1] (original) +++ trunk/reactos/base/setup/usetup/lang/tr-TR.h [iso-8859-1] Thu Dec 19 23:20:27 2013 @@ -143,7 +143,7 @@ { 6, 8, - "ReactOS Kur, n gelitirme evresinde oldu§undan daha", + "ReactOS Kur, n gelime evresinde oldu§undan daha", TEXT_STYLE_NORMAL }, { @@ -443,7 +443,7 @@ { 6, 8, - "ReactOS Kur, n gelitirme evresinde oldu§undan daha", + "ReactOS Kur, n gelime evresinde oldu§undan daha", TEXT_STYLE_NORMAL }, {
10 years, 10 months
1
0
0
0
[akhaldi] 61307: [TRANSLATIONS] * Turkish translation update by Erdem Ersoy. CORE-7408
by akhaldi@svn.reactos.org
Author: akhaldi Date: Thu Dec 19 23:18:30 2013 New Revision: 61307 URL:
http://svn.reactos.org/svn/reactos?rev=61307&view=rev
Log: [TRANSLATIONS] * Turkish translation update by Erdem Ersoy. CORE-7408 Added: trunk/reactos/dll/win32/cryptdlg/lang/cryptdlg_Tr.rc (with props) Modified: trunk/reactos/base/applications/winhlp32/lang/Tr.rc trunk/reactos/base/applications/wordpad/lang/Tr.rc trunk/reactos/base/applications/write/lang/Tr.rc trunk/reactos/dll/cpl/inetcpl/lang/tr-TR.rc trunk/reactos/dll/win32/credui/lang/credui_Tr.rc trunk/reactos/dll/win32/cryptdlg/cryptdlg.rc trunk/reactos/dll/win32/msgina/lang/tr-TR.rc trunk/reactos/dll/win32/mshtml/lang/Tr.rc trunk/reactos/dll/win32/msrle32/lang/msrle_Tr.rc trunk/reactos/dll/win32/msvfw32/lang/msvfw32_Tr.rc trunk/reactos/dll/win32/msvidc32/lang/msvidc32_Tr.rc trunk/reactos/dll/win32/oledlg/lang/oledlg_Tr.rc Modified: trunk/reactos/base/applications/winhlp32/lang/Tr.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/winhlp32…
============================================================================== --- trunk/reactos/base/applications/winhlp32/lang/Tr.rc [iso-8859-1] (original) +++ trunk/reactos/base/applications/winhlp32/lang/Tr.rc [iso-8859-1] Thu Dec 19 23:18:30 2013 @@ -1,8 +1,7 @@ /* * Turkish Resources for ReactOS Winhlp32 * - * Copyrights: 2006 Fatih AÅıcı (fasici(a)linux-sevenler.org) - * 2013 Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) + * Copyrights: 2006 - Fatih AÅıcı (fasici(a)linux-sevenler.org), 2013 - Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public Modified: trunk/reactos/base/applications/wordpad/lang/Tr.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/wordpad/…
============================================================================== --- trunk/reactos/base/applications/wordpad/lang/Tr.rc [iso-8859-1] (original) +++ trunk/reactos/base/applications/wordpad/lang/Tr.rc [iso-8859-1] Thu Dec 19 23:18:30 2013 @@ -1,8 +1,7 @@ /* * Turkish Resources for ReactOS Wordpad * - * Copyrights: 2006 Fatih AÅıcı (fasici(a)linux-sevenler.org) - * 2013 Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) + * Copyrights: 2006 - Fatih AÅıcı (fasici(a)linux-sevenler.org), 2013 - Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public Modified: trunk/reactos/base/applications/write/lang/Tr.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/write/la…
============================================================================== --- trunk/reactos/base/applications/write/lang/Tr.rc [iso-8859-1] (original) +++ trunk/reactos/base/applications/write/lang/Tr.rc [iso-8859-1] Thu Dec 19 23:18:30 2013 @@ -1,7 +1,7 @@ /* * Turkish Resources for ReactOS Write * - * Copyright: 2013 Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) + * Copyright: 2013 - Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public Modified: trunk/reactos/dll/cpl/inetcpl/lang/tr-TR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/inetcpl/lang/tr-TR…
============================================================================== --- trunk/reactos/dll/cpl/inetcpl/lang/tr-TR.rc [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/inetcpl/lang/tr-TR.rc [iso-8859-1] Thu Dec 19 23:18:30 2013 @@ -1,7 +1,7 @@ /* * Turkish resources for the Internet control panel applet * - * Copyright: 2013 Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) + * Copyright: 2013 - Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public Modified: trunk/reactos/dll/win32/credui/lang/credui_Tr.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/credui/lang/cred…
============================================================================== --- trunk/reactos/dll/win32/credui/lang/credui_Tr.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/credui/lang/credui_Tr.rc [iso-8859-1] Thu Dec 19 23:18:30 2013 @@ -1,7 +1,7 @@ /* * Turkish language resource file for Credentials UI * - * Copyright: 2013 Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) + * Copyright: 2013 - Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public Modified: trunk/reactos/dll/win32/cryptdlg/cryptdlg.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/cryptdlg/cryptdl…
============================================================================== --- trunk/reactos/dll/win32/cryptdlg/cryptdlg.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/cryptdlg/cryptdlg.rc [iso-8859-1] Thu Dec 19 23:18:30 2013 @@ -66,6 +66,9 @@ #ifdef LANGUAGE_RO_RO #include "lang/cryptdlg_Ro.rc" #endif +#ifdef LANGUAGE_TR_TR + #include "lang/cryptdlg_Tr.rc" +#endif #ifdef LANGUAGE_UK_UA #include "lang/cryptdlg_Uk.rc" #endif Added: trunk/reactos/dll/win32/cryptdlg/lang/cryptdlg_Tr.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/cryptdlg/lang/cr…
============================================================================== --- trunk/reactos/dll/win32/cryptdlg/lang/cryptdlg_Tr.rc (added) +++ trunk/reactos/dll/win32/cryptdlg/lang/cryptdlg_Tr.rc [iso-8859-1] Thu Dec 19 23:18:30 2013 @@ -0,0 +1,38 @@ +/* + * cryptdlg Turkish resource + * + * Copyright: 2013 - Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) + * + * 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 "cryptres.h" + +LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT + +STRINGTABLE +{ + IDS_CERT_POLICY "Onay Belgesi Poliçesi" + IDS_POLICY_ID "Poliçe Tanımlayıcısı: " + IDS_POLICY_QUALIFIER_INFO "Poliçe Niteleyici Bilgisi" + IDS_POLICY_QUALIFIER_ID "Poliçe Niteleyici KimliÄi=" + IDS_CPS "CPS" /* Onay Belgesi Uygulama Esasları */ + IDS_USER_NOTICE "Kullanıcı Bildirimi" + IDS_QUALIFIER "Niteleyici" + IDS_NOTICE_REF "Bildirim KaynaÄı" + IDS_ORGANIZATION "Kurum=" + IDS_NOTICE_NUM "Bildirim Numarası=" + IDS_NOTICE_TEXT "Bildirim Metni=" +} Propchange: trunk/reactos/dll/win32/cryptdlg/lang/cryptdlg_Tr.rc ------------------------------------------------------------------------------ svn:eol-style = native Modified: trunk/reactos/dll/win32/msgina/lang/tr-TR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msgina/lang/tr-T…
============================================================================== --- trunk/reactos/dll/win32/msgina/lang/tr-TR.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/msgina/lang/tr-TR.rc [iso-8859-1] Thu Dec 19 23:18:30 2013 @@ -90,7 +90,7 @@ CONTROL IDI_ROSLOGO, IDC_ROSLOGO, "Static", SS_BITMAP, 0, 0, 275, 54 LTEXT "Kullanıcı Adı:", IDC_STATIC, 7, 61, 78, 8 EDITTEXT IDC_CHANGEPWD_USERNAME, 90, 59, 127, 12, ES_AUTOHSCROLL - LTEXT "Log on to:", IDC_STATIC, 7, 78, 78, 8 + LTEXT "Olarak Oturum Aç:", IDC_STATIC, 7, 78, 78, 8 COMBOBOX IDC_CHANGEPWD_DOMAIN, 90, 75, 127, 144, CBS_DROPDOWNLIST | CBS_SORT LTEXT "Eski Åifre:", IDC_STATIC, 7, 95, 78, 8 EDITTEXT IDC_CHANGEPWD_OLDPWD, 90, 92, 127, 12, ES_AUTOHSCROLL | ES_PASSWORD @@ -106,7 +106,7 @@ BEGIN IDS_LOGGEDOUTSAS "HoÅgeldiniz!" IDS_LOCKEDSAS "Bu bilgisayar Åimdilik kilitli." - IDS_PRESSCTRLALTDELETE "Oturum açmak için Denetim, Seçenek ve Silme düÄmelerine basınız." + IDS_PRESSCTRLALTDELETE "Oturum açmak için Denetim, Seçenek ve Silme düÄmelerine birlikte basınız." IDS_ASKFORUSER "Kullanıcı Adı: " IDS_ASKFORPASSWORD "Åifre: " IDS_FORCELOGOFF "Bu, Åimdiki kullanıcının oturumunu kapatacak ve tüm kaydedilmemiÅ bilgiler yitirilecek. Sürdürülsün mü?" Modified: trunk/reactos/dll/win32/mshtml/lang/Tr.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mshtml/lang/Tr.r…
============================================================================== --- trunk/reactos/dll/win32/mshtml/lang/Tr.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/mshtml/lang/Tr.rc [iso-8859-1] Thu Dec 19 23:18:30 2013 @@ -1,5 +1,5 @@ /* - * Copyright 2006 Fatih Aþýcý + * Copyrights: 2006 - Fatih AÅıcı (fasici(a)linux-sevenler.org), 2013 - Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -22,8 +22,8 @@ STRINGTABLE { - IDS_STATUS_DONE "Done" - IDS_STATUS_DOWNLOADINGFROM "Downloading from %s..." + IDS_STATUS_DONE "Tamam" + IDS_STATUS_DOWNLOADINGFROM "%s adresinden indiriliyor..." } STRINGTABLE @@ -33,16 +33,16 @@ IDD_HYPERLINK DIALOG 0, 0, 255, 65 STYLE DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -CAPTION "Hyperlink" +CAPTION "Köprü" FONT 8, "MS Shell Dlg" { - GROUPBOX "Hyperlink Information", -1, 5, 5, 190, 55 - LTEXT "&Type:", -1, 10, 22, 24, 10 + GROUPBOX "Köprü Bilgisi", -1, 5, 5, 190, 55 + LTEXT "&Tür:", -1, 10, 22, 24, 10 COMBOBOX IDC_TYPE, 35, 20, 45, 100, WS_TABSTOP | WS_GROUP | WS_VSCROLL | CBS_DROPDOWNLIST | CBS_HASSTRINGS LTEXT "&URL:", -1, 10, 42, 24, 10 EDITTEXT IDC_URL, 35, 40, 150, 14, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP - PUSHBUTTON "OK", IDOK, 200, 10, 50, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP - PUSHBUTTON "Cancel", IDCANCEL, 200, 28, 50, 14, WS_GROUP | WS_TABSTOP + PUSHBUTTON "Tamam", IDOK, 200, 10, 50, 14, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP + PUSHBUTTON "Ä°ptal", IDCANCEL, 200, 28, 50, 14, WS_GROUP | WS_TABSTOP } ID_PROMPT_DIALOG DIALOG 0, 0, 200, 90 @@ -51,6 +51,6 @@ { LTEXT "", ID_PROMPT_PROMPT, 10, 10, 180, 30 EDITTEXT ID_PROMPT_EDIT, 10, 45, 180, 14, ES_AUTOHSCROLL | WS_BORDER | WS_GROUP | WS_TABSTOP - PUSHBUTTON "OK", IDOK, 40, 65, 50, 15, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP - PUSHBUTTON "Cancel", IDCANCEL, 110, 65, 50, 15, WS_GROUP | WS_TABSTOP + PUSHBUTTON "Tamam", IDOK, 40, 65, 50, 15, BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP + PUSHBUTTON "Ä°ptal", IDCANCEL, 110, 65, 50, 15, WS_GROUP | WS_TABSTOP } Modified: trunk/reactos/dll/win32/msrle32/lang/msrle_Tr.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msrle32/lang/msr…
============================================================================== --- trunk/reactos/dll/win32/msrle32/lang/msrle_Tr.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/msrle32/lang/msrle_Tr.rc [iso-8859-1] Thu Dec 19 23:18:30 2013 @@ -1,7 +1,7 @@ /* * Turkish resource file for MS-RLE * - * Copyright 2006 Fatih Aþýcý + * Copyrights: 2006 - Fatih AÅıcı (fasici(a)linux-sevenler.org), 2013 - Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -24,7 +24,7 @@ STRINGTABLE { - IDS_NAME "WINE-MS-RLE" - IDS_DESCRIPTION "Wine MS-RLE vidyo çözücü" - IDS_ABOUT "Wine MS-RLE vidyo çözücü\nTelif Hakký 2002 Michael Günnewig" + IDS_NAME "ReactOS MS-RLE" + IDS_DESCRIPTION "ReactOS MS-RLE Vidyo Kodeki" + IDS_ABOUT "ReactOS MS-RLE Vidyo Kodeki\nTelif Hakkı: 2002 - Michael Günnewig" } Modified: trunk/reactos/dll/win32/msvfw32/lang/msvfw32_Tr.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msvfw32/lang/msv…
============================================================================== --- trunk/reactos/dll/win32/msvfw32/lang/msvfw32_Tr.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/msvfw32/lang/msvfw32_Tr.rc [iso-8859-1] Thu Dec 19 23:18:30 2013 @@ -1,7 +1,7 @@ /* * Turkish Resources * - * Copyright 2006 Fatih Aþýcý + * Copyrights: 2006 - Fatih AÅıcı (fasici(a)linux-sevenler.org), 2013 - Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -24,32 +24,32 @@ ICM_CHOOSE_COMPRESSOR DIALOG 36, 24, 187, 95 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -CAPTION "Vidyo Sýkýþtýrma" +CAPTION "Vidyo SıkıÅtırma" FONT 8, "MS Shell Dlg" { DEFPUSHBUTTON "Tamam",IDOK,129,2,49,14 - PUSHBUTTON "Ýptal",IDCANCEL,129,18,49,14 + PUSHBUTTON "Ä°ptal",IDCANCEL,129,18,49,14 - LTEXT "&Sýkýþtýrýcý:",-1,9,6,105,8 + LTEXT "&SıkıÅtırıcı:",-1,9,6,105,8 COMBOBOX 880,9,16,111,67,CBS_DROPDOWNLIST|WS_VSCROLL|WS_TABSTOP - PUSHBUTTON "Ya&pýlandýr...",882,129,36,49,14 - PUSHBUTTON "&Hakkýnda...",883,129,52,49,14 + PUSHBUTTON "&Yapılandır...",882,129,36,49,14 + PUSHBUTTON "&Hakkında...",883,129,52,49,14 SCROLLBAR 884,9,44,111,9,WS_TABSTOP - LTEXT "Sýkýþtýrma &Kalitesi:",886,9,34,80,8 + LTEXT "S&ıkıÅtırma NiteliÄi:",886,9,34,80,8 - CONTROL "&Key Frame Every",887,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,9,60,66,12 + CONTROL "H&er Anahtar Kare",887,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,9,60,66,12 EDITTEXT 888,78,60,22,12 - LTEXT "frames",889,103,62,26,10 + LTEXT "kareler",889,103,62,26,10 - CONTROL "&Veri Oraný",894,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,9,76,66,12 + CONTROL "&Veri Oranı",894,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,9,76,66,12 EDITTEXT 895,78,76,22,12 - LTEXT "KB/sec",896,102,78,26,10 + LTEXT "KB/sn",896,102,78,26,10 } STRINGTABLE { - IDS_FULLFRAMES "Tüm Çerçeveler (Sýkýþtýrýlmamýþ)" + IDS_FULLFRAMES "Tüm Kareler (SıkıÅtırılmamıÅ)" } Modified: trunk/reactos/dll/win32/msvidc32/lang/msvidc32_Tr.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msvidc32/lang/ms…
============================================================================== --- trunk/reactos/dll/win32/msvidc32/lang/msvidc32_Tr.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/msvidc32/lang/msvidc32_Tr.rc [iso-8859-1] Thu Dec 19 23:18:30 2013 @@ -1,7 +1,7 @@ /* * Turkish Resources * - * Copyright 2006 Fatih Aþýcý + * Copyrights: 2006 - Fatih AÅıcı (fasici(a)linux-sevenler.org), 2013 - Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -25,5 +25,5 @@ STRINGTABLE { IDS_NAME "MS-CRAM" - IDS_DESCRIPTION "Wine Vidyo 1 vidyo çözücü" + IDS_DESCRIPTION "Wine Vidyo 1 Vidyo Kodeki" } Modified: trunk/reactos/dll/win32/oledlg/lang/oledlg_Tr.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/oledlg/lang/oled…
============================================================================== --- trunk/reactos/dll/win32/oledlg/lang/oledlg_Tr.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/oledlg/lang/oledlg_Tr.rc [iso-8859-1] Thu Dec 19 23:18:30 2013 @@ -1,7 +1,7 @@ /* * Turkish Resources * - * Copyright 2006 Fatih Aþýcý + * Copyrights: 2006 - Fatih AÅıcı (fasici(a)linux-sevenler.org), 2013 - Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -30,30 +30,70 @@ LISTBOX IDC_OBJTYPELIST,82,19,131,66,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP - LTEXT "Nesne Türü:",IDC_OBJTYPELBL,82,7,53,8,WS_VISIBLE + LTEXT "&Nesne Türü:",IDC_OBJTYPELBL,82,7,53,8,WS_VISIBLE DEFPUSHBUTTON "Tamam",IDOK,221,7,66,14 - PUSHBUTTON "Ýptal",IDCANCEL,221,24,66,14 - GROUPBOX "Sonuç",IDC_RESULT,7,103,208,41 - CONTROL "Yeni Oluþtur",IDC_CREATENEW,"Button",BS_AUTORADIOBUTTON | + PUSHBUTTON "Ä°ptal",IDCANCEL,221,24,66,14 + GROUPBOX "Sonuç",IDC_RESULT,7,103,208,41 + CONTROL "&Yeni OluÅtur",IDC_CREATENEW,"Button",BS_AUTORADIOBUTTON | WS_GROUP,7,20,62,10 - CONTROL "Denetim Oluþtur",IDC_CREATECONTROL,"Button", + CONTROL "&Denetim OluÅtur",IDC_CREATECONTROL,"Button", BS_AUTORADIOBUTTON | NOT WS_VISIBLE,7,54,62,10 - CONTROL "Dosyadan Oluþtur",IDC_CREATEFROMFILE,"Button", + CONTROL "&Kütükten OluÅtur",IDC_CREATEFROMFILE,"Button", BS_AUTORADIOBUTTON,7,37,67,10 LTEXT "",IDC_RESULTDESC,49,112,159,23 - PUSHBUTTON "&Denetim Ekle...",IDC_ADDCONTROL,81,88,63,14,NOT WS_VISIBLE - CONTROL "Simge Olarak Göster",IDC_ASICON,"Button",BS_AUTOCHECKBOX | + PUSHBUTTON "D&enetim Ekle...",IDC_ADDCONTROL,81,88,63,14,NOT WS_VISIBLE + CONTROL "&Simge Olarak Göster",IDC_ASICON,"Button",BS_AUTOCHECKBOX | WS_TABSTOP | NOT WS_VISIBLE,223,58,64,10 - PUSHBUTTON "Gözat...",IDC_BROWSE,83,53,50,14,NOT WS_VISIBLE - LTEXT "Dosya:",IDC_FILELBL,83,27,20,8, NOT WS_VISIBLE + PUSHBUTTON "&Göz At...",IDC_BROWSE,83,53,50,14,NOT WS_VISIBLE + LTEXT "K&ütük:",IDC_FILELBL,83,27,20,8, NOT WS_VISIBLE EDITTEXT IDC_FILE,83,37,132,13,ES_AUTOHSCROLL | NOT WS_VISIBLE END STRINGTABLE { - IDS_RESULTOBJDESC "Belgenize yeni bir %s nesnesi ekle" - IDS_RESULTFILEOBJDESC "Dosya içeriðini belgenize nesne olarak ekleyin. Böylece kendisini oluþturan programý kullanarak onu etkinleþtirebilirsiniz." - IDS_BROWSE "Gözat" - IDS_NOTOLEMOD "Dosya geçerli bir OLE modülü olarak görünmüyor. OLE denetimi kaydedilemiyor." + IDS_RESULTOBJDESC "Belgeye yeni bir %s nesnesi ekle." + IDS_RESULTFILEOBJDESC "Kütük içeriÄini belgenize nesne olarak ekleyiniz, böylece kendisini oluÅturan çizeylemi kullanarak onu etkinleÅtirebilirsiniz." + IDS_BROWSE "Göz At" + IDS_NOTOLEMOD "Kütük, geçerli bir OLE parçası olarak görünmüyor. OLE denetimi kaydedilemiyor." IDS_NOTOLEMODCAPTION "Denetim Ekle" } + +IDD_PASTESPECIAL4 DIALOG 3, 15, 293, 140 +STYLE DS_MODALFRAME | DS_SETFONT | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Husûsî YapıÅtır" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "&Kaynak:", -1, 6, 9, 30, 8, WS_VISIBLE | WS_GROUP + CONTROL "Y&apıÅtır", IDC_PS_PASTE, "Button", BS_AUTORADIOBUTTON | WS_TABSTOP | WS_GROUP | WS_VISIBLE, + 6, 38, 55, 10 + CONTROL "&BaÄlantıyı YapıÅtır", IDC_PS_PASTELINK, "Button", BS_AUTORADIOBUTTON | WS_VISIBLE, + 6, 63, 55, 10 + LTEXT "&Olarak:", -1, 65, 25, 16, 8, WS_VISIBLE | WS_GROUP + LISTBOX IDC_PS_PASTELIST, 65, 36, 153, 57, LBS_NOTIFY | LBS_USETABSTOPS | WS_VSCROLL | WS_BORDER | NOT WS_VISIBLE + LISTBOX IDC_PS_PASTELINKLIST, 65, 36, 153, 57, LBS_NOTIFY | LBS_USETABSTOPS | WS_VSCROLL | WS_BORDER | NOT WS_VISIBLE + LISTBOX IDC_PS_DISPLAYLIST, 65, 36, 153, 57, LBS_NOTIFY | LBS_USETABSTOPS | WS_VSCROLL | WS_BORDER | WS_VISIBLE + CONTROL "Tamam", IDOK, "Button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_GROUP | WS_VISIBLE, 224, 6, 66, 14 + CONTROL "Ä°ptal", IDCANCEL, "Button", BS_PUSHBUTTON | WS_TABSTOP | WS_VISIBLE, 224, 23, 66, 14 + CONTROL "&Yardım", IDC_OLEUIHELP, "Button", BS_PUSHBUTTON | WS_TABSTOP | WS_VISIBLE, 224, 42, 66, 14 + CONTROL "&Simge Olarak Göster", IDC_PS_DISPLAYASICON, "Button", BS_AUTOCHECKBOX | WS_TABSTOP | WS_VISIBLE, 224, 59, 66, 14 + CONTROL "", IDC_PS_ICONDISPLAY, "Static", SS_ICON | WS_VISIBLE, 224, 75, 66, 44 + CONTROL "S&imgeyi DeÄiÅtir...", IDC_PS_CHANGEICON, "Button", BS_PUSHBUTTON | WS_TABSTOP | WS_VISIBLE, 224, 123, 66, 14 + CONTROL "", IDC_PS_RESULTIMAGE, "Static", SS_ICON | WS_VISIBLE, 8, 101, 42, 34 + CONTROL "<< Sonuç Metni Buraya Gelecek >>", IDC_PS_RESULTTEXT, "Static", SS_NOPREFIX | WS_VISIBLE, 54, 100, 159, 35 + CONTROL "So&nuç", -1, "Button", BS_GROUPBOX | WS_GROUP | WS_VISIBLE, 6, 90, 212, 48 + CONTROL "", IDC_PS_SOURCETEXT, "Edit", ES_READONLY | ES_AUTOHSCROLL | WS_VISIBLE, 37, 9, 180, 8 +END + +STRINGTABLE +{ + IDS_PS_PASTE_DATA "Belgeye panonun içeriÄini %s olarak ekler." + IDS_PS_PASTE_OBJECT "Belgeye panonun içeriÄini ekler, böylece onu %s kullanarak etkinleÅtirebilirsiniz." + IDS_PS_PASTE_OBJECT_AS_ICON "Belgeye panonun içeriÄini ekler, böylece onu %s kullanarak etkinleÅtirebilirsiniz. Bu simge olarak gösterilecektir." + IDS_PS_PASTE_LINK_DATA "Belgeye panonun içeriÄini %s olarak ekler. Bu bilgi, kaynak kütüÄüne baÄlanır, böylece bu kütüÄün deÄiÅiklikleri belgeye yansıtılır." + IDS_PS_PASTE_LINK_OBJECT "Belgeye panonun içeriÄinin resmini ekler. Bu resim, kaynak kütüÄüne baÄlanır, böylece bu kütüÄün deÄiÅiklikleri belgeye yansıtılır." + IDS_PS_PASTE_LINK_OBJECT_AS_ICON "Pano içeriÄinin konumunu belirten bir kısayol ekler. Bu kısayol, kaynak kütüÄüne baÄlanır, böylece bu kütüÄün deÄiÅiklikleri belgeye yansıtılır." + IDS_PS_NON_OLE "Belgeye panonun içeriÄini ekler." + IDS_PS_UNKNOWN_TYPE "Bilinmeyen Tür" + IDS_PS_UNKNOWN_SRC "Bilinmeyen Kaynak" + IDS_PS_UNKNOWN_APP "onu oluÅturan çizeylem" +}
10 years, 10 months
1
0
0
0
[akhaldi] 61306: [FREELDR] * Include the proper header instead of incompatibly redefining a type.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Thu Dec 19 22:49:16 2013 New Revision: 61306 URL:
http://svn.reactos.org/svn/reactos?rev=61306&view=rev
Log: [FREELDR] * Include the proper header instead of incompatibly redefining a type. Modified: trunk/reactos/boot/freeldr/freeldr/include/ntoskrnl.h Modified: trunk/reactos/boot/freeldr/freeldr/include/ntoskrnl.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/inclu…
============================================================================== --- trunk/reactos/boot/freeldr/freeldr/include/ntoskrnl.h [iso-8859-1] (original) +++ trunk/reactos/boot/freeldr/freeldr/include/ntoskrnl.h [iso-8859-1] Thu Dec 19 22:49:16 2013 @@ -12,6 +12,6 @@ //typedef GUID UUID; /* Disk stuff */ -typedef PVOID PLOADER_PARAMETER_BLOCK; +#include <arc/arc.h> #include <ntdddisk.h> #include <internal/hal.h>
10 years, 10 months
1
0
0
0
[akhaldi] 61305: [SYSAUDIO] * Do not include debug.h into the main header.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Thu Dec 19 22:45:32 2013 New Revision: 61305 URL:
http://svn.reactos.org/svn/reactos?rev=61305&view=rev
Log: [SYSAUDIO] * Do not include debug.h into the main header. Modified: trunk/reactos/drivers/wdm/audio/sysaudio/control.c trunk/reactos/drivers/wdm/audio/sysaudio/deviface.c trunk/reactos/drivers/wdm/audio/sysaudio/dispatcher.c trunk/reactos/drivers/wdm/audio/sysaudio/main.c trunk/reactos/drivers/wdm/audio/sysaudio/pin.c trunk/reactos/drivers/wdm/audio/sysaudio/sysaudio.h Modified: trunk/reactos/drivers/wdm/audio/sysaudio/control.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/sysaudio…
============================================================================== --- trunk/reactos/drivers/wdm/audio/sysaudio/control.c [iso-8859-1] (original) +++ trunk/reactos/drivers/wdm/audio/sysaudio/control.c [iso-8859-1] Thu Dec 19 22:45:32 2013 @@ -7,6 +7,9 @@ */ #include "sysaudio.h" + +#define NDEBUG +#include <debug.h> const GUID KSPROPSETID_Sysaudio = {0xCBE3FAA0L, 0xCC75, 0x11D0, {0xB4, 0x65, 0x00, 0x00, 0x1A, 0x18, 0x18, 0xE6}}; const GUID KSPROPSETID_Sysaudio_Pin = {0xA3A53220L, 0xC6E4, 0x11D0, {0xB4, 0x65, 0x00, 0x00, 0x1A, 0x18, 0x18, 0xE6}}; Modified: trunk/reactos/drivers/wdm/audio/sysaudio/deviface.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/sysaudio…
============================================================================== --- trunk/reactos/drivers/wdm/audio/sysaudio/deviface.c [iso-8859-1] (original) +++ trunk/reactos/drivers/wdm/audio/sysaudio/deviface.c [iso-8859-1] Thu Dec 19 22:45:32 2013 @@ -7,6 +7,9 @@ */ #include "sysaudio.h" + +#define NDEBUG +#include <debug.h> const GUID GUID_DEVICE_INTERFACE_ARRIVAL = {0xCB3A4004L, 0x46F0, 0x11D0, {0xB0, 0x8F, 0x00, 0x60, 0x97, 0x13, 0x05, 0x3F}}; const GUID GUID_DEVICE_INTERFACE_REMOVAL = {0xCB3A4005L, 0x46F0, 0x11D0, {0xB0, 0x8F, 0x00, 0x60, 0x97, 0x13, 0x05, 0x3F}}; Modified: trunk/reactos/drivers/wdm/audio/sysaudio/dispatcher.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/sysaudio…
============================================================================== --- trunk/reactos/drivers/wdm/audio/sysaudio/dispatcher.c [iso-8859-1] (original) +++ trunk/reactos/drivers/wdm/audio/sysaudio/dispatcher.c [iso-8859-1] Thu Dec 19 22:45:32 2013 @@ -7,6 +7,9 @@ */ #include "sysaudio.h" + +#define NDEBUG +#include <debug.h> NTSTATUS NTAPI Modified: trunk/reactos/drivers/wdm/audio/sysaudio/main.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/sysaudio…
============================================================================== --- trunk/reactos/drivers/wdm/audio/sysaudio/main.c [iso-8859-1] (original) +++ trunk/reactos/drivers/wdm/audio/sysaudio/main.c [iso-8859-1] Thu Dec 19 22:45:32 2013 @@ -11,6 +11,8 @@ #include "sysaudio.h" +#define NDEBUG +#include <debug.h> const GUID KSCATEGORY_SYSAUDIO = {0xA7C7A5B1L, 0x5AF3, 0x11D1, {0x9C, 0xED, 0x00, 0xA0, 0x24, 0xBF, 0x04, 0x07}}; const GUID KSCATEGORY_AUDIO_DEVICE = {0xFBF6F530L, 0x07B9, 0x11D2, {0xA7, 0x1E, 0x00, 0x00, 0xF8, 0x00, 0x47, 0x88}}; Modified: trunk/reactos/drivers/wdm/audio/sysaudio/pin.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/sysaudio…
============================================================================== --- trunk/reactos/drivers/wdm/audio/sysaudio/pin.c [iso-8859-1] (original) +++ trunk/reactos/drivers/wdm/audio/sysaudio/pin.c [iso-8859-1] Thu Dec 19 22:45:32 2013 @@ -7,6 +7,9 @@ */ #include "sysaudio.h" + +#define NDEBUG +#include <debug.h> NTSTATUS NTAPI Modified: trunk/reactos/drivers/wdm/audio/sysaudio/sysaudio.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/sysaudio…
============================================================================== --- trunk/reactos/drivers/wdm/audio/sysaudio/sysaudio.h [iso-8859-1] (original) +++ trunk/reactos/drivers/wdm/audio/sysaudio/sysaudio.h [iso-8859-1] Thu Dec 19 22:45:32 2013 @@ -4,8 +4,6 @@ #include <ks.h> #include <ksmedia.h> #include <math.h> -#define NDEBUG -#include <debug.h> #include <stdio.h> typedef struct
10 years, 10 months
1
0
0
0
[akhaldi] 61304: [WDMAUD] * Do not include debug.h into the main header.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Thu Dec 19 22:39:27 2013 New Revision: 61304 URL:
http://svn.reactos.org/svn/reactos?rev=61304&view=rev
Log: [WDMAUD] * Do not include debug.h into the main header. Modified: trunk/reactos/drivers/wdm/audio/legacy/wdmaud/control.c trunk/reactos/drivers/wdm/audio/legacy/wdmaud/deviface.c trunk/reactos/drivers/wdm/audio/legacy/wdmaud/entry.c trunk/reactos/drivers/wdm/audio/legacy/wdmaud/mmixer.c trunk/reactos/drivers/wdm/audio/legacy/wdmaud/sup.c trunk/reactos/drivers/wdm/audio/legacy/wdmaud/wdmaud.h Modified: trunk/reactos/drivers/wdm/audio/legacy/wdmaud/control.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/legacy/w…
============================================================================== --- trunk/reactos/drivers/wdm/audio/legacy/wdmaud/control.c [iso-8859-1] (original) +++ trunk/reactos/drivers/wdm/audio/legacy/wdmaud/control.c [iso-8859-1] Thu Dec 19 22:39:27 2013 @@ -6,7 +6,11 @@ * PROGRAMMER: Andrew Greenwood * Johannes Anderwald */ + #include "wdmaud.h" + +#define NDEBUG +#include <debug.h> const GUID KSPROPSETID_Sysaudio = {0xCBE3FAA0L, 0xCC75, 0x11D0, {0xB4, 0x65, 0x00, 0x00, 0x1A, 0x18, 0x18, 0xE6}}; Modified: trunk/reactos/drivers/wdm/audio/legacy/wdmaud/deviface.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/legacy/w…
============================================================================== --- trunk/reactos/drivers/wdm/audio/legacy/wdmaud/deviface.c [iso-8859-1] (original) +++ trunk/reactos/drivers/wdm/audio/legacy/wdmaud/deviface.c [iso-8859-1] Thu Dec 19 22:39:27 2013 @@ -6,7 +6,11 @@ * PROGRAMMER: Andrew Greenwood * Johannes Anderwald */ + #include "wdmaud.h" + +#define NDEBUG +#include <debug.h> NTSTATUS WdmAudOpenSysAudioDevice( Modified: trunk/reactos/drivers/wdm/audio/legacy/wdmaud/entry.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/legacy/w…
============================================================================== --- trunk/reactos/drivers/wdm/audio/legacy/wdmaud/entry.c [iso-8859-1] (original) +++ trunk/reactos/drivers/wdm/audio/legacy/wdmaud/entry.c [iso-8859-1] Thu Dec 19 22:39:27 2013 @@ -6,7 +6,11 @@ * PROGRAMMER: Andrew Greenwood * Johannes Anderwald */ + #include "wdmaud.h" + +#define NDEBUG +#include <debug.h> const GUID KSCATEGORY_SYSAUDIO = {0xA7C7A5B1L, 0x5AF3, 0x11D1, {0x9C, 0xED, 0x00, 0xA0, 0x24, 0xBF, 0x04, 0x07}}; const GUID KSCATEGORY_WDMAUD = {0x3E227E76L, 0x690D, 0x11D2, {0x81, 0x61, 0x00, 0x00, 0xF8, 0x77, 0x5B, 0xF1}}; Modified: trunk/reactos/drivers/wdm/audio/legacy/wdmaud/mmixer.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/legacy/w…
============================================================================== --- trunk/reactos/drivers/wdm/audio/legacy/wdmaud/mmixer.c [iso-8859-1] (original) +++ trunk/reactos/drivers/wdm/audio/legacy/wdmaud/mmixer.c [iso-8859-1] Thu Dec 19 22:39:27 2013 @@ -8,6 +8,8 @@ #include "wdmaud.h" +#define NDEBUG +#include <debug.h> PVOID Alloc(ULONG NumBytes); MIXER_STATUS Close(HANDLE hDevice); Modified: trunk/reactos/drivers/wdm/audio/legacy/wdmaud/sup.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/legacy/w…
============================================================================== --- trunk/reactos/drivers/wdm/audio/legacy/wdmaud/sup.c [iso-8859-1] (original) +++ trunk/reactos/drivers/wdm/audio/legacy/wdmaud/sup.c [iso-8859-1] Thu Dec 19 22:39:27 2013 @@ -6,7 +6,11 @@ * PROGRAMMER: Andrew Greenwood * Johannes Anderwald */ + #include "wdmaud.h" + +#define NDEBUG +#include <debug.h> PVOID AllocateItem( Modified: trunk/reactos/drivers/wdm/audio/legacy/wdmaud/wdmaud.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/wdm/audio/legacy/w…
============================================================================== --- trunk/reactos/drivers/wdm/audio/legacy/wdmaud/wdmaud.h [iso-8859-1] (original) +++ trunk/reactos/drivers/wdm/audio/legacy/wdmaud/wdmaud.h [iso-8859-1] Thu Dec 19 22:39:27 2013 @@ -2,8 +2,6 @@ #include <ntddk.h> #include <portcls.h> #include <ks.h> -#define NDEBUG -#include <debug.h> #include <ksmedia.h> #include <mmreg.h> #include <mmsystem.h>
10 years, 10 months
1
0
0
0
[tfaber] 61303: [KERNEL32_TEST] - Move ROS-only tests into apitest
by tfaber@svn.reactos.org
Author: tfaber Date: Thu Dec 19 21:39:09 2013 New Revision: 61303 URL:
http://svn.reactos.org/svn/reactos?rev=61303&view=rev
Log: [KERNEL32_TEST] - Move ROS-only tests into apitest Added: trunk/rostests/apitests/kernel32/dosdev.c - copied unchanged from r61297, trunk/rostests/winetests/kernel32/dosdev.c trunk/rostests/apitests/kernel32/interlck.c - copied, changed from r61297, trunk/rostests/winetests/kernel32/interlck.c Removed: trunk/rostests/winetests/kernel32/dosdev.c trunk/rostests/winetests/kernel32/interlck.c Modified: trunk/rostests/apitests/kernel32/CMakeLists.txt trunk/rostests/apitests/kernel32/testlist.c trunk/rostests/winetests/kernel32/CMakeLists.txt trunk/rostests/winetests/kernel32/testlist.c Modified: trunk/rostests/apitests/kernel32/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/kernel32/CMakeLi…
============================================================================== --- trunk/rostests/apitests/kernel32/CMakeLists.txt [iso-8859-1] (original) +++ trunk/rostests/apitests/kernel32/CMakeLists.txt [iso-8859-1] Thu Dec 19 21:39:09 2013 @@ -1,9 +1,11 @@ list(APPEND SOURCE + dosdev.c FindFiles.c GetCurrentDirectory.c GetDriveType.c GetModuleFileName.c + interlck.c lstrcpynW.c MultiByteToWideChar.c SetCurrentDirectory.c Copied: trunk/rostests/apitests/kernel32/interlck.c (from r61297, trunk/rostests/winetests/kernel32/interlck.c) URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/kernel32/interlc…
============================================================================== --- trunk/rostests/winetests/kernel32/interlck.c [iso-8859-1] (original) +++ trunk/rostests/apitests/kernel32/interlck.c [iso-8859-1] Thu Dec 19 21:39:09 2013 @@ -20,7 +20,6 @@ #include <stdarg.h> -#undef __ROS_LONG64__ #include "wine/test.h" #include "windef.h" #include "winbase.h" Modified: trunk/rostests/apitests/kernel32/testlist.c URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/kernel32/testlis…
============================================================================== --- trunk/rostests/apitests/kernel32/testlist.c [iso-8859-1] (original) +++ trunk/rostests/apitests/kernel32/testlist.c [iso-8859-1] Thu Dec 19 21:39:09 2013 @@ -3,10 +3,12 @@ #define STANDALONE #include <apitest.h> +extern void func_dosdev(void); extern void func_FindFiles(void); extern void func_GetCurrentDirectory(void); extern void func_GetDriveType(void); extern void func_GetModuleFileName(void); +extern void func_interlck(void); extern void func_lstrcpynW(void); extern void func_MultiByteToWideChar(void); extern void func_SetCurrentDirectory(void); @@ -14,15 +16,16 @@ const struct test winetest_testlist[] = { + { "dosdev", func_dosdev }, { "FindFiles", func_FindFiles }, { "GetCurrentDirectory", func_GetCurrentDirectory }, { "GetDriveType", func_GetDriveType }, { "GetModuleFileName", func_GetModuleFileName }, + { "interlck", func_interlck }, { "lstrcpynW", func_lstrcpynW }, { "MultiByteToWideChar", func_MultiByteToWideChar }, { "SetCurrentDirectory", func_SetCurrentDirectory }, { "SetUnhandledExceptionFilter", func_SetUnhandledExceptionFilter}, - { 0, 0 } }; Modified: trunk/rostests/winetests/kernel32/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/kernel32/CMakeL…
============================================================================== --- trunk/rostests/winetests/kernel32/CMakeLists.txt [iso-8859-1] (original) +++ trunk/rostests/winetests/kernel32/CMakeLists.txt [iso-8859-1] Thu Dec 19 21:39:09 2013 @@ -21,7 +21,6 @@ format_msg.c #generated.c heap.c - interlck.c loader.c locale.c mailslot.c @@ -39,7 +38,6 @@ version.c virtual.c volume.c - dosdev.c testlist.c) add_executable(kernel32_winetest Removed: trunk/rostests/winetests/kernel32/dosdev.c URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/kernel32/dosdev…
============================================================================== --- trunk/rostests/winetests/kernel32/dosdev.c [iso-8859-1] (original) +++ trunk/rostests/winetests/kernel32/dosdev.c (removed) @@ -1,384 +0,0 @@ -/* - * Unit test suite for virtual substituted drive functions. - * - * Copyright 2011 Sam Arun Raj - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA - */ - -#include <stdarg.h> -#include <stdio.h> - -#include "wine/test.h" -#include "windef.h" -#include "winbase.h" -#include "winerror.h" - -#define SUBST_DRIVE_LETTER 'M' -#define SUBST_DRIVE "M:" -#define SUBST_DRIVE_NON_EXIST_DIR "M:\\deadbeef" -#define SUBST_DRIVE_WITH_TRAILING_PATH_SEPERATOR "M:\\" -#define SUBST_DRIVE_SEARCH "M:\\*" -#define SUBST_DRIVE_LOWERCASE "m:" -#define SUBST_DRIVE_LOWERCASE_SEARCH "m:\\*" -#define SUBST_DRIVE2_LETTER 'R' -#define SUBST_DRIVE2 "R:" -#define SUBST_DRIVE2_WITH_TRAILING_PATH_SEPERATOR "R:\\" -#define SUBST_DRIVE2_SEARCH "R:\\*" - -static void test_DefineDosDeviceA(void) -{ - CHAR Buffer[MAX_PATH], Target[MAX_PATH]; - BOOL Result; - UINT CharCount; - HANDLE hnd; - WIN32_FIND_DATAA Data; - UINT SystemDriveType, DriveType1, DriveType2; - DWORD dwMaskPrev, dwMaskCur; - CHAR c; - - /* Choose the symbolic link target */ - CharCount = GetSystemWindowsDirectoryA(Target, MAX_PATH); - ok(CharCount > 0, "Failed to get windows directory\n"); - c = Target[3]; - Target[3] = '\0'; - SystemDriveType = GetDriveTypeA(Target); - Target[3] = c; - - /* Test with a subst drive pointing to another substed drive */ - dwMaskPrev = GetLogicalDrives(); - Result = DefineDosDeviceA(0, SUBST_DRIVE, Target); - ok(Result, "Failed to subst drive\n"); - DriveType1 = GetDriveTypeA(SUBST_DRIVE_WITH_TRAILING_PATH_SEPERATOR); - Result = DefineDosDeviceA(0, SUBST_DRIVE2, SUBST_DRIVE); - ok(Result, "Failed to subst drive\n"); - DriveType2 = GetDriveTypeA(SUBST_DRIVE2_WITH_TRAILING_PATH_SEPERATOR); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur != dwMaskPrev, "Drive masks match when it shouldn't\n"); - ok((dwMaskCur & (1 << (SUBST_DRIVE_LETTER - 'A'))), "Drive bit is not set\n"); - ok((dwMaskCur & (1 << (SUBST_DRIVE2_LETTER - 'A'))), "Drive bit is not set\n"); - hnd = FindFirstFileA(SUBST_DRIVE2_SEARCH, &Data); - ok(hnd != INVALID_HANDLE_VALUE, "Failed to open subst drive\n"); - if (hnd) FindClose(hnd); - ok(DriveType1 == DriveType2, "subst drive types don't match\n"); - ok(DriveType1 == SystemDriveType, "subst drive types don't match\n"); - ok(DriveType2 == SystemDriveType, "subst drive types don't match\n"); - Result = DefineDosDeviceA(DDD_REMOVE_DEFINITION | DDD_EXACT_MATCH_ON_REMOVE, SUBST_DRIVE, Target); - ok(Result, "Failed to remove subst drive using NULL Target name\n"); - hnd = FindFirstFileA(SUBST_DRIVE2_SEARCH, &Data); - ok(hnd == INVALID_HANDLE_VALUE, "Opened subst drive when it should fail, we removed the target\n"); - if (hnd) FindClose(hnd); - Result = DefineDosDeviceA(DDD_REMOVE_DEFINITION | DDD_EXACT_MATCH_ON_REMOVE, SUBST_DRIVE2, SUBST_DRIVE); - ok(Result, "Failed to remove subst drive using NULL Target name\n"); - Result = QueryDosDeviceA(SUBST_DRIVE, Buffer, MAX_PATH); - ok(!Result, "Subst drive is present even after remove attempt\n"); - Result = QueryDosDeviceA(SUBST_DRIVE2, Buffer, MAX_PATH); - ok(!Result, "Subst drive is present even after remove attempt\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur == dwMaskPrev, "Drive masks don't match\n"); - - /* Test using lowercase drive letter */ - dwMaskPrev = GetLogicalDrives(); - Result = DefineDosDeviceA(0, SUBST_DRIVE_LOWERCASE, Target); - ok(Result, "Failed to subst drive using lowercase drive letter\n"); - DriveType1 = GetDriveTypeA(SUBST_DRIVE_WITH_TRAILING_PATH_SEPERATOR); - ok(DriveType1 == SystemDriveType, "subst drive types don't match\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur != dwMaskPrev, "Drive masks match when it shouldn't\n"); - ok((dwMaskCur & (1 << (SUBST_DRIVE_LETTER - 'A'))), "Drive bit is not set\n"); - hnd = FindFirstFileA(SUBST_DRIVE_SEARCH, &Data); - ok(hnd != INVALID_HANDLE_VALUE, "Failed to open subst drive\n"); - if (hnd) FindClose(hnd); - Result = DefineDosDeviceA(DDD_REMOVE_DEFINITION | DDD_EXACT_MATCH_ON_REMOVE, SUBST_DRIVE_LOWERCASE, Target); - ok(Result, "Failed to remove subst drive using lowercase drive letter\n"); - Result = QueryDosDeviceA(SUBST_DRIVE_LOWERCASE, Buffer, MAX_PATH); - ok(!Result, "Subst drive is present even after remove attempt\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur == dwMaskPrev, "Drive masks don't match\n"); - - /* Test remove without using DDD_EXACT_MATCH_ON_REMOVE */ - dwMaskPrev = GetLogicalDrives(); - Result = DefineDosDeviceA(0, SUBST_DRIVE, Target); - ok(Result, "Failed to subst drive\n"); - DriveType1 = GetDriveTypeA(SUBST_DRIVE_WITH_TRAILING_PATH_SEPERATOR); - ok(DriveType1 == SystemDriveType, "subst drive types don't match\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur != dwMaskPrev, "Drive masks match when it shouldn't\n"); - ok((dwMaskCur & (1 << (SUBST_DRIVE_LETTER - 'A'))), "Drive bit is not set\n"); - hnd = FindFirstFileA(SUBST_DRIVE_SEARCH, &Data); - ok(hnd != INVALID_HANDLE_VALUE, "Failed to open subst drive\n"); - if (hnd) FindClose(hnd); - Result = DefineDosDeviceA(DDD_REMOVE_DEFINITION, SUBST_DRIVE, NULL); - ok(Result, "Failed to remove subst drive using NULL Target name\n"); - Result = QueryDosDeviceA(SUBST_DRIVE, Buffer, MAX_PATH); - ok(!Result, "Subst drive is present even after remove attempt\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur == dwMaskPrev, "Drive masks don't match\n"); - - /* Test multiple adds and multiple removes in add order */ - dwMaskPrev = GetLogicalDrives(); - Result = DefineDosDeviceA(0, SUBST_DRIVE, "C:\\temp1"); - ok(Result, "Failed to subst drive\n"); - Result = DefineDosDeviceA(0, SUBST_DRIVE, "C:\\temp2"); - ok(Result, "Failed to subst drive\n"); - Result = DefineDosDeviceA(0, SUBST_DRIVE, "C:\\temp3"); - ok(Result, "Failed to subst drive\n"); - DriveType1 = GetDriveTypeA(SUBST_DRIVE_WITH_TRAILING_PATH_SEPERATOR); - ok(DriveType1 != SystemDriveType, "subst drive types match when it shouldn't\n"); - ok(GetLastError() == ERROR_FILE_NOT_FOUND, "GetLastError() reports unexpected error code\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur != dwMaskPrev, "Drive masks match when it shouldn't\n"); - ok((dwMaskCur & (1 << (SUBST_DRIVE_LETTER - 'A'))), "Drive bit is not set\n"); - Result = DefineDosDeviceA(DDD_REMOVE_DEFINITION | DDD_EXACT_MATCH_ON_REMOVE, SUBST_DRIVE, "C:\\temp1"); - ok(Result, "Failed to remove subst drive\n"); - Result = QueryDosDeviceA(SUBST_DRIVE, Buffer, MAX_PATH); - ok(Result, "Failed to query subst drive\n"); - if (Result) ok((_stricmp(Buffer, "\\??\\C:\\temp3") == 0), "Subst drive is not pointing to correct target\n"); - Result = DefineDosDeviceA(DDD_REMOVE_DEFINITION | DDD_EXACT_MATCH_ON_REMOVE, SUBST_DRIVE, "C:\\temp2"); - ok(Result, "Failed to remove subst drive\n"); - Result = QueryDosDeviceA(SUBST_DRIVE, Buffer, MAX_PATH); - ok(Result, "Failed to query subst drive\n"); - if (Result) ok((_stricmp(Buffer, "\\??\\C:\\temp3") == 0), "Subst drive is not pointing to correct target\n"); - Result = DefineDosDeviceA(DDD_REMOVE_DEFINITION | DDD_EXACT_MATCH_ON_REMOVE, SUBST_DRIVE, "C:\\temp3"); - ok(Result, "Failed to remove subst drive\n"); - Result = QueryDosDeviceA(SUBST_DRIVE, Buffer, MAX_PATH); - ok(!Result, "Subst drive is present even after remove attempt\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur == dwMaskPrev, "Drive masks don't match\n"); - - /* Test multiple adds and multiple removes in reverse order */ - dwMaskPrev = GetLogicalDrives(); - Result = DefineDosDeviceA(0, SUBST_DRIVE, "C:\\temp1"); - ok(Result, "Failed to subst drive\n"); - Result = DefineDosDeviceA(0, SUBST_DRIVE, "C:\\temp2"); - ok(Result, "Failed to subst drive\n"); - Result = DefineDosDeviceA(0, SUBST_DRIVE, "C:\\temp3"); - ok(Result, "Failed to subst drive\n"); - DriveType1 = GetDriveTypeA(SUBST_DRIVE_WITH_TRAILING_PATH_SEPERATOR); - ok(DriveType1 != SystemDriveType, "subst drive types match when it shouldn't\n"); - ok(GetLastError() == ERROR_FILE_NOT_FOUND, "GetLastError() reports unexpected error code\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur != dwMaskPrev, "Drive masks match when it shouldn't\n"); - ok((dwMaskCur & (1 << (SUBST_DRIVE_LETTER - 'A'))), "Drive bit is not set\n"); - Result = DefineDosDeviceA(DDD_REMOVE_DEFINITION | DDD_EXACT_MATCH_ON_REMOVE, SUBST_DRIVE, "C:\\temp3"); - ok(Result, "Failed to remove subst drive\n"); - Result = QueryDosDeviceA(SUBST_DRIVE, Buffer, MAX_PATH); - ok(Result, "Failed to query subst drive\n"); - if (Result) ok((_stricmp(Buffer, "\\??\\C:\\temp2") == 0), "Subst drive is not pointing to correct target\n"); - Result = DefineDosDeviceA(DDD_REMOVE_DEFINITION | DDD_EXACT_MATCH_ON_REMOVE, SUBST_DRIVE, "C:\\temp2"); - ok(Result, "Failed to remove subst drive\n"); - Result = QueryDosDeviceA(SUBST_DRIVE, Buffer, MAX_PATH); - ok(Result, "Failed to query subst drive\n"); - if (Result) ok((_stricmp(Buffer, "\\??\\C:\\temp1") == 0), "Subst drive is not pointing to correct target\n"); - Result = DefineDosDeviceA(DDD_REMOVE_DEFINITION | DDD_EXACT_MATCH_ON_REMOVE, SUBST_DRIVE, "C:\\temp1"); - ok(Result, "Failed to remove subst drive\n"); - Result = QueryDosDeviceA(SUBST_DRIVE, Buffer, MAX_PATH); - ok(!Result, "Subst drive is present even after remove attempt\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur == dwMaskPrev, "Drive masks don't match\n"); - - /* Test multiple adds and multiple removes out of order */ - dwMaskPrev = GetLogicalDrives(); - Result = DefineDosDeviceA(0, SUBST_DRIVE, "C:\\temp1"); - ok(Result, "Failed to subst drive\n"); - Result = DefineDosDeviceA(0, SUBST_DRIVE, "C:\\temp2"); - ok(Result, "Failed to subst drive\n"); - Result = DefineDosDeviceA(0, SUBST_DRIVE, "C:\\temp3"); - ok(Result, "Failed to subst drive\n"); - Result = DefineDosDeviceA(0, SUBST_DRIVE, "C:\\temp4"); - ok(Result, "Failed to subst drive\n"); - Result = DefineDosDeviceA(0, SUBST_DRIVE, "C:\\temp5"); - ok(Result, "Failed to subst drive\n"); - DriveType1 = GetDriveTypeA(SUBST_DRIVE_WITH_TRAILING_PATH_SEPERATOR); - ok(DriveType1 != SystemDriveType, "subst drive types match when it shouldn't\n"); - ok(GetLastError() == ERROR_FILE_NOT_FOUND, "GetLastError() reports unexpected error code\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur != dwMaskPrev, "Drive masks match when it shouldn't\n"); - ok((dwMaskCur & (1 << (SUBST_DRIVE_LETTER - 'A'))), "Drive bit is not set\n"); - Result = DefineDosDeviceA(DDD_REMOVE_DEFINITION | DDD_EXACT_MATCH_ON_REMOVE, SUBST_DRIVE, "C:\\temp2"); - ok(Result, "Failed to remove subst drive\n"); - Result = QueryDosDeviceA(SUBST_DRIVE, Buffer, MAX_PATH); - ok(Result, "Failed to query subst drive\n"); - if (Result) ok((_stricmp(Buffer, "\\??\\C:\\temp5") == 0), "Subst drive is not pointing to correct target\n"); - Result = DefineDosDeviceA(DDD_REMOVE_DEFINITION | DDD_EXACT_MATCH_ON_REMOVE, SUBST_DRIVE, "C:\\temp5"); - ok(Result, "Failed to remove subst drive\n"); - Result = QueryDosDeviceA(SUBST_DRIVE, Buffer, MAX_PATH); - ok(Result, "Failed to query subst drive\n"); - if (Result) ok((_stricmp(Buffer, "\\??\\C:\\temp4") == 0), "Subst drive is not pointing to correct target\n"); - Result = DefineDosDeviceA(DDD_REMOVE_DEFINITION | DDD_EXACT_MATCH_ON_REMOVE, SUBST_DRIVE, "C:\\temp1"); - ok(Result, "Failed to remove subst drive\n"); - Result = QueryDosDeviceA(SUBST_DRIVE, Buffer, MAX_PATH); - ok(Result, "Failed to query subst drive\n"); - if (Result) ok((_stricmp(Buffer, "\\??\\C:\\temp4") == 0), "Subst drive is not pointing to correct target\n"); - Result = DefineDosDeviceA(DDD_REMOVE_DEFINITION | DDD_EXACT_MATCH_ON_REMOVE, SUBST_DRIVE, "C:\\temp3"); - ok(Result, "Failed to remove subst drive\n"); - Result = QueryDosDeviceA(SUBST_DRIVE, Buffer, MAX_PATH); - ok(Result, "Failed to query subst drive\n"); - if (Result) ok((_stricmp(Buffer, "\\??\\C:\\temp4") == 0), "Subst drive is not pointing to correct target"); - Result = DefineDosDeviceA(DDD_REMOVE_DEFINITION | DDD_EXACT_MATCH_ON_REMOVE, SUBST_DRIVE, "C:\\temp4"); - ok(Result, "Failed to remove subst drive\n"); - Result = QueryDosDeviceA(SUBST_DRIVE, Buffer, MAX_PATH); - ok(!Result, "Subst drive is present even after remove attempt\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur == dwMaskPrev, "Drive masks don't match\n"); - - /* Test with trailing '\' appended to TargetPath */ - dwMaskPrev = GetLogicalDrives(); - snprintf(Buffer, sizeof(Buffer), "%s\\\\\\", Target); - Result = DefineDosDeviceA(0, SUBST_DRIVE, Buffer); - ok(Result, "Failed to subst drive\n"); - DriveType1 = GetDriveTypeA(SUBST_DRIVE_WITH_TRAILING_PATH_SEPERATOR); - ok(DriveType1 == SystemDriveType, "subst drive types don't match\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur != dwMaskPrev, "Drive masks match when it shouldn't\n"); - ok((dwMaskCur & (1 << (SUBST_DRIVE_LETTER - 'A'))), "Drive bit is not set\n"); - hnd = FindFirstFileA(SUBST_DRIVE_SEARCH, &Data); - ok(hnd != INVALID_HANDLE_VALUE, "Failed to open subst drive\n"); - if (hnd) FindClose(hnd); - Result = DefineDosDeviceA(DDD_REMOVE_DEFINITION | DDD_EXACT_MATCH_ON_REMOVE, SUBST_DRIVE, Buffer); - ok(Result, "Failed to remove subst drive using NULL Target name\n"); - Result = QueryDosDeviceA(SUBST_DRIVE, Buffer, MAX_PATH); - ok(!Result, "Subst drive is present even after remove attempt\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur == dwMaskPrev, "Drive masks don't match\n"); - - /* Test with trailing '\' appended to TargetPath and DDD_RAW_TARGET_PATH flag */ - dwMaskPrev = GetLogicalDrives(); - snprintf(Buffer, sizeof(Buffer), "\\??\\%s\\\\\\", Target); - Result = DefineDosDeviceA(DDD_RAW_TARGET_PATH, SUBST_DRIVE, Buffer); - ok(Result, "Failed to subst drive\n"); - DriveType1 = GetDriveTypeA(SUBST_DRIVE_WITH_TRAILING_PATH_SEPERATOR); - ok(DriveType1 != SystemDriveType, "subst drive types match when they shouldn't\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur != dwMaskPrev, "Drive masks match when it shouldn't\n"); - ok((dwMaskCur & (1 << (SUBST_DRIVE_LETTER - 'A'))), "Drive bit is not set\n"); - hnd = FindFirstFileA(SUBST_DRIVE_SEARCH, &Data); - ok(hnd == INVALID_HANDLE_VALUE, "Opened subst drive when it should fail\n"); - ok(GetLastError() == ERROR_INVALID_NAME, "GetLastError() reports unexpected error code\n"); - if (hnd) FindClose(hnd); - Result = DefineDosDeviceA(DDD_REMOVE_DEFINITION, SUBST_DRIVE, NULL); - ok(Result, "Failed to remove subst drive using NULL Target name\n"); - Result = QueryDosDeviceA(SUBST_DRIVE, Buffer, MAX_PATH); - ok(!Result, "Subst drive is present even after remove attempt\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur == dwMaskPrev, "Drive masks don't match\n"); - - /* Test using trailing \ against drive letter */ - dwMaskPrev = GetLogicalDrives(); - Result = DefineDosDeviceA(0, SUBST_DRIVE_WITH_TRAILING_PATH_SEPERATOR, Target); - ok(!Result, "Subst drive using trailing path seperator, this should not happen\n"); - DriveType1 = GetDriveTypeA(SUBST_DRIVE_WITH_TRAILING_PATH_SEPERATOR); - ok(DriveType1 != SystemDriveType, "subst drive types match when it shouldn't\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur == dwMaskPrev, "Drive masks don't match\n"); - ok(!(dwMaskCur & (1 << (SUBST_DRIVE_LETTER - 'A'))), "Drive bit is set when it shouldn't\n"); - hnd = FindFirstFileA(SUBST_DRIVE_SEARCH, &Data); - ok(hnd == INVALID_HANDLE_VALUE, "Opened subst drive when it should fail\n"); - if (hnd) FindClose(hnd); - Result = DefineDosDeviceA(DDD_REMOVE_DEFINITION | DDD_EXACT_MATCH_ON_REMOVE, SUBST_DRIVE_WITH_TRAILING_PATH_SEPERATOR, Target); - ok(!Result, "Removing Subst drive using trailing path seperator passed when it should fail\n"); - Result = QueryDosDeviceA(SUBST_DRIVE_WITH_TRAILING_PATH_SEPERATOR, Buffer, MAX_PATH); - ok(!Result, "Subst drive is present when it should not be created in the first place\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur == dwMaskPrev, "Drive masks don't match\n"); - - /* Test using arbitary string, not necessarily a DOS drive letter */ - dwMaskPrev = GetLogicalDrives(); - Result = DefineDosDeviceA(0, "!QHello:", Target); - ok(Result, "Failed to subst drive using non-DOS drive name\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur == dwMaskPrev, "Drive masks don't match\n"); - Result = DefineDosDeviceA(DDD_REMOVE_DEFINITION | DDD_EXACT_MATCH_ON_REMOVE, "!QHello:", Target); - ok(Result, "Failed to subst drive using non-DOS drive name\n"); - Result = QueryDosDeviceA("!QHello:", Buffer, MAX_PATH); - ok(!Result, "Subst drive is present even after remove attempt\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur == dwMaskPrev, "Drive masks don't match\n"); - - /* Test by subst a drive to itself */ - dwMaskPrev = GetLogicalDrives(); - Result = DefineDosDeviceA(0, SUBST_DRIVE, SUBST_DRIVE); - ok(Result, "Failed to subst drive\n"); - DriveType1 = GetDriveTypeA(SUBST_DRIVE_WITH_TRAILING_PATH_SEPERATOR); - ok(DriveType1 != SystemDriveType, "subst drive types match when it shouldn't\n"); - ok(GetLastError() == ERROR_FILE_NOT_FOUND, "GetLastError() reports unexpected error code\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur != dwMaskPrev, "Drive masks match when it shouldn't\n"); - ok((dwMaskCur & (1 << (SUBST_DRIVE_LETTER - 'A'))), "Drive bit is not set\n"); - hnd = FindFirstFileA(SUBST_DRIVE_SEARCH, &Data); - ok(hnd == INVALID_HANDLE_VALUE, "Opened subst drive when it should fail\n"); - if (hnd) FindClose(hnd); - Result = DefineDosDeviceA(DDD_REMOVE_DEFINITION | DDD_EXACT_MATCH_ON_REMOVE, SUBST_DRIVE, SUBST_DRIVE); - ok(Result, "Failed to remove subst drive using lowercase drive letter\n"); - Result = QueryDosDeviceA(SUBST_DRIVE, Buffer, MAX_PATH); - ok(!Result, "Subst drive is present even after remove attempt\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur == dwMaskPrev, "Drive masks don't match\n"); - - /* Test by subst a drive to an non-existent folder under itself */ - dwMaskPrev = GetLogicalDrives(); - Result = DefineDosDeviceA(0, SUBST_DRIVE, SUBST_DRIVE_NON_EXIST_DIR); - ok(Result, "Failed to subst drive\n"); - DriveType1 = GetDriveTypeA(SUBST_DRIVE_WITH_TRAILING_PATH_SEPERATOR); - ok(DriveType1 != SystemDriveType, "subst drive types match when it shouldn't\n"); - ok(GetLastError() == ERROR_FILE_NOT_FOUND, "GetLastError() reports unexpected error code\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur != dwMaskPrev, "Drive masks match when it shouldn't\n"); - ok((dwMaskCur & (1 << (SUBST_DRIVE_LETTER - 'A'))), "Drive bit is not set\n"); - hnd = FindFirstFileA(SUBST_DRIVE_SEARCH, &Data); - ok(hnd == INVALID_HANDLE_VALUE, "Opened subst drive when it should fail\n"); - if (hnd) FindClose(hnd); - Result = DefineDosDeviceA(DDD_REMOVE_DEFINITION | DDD_EXACT_MATCH_ON_REMOVE, SUBST_DRIVE, SUBST_DRIVE_NON_EXIST_DIR); - ok(Result, "Failed to remove subst drive using lowercase drive letter\n"); - Result = QueryDosDeviceA(SUBST_DRIVE, Buffer, MAX_PATH); - ok(!Result, "Subst drive is present even after remove attempt\n"); - dwMaskCur = GetLogicalDrives(); - ok(dwMaskCur == dwMaskPrev, "Drive masks don't match\n"); -} - -static void test_QueryDosDeviceA(void) -{ - CHAR Buffer[MAX_PATH], Target[MAX_PATH]; - BOOL Result; - UINT CharCount; - - /* Choose the symbolic link target */ - CharCount = GetSystemWindowsDirectoryA(Target, MAX_PATH); - ok(CharCount > 0, "Failed to get windows directory\n"); - - Result = DefineDosDeviceA(0, SUBST_DRIVE, Target); - ok(Result, "Failed to subst drive\n"); - Result = QueryDosDeviceA(SUBST_DRIVE, Buffer, 0); - ok(!Result, "Should fail as the buffer passed is supposed to be small\n"); - ok(GetLastError() == ERROR_INSUFFICIENT_BUFFER, "GetLastError() reports unexpected error code\n"); - Result = QueryDosDeviceA(SUBST_DRIVE, Buffer, MAX_PATH); - ok(Result, "failed to get target path\n"); - ok(_strnicmp(Buffer, "\\??\\", 4) == 0, "The target returned does have correct prefix set\n"); - ok(stricmp(&Buffer[4], Target) == 0, "The target returned does not match the one set\n"); - Result = DefineDosDeviceA(DDD_REMOVE_DEFINITION | DDD_EXACT_MATCH_ON_REMOVE, SUBST_DRIVE, Target); - ok(Result, "Failed to remove subst drive using lowercase drive letter\n"); - Result = QueryDosDeviceA(SUBST_DRIVE, Buffer, MAX_PATH); - - /* This will try to retrieve all existing MS-DOS device names */ - Result = QueryDosDeviceA(NULL, Buffer, 0); - ok(!Result, "Should fail as the buffer passed is supposed to be small\n"); - ok(GetLastError() == ERROR_INSUFFICIENT_BUFFER, "GetLastError() reports unexpected error code\n"); -} - -START_TEST(dosdev) -{ - test_DefineDosDeviceA(); - test_QueryDosDeviceA(); -} Removed: trunk/rostests/winetests/kernel32/interlck.c URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/kernel32/interl…
============================================================================== --- trunk/rostests/winetests/kernel32/interlck.c [iso-8859-1] (original) +++ trunk/rostests/winetests/kernel32/interlck.c (removed) @@ -1,131 +0,0 @@ -/* - * Unit test suite for interlocked functions. - * - * Copyright 2006 Hervé Poussineau - * - * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -#include <stdarg.h> - -#undef __ROS_LONG64__ -#include "wine/test.h" -#include "windef.h" -#include "winbase.h" -#include "winerror.h" - -static void test_InterlockedCompareExchange(void) -{ - LONG dest, res; - - dest = 0; - res = InterlockedCompareExchange( &dest, 1, 0 ); - ok( res == 0 && dest == 1, - "Expected 0 and 1, got %ld and %ld", res, dest ); - - dest = 1; - res = InterlockedCompareExchange( &dest, 2, 0 ); - ok( res == 1 && dest == 1, - "Expected 1 and 1, got %ld and %ld", res, dest ); -} - -static void test_InterlockedDecrement(void) -{ - LONG dest, res; - - dest = 1; - res = InterlockedDecrement( &dest ); - ok( res == 0 && dest == 0, - "Expected 0 and 0, got %ld and %ld", res, dest ); - - dest = 0; - res = InterlockedDecrement( &dest ); - ok( res == -1 && dest == -1, - "Expected -1 and -1, got %ld and %ld", res, dest ); - - dest = -1; - res = InterlockedDecrement( &dest ); - ok( res == -2 && dest == -2, - "Expected -2 and -2, got %ld and %ld", res, dest ); -} - -static void test_InterlockedExchange(void) -{ - LONG dest, res; - - dest = 0; - res = InterlockedExchange( &dest, 1 ); - ok( res == 0 && dest == 1, - "Expected 0 and 1, got %ld and %ld", res, dest ); - - dest = 1; - res = InterlockedExchange( &dest, 2 ); - ok( res == 1 && dest == 2, - "Expected 1 and 2, got %ld and %ld", res, dest ); - - dest = 1; - res = InterlockedExchange( &dest, -1 ); - ok( res == 1 && dest == -1, - "Expected 1 and -1, got %ld and %ld", res, dest ); -} - -static void test_InterlockedExchangeAdd(void) -{ - LONG dest, res; - - dest = 0; - res = InterlockedExchangeAdd( &dest, 1 ); - ok( res == 0 && dest == 1, - "Expected 0 and 1, got %ld and %ld", res, dest ); - - dest = 1; - res = InterlockedExchangeAdd( &dest, 2 ); - ok( res == 1 && dest == 3, - "Expected 1 and 3, got %ld and %ld", res, dest ); - - dest = 1; - res = InterlockedExchangeAdd( &dest, -1 ); - ok( res == 1 && dest == 0, - "Expected 1 and 0, got %ld and %ld", res, dest ); -} - -static void test_InterlockedIncrement(void) -{ - LONG dest, res; - - dest = -2; - res = InterlockedIncrement( &dest ); - ok( res == -1 && dest == -1, - "Expected -1 and -1, got %ld and %ld", res, dest ); - - dest = -1; - res = InterlockedIncrement( &dest ); - ok( res == 0 && dest == 0, - "Expected 0 and 0, got %ld and %ld", res, dest ); - - dest = 0; - res = InterlockedIncrement( &dest ); - ok( res == 1 && dest == 1, - "Expected 1 and 1, got %ld and %ld", res, dest ); -} - -START_TEST(interlck) -{ - test_InterlockedCompareExchange(); - test_InterlockedDecrement(); - test_InterlockedExchange(); - test_InterlockedExchangeAdd(); - test_InterlockedIncrement(); -} Modified: trunk/rostests/winetests/kernel32/testlist.c URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/kernel32/testli…
============================================================================== --- trunk/rostests/winetests/kernel32/testlist.c [iso-8859-1] (original) +++ trunk/rostests/winetests/kernel32/testlist.c [iso-8859-1] Thu Dec 19 21:39:09 2013 @@ -80,8 +80,5 @@ { "version", func_version }, { "virtual", func_virtual }, { "volume", func_volume }, - /* ReactOS */ - { "dosdev", func_dosdev }, - { "interlck", func_interlck }, { 0, 0 } };
10 years, 10 months
1
0
0
0
[tfaber] 61302: [WINETESTS] - Do not suppress nonexistent warnings
by tfaber@svn.reactos.org
Author: tfaber Date: Thu Dec 19 21:30:10 2013 New Revision: 61302 URL:
http://svn.reactos.org/svn/reactos?rev=61302&view=rev
Log: [WINETESTS] - Do not suppress nonexistent warnings Modified: trunk/rostests/winetests/gdi32/CMakeLists.txt trunk/rostests/winetests/kernel32/CMakeLists.txt trunk/rostests/winetests/user32/CMakeLists.txt Modified: trunk/rostests/winetests/gdi32/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/gdi32/CMakeList…
============================================================================== --- trunk/rostests/winetests/gdi32/CMakeLists.txt [iso-8859-1] (original) +++ trunk/rostests/winetests/gdi32/CMakeLists.txt [iso-8859-1] Thu Dec 19 21:30:10 2013 @@ -20,12 +20,6 @@ add_executable(gdi32_winetest ${SOURCE} resource.rc) -if(NOT MSVC) - # FIXME:
http://www.cmake.org/Bug/view.php?id=12998
- #allow_warnings(gdi32_winetest) - set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error") -endif() - set_module_type(gdi32_winetest win32cui) add_importlibs(gdi32_winetest gdi32 user32 advapi32 msvcrt kernel32 ntdll) add_cd_file(TARGET gdi32_winetest DESTINATION reactos/bin FOR all) Modified: trunk/rostests/winetests/kernel32/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/kernel32/CMakeL…
============================================================================== --- trunk/rostests/winetests/kernel32/CMakeLists.txt [iso-8859-1] (original) +++ trunk/rostests/winetests/kernel32/CMakeLists.txt [iso-8859-1] Thu Dec 19 21:30:10 2013 @@ -50,11 +50,4 @@ set_module_type(kernel32_winetest win32cui) add_importlibs(kernel32_winetest user32 advapi32 msvcrt kernel32 ntdll) -if(NOT MSVC) - # FIXME:
http://www.cmake.org/Bug/view.php?id=12998
- #add_target_compile_flags(kernel32_winetest "-Wno-format") - #allow_warnings(kernel32_winetest) - set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-format -Wno-error") -endif() - add_cd_file(TARGET kernel32_winetest DESTINATION reactos/bin FOR all) Modified: trunk/rostests/winetests/user32/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/user32/CMakeLis…
============================================================================== --- trunk/rostests/winetests/user32/CMakeLists.txt [iso-8859-1] (original) +++ trunk/rostests/winetests/user32/CMakeLists.txt [iso-8859-1] Thu Dec 19 21:30:10 2013 @@ -30,10 +30,3 @@ set_module_type(user32_winetest win32cui) add_importlibs(user32_winetest user32 gdi32 advapi32 msvcrt kernel32) add_cd_file(TARGET user32_winetest DESTINATION reactos/bin FOR all) - -if(NOT MSVC) - # FIXME:
http://www.cmake.org/Bug/view.php?id=12998
- #add_target_compile_flags(user32_winetest "-Wno-format") - #allow_warnings(user32_winetest) - set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-format") -endif()
10 years, 10 months
1
0
0
0
[tfaber] 61301: [SHIMGVW] - Add Save button functionality. Patch by Ricardo Hanke. CORE-7702
by tfaber@svn.reactos.org
Author: tfaber Date: Thu Dec 19 20:29:17 2013 New Revision: 61301 URL:
http://svn.reactos.org/svn/reactos?rev=61301&view=rev
Log: [SHIMGVW] - Add Save button functionality. Patch by Ricardo Hanke. CORE-7702 Modified: trunk/reactos/dll/win32/shimgvw/CMakeLists.txt trunk/reactos/dll/win32/shimgvw/shimgvw.c Modified: trunk/reactos/dll/win32/shimgvw/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shimgvw/CMakeLis…
============================================================================== --- trunk/reactos/dll/win32/shimgvw/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/dll/win32/shimgvw/CMakeLists.txt [iso-8859-1] Thu Dec 19 20:29:17 2013 @@ -17,6 +17,7 @@ user32 gdi32 gdiplus + comdlg32 msvcrt kernel32 ntdll) Modified: trunk/reactos/dll/win32/shimgvw/shimgvw.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shimgvw/shimgvw.…
============================================================================== --- trunk/reactos/dll/win32/shimgvw/shimgvw.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/shimgvw/shimgvw.c [iso-8859-1] Thu Dec 19 20:29:17 2013 @@ -22,8 +22,10 @@ #include <wingdi.h> #include <objbase.h> #include <commctrl.h> +#include <commdlg.h> #include <gdiplus.h> #include <tchar.h> +#include <strsafe.h> #define NDEBUG #include <debug.h> @@ -69,6 +71,75 @@ } } +static void pSaveImageAs(HWND hwnd) +{ + OPENFILENAMEW sfn; + ImageCodecInfo *codecInfo; + WCHAR szSaveFileName[MAX_PATH]; + WCHAR szFilterMask[2048]; + GUID rawFormat; + UINT num; + UINT size; + UINT sizeRemain; + UINT j; + WCHAR *c; + + ZeroMemory(szSaveFileName, sizeof(szSaveFileName)); + ZeroMemory(szFilterMask, sizeof(szFilterMask)); + ZeroMemory(&sfn, sizeof(sfn)); + sfn.lStructSize = sizeof(sfn); + sfn.hwndOwner = hwnd; + sfn.hInstance = hInstance; + sfn.lpstrFile = szSaveFileName; + sfn.lpstrFilter = szFilterMask; + sfn.nMaxFile = MAX_PATH; + sfn.Flags = OFN_OVERWRITEPROMPT | OFN_HIDEREADONLY; + + GdipGetImageEncodersSize(&num, &size); + codecInfo = malloc(size); + if (!codecInfo) + { + DPRINT1("malloc() failed in pSaveImageAs()\n"); + return; + } + + GdipGetImageEncoders(num, size, codecInfo); + GdipGetImageRawFormat(image, &rawFormat); + + sizeRemain = sizeof(szFilterMask); + c = szFilterMask; + + for (j = 0; j < num; ++j) + { + StringCbPrintfExW(c, sizeRemain, &c, &sizeRemain, 0, L"%ls (%ls)", codecInfo[j].FormatDescription, codecInfo[j].FilenameExtension); + + /* Skip the NULL character */ + c++; + sizeRemain -= sizeof(*c); + + StringCbPrintfExW(c, sizeRemain, &c, &sizeRemain, 0, L"%ls", codecInfo[j].FilenameExtension); + + /* Skip the NULL character */ + c++; + sizeRemain -= sizeof(*c); + + if (IsEqualGUID(&rawFormat, &codecInfo[j].FormatID) == TRUE) + { + sfn.nFilterIndex = j + 1; + } + } + + if (GetSaveFileNameW(&sfn)) + { + if (GdipSaveImageToFile(image, szSaveFileName, &codecInfo[sfn.nFilterIndex - 1].Clsid, NULL) != Ok) + { + DPRINT1("GdipSaveImageToFile() failed\n"); + } + } + + free(codecInfo); +} + static VOID ImageView_DrawImage(HWND hwnd) { @@ -92,7 +163,7 @@ DPRINT1("GdipCreateFromHDC() failed\n"); return; } - + GdipGetImageWidth(image, &uImgWidth); GdipGetImageHeight(image, &uImgHeight); @@ -332,6 +403,7 @@ break; case IDC_SAVE: + pSaveImageAs(hwnd); break; case IDC_PRINT: @@ -453,7 +525,7 @@ // Create the window WndClass.lpszClassName = _T("shimgvw_window"); - WndClass.lpfnWndProc = (WNDPROC)ImageView_WndProc; + WndClass.lpfnWndProc = ImageView_WndProc; WndClass.hInstance = hInstance; WndClass.style = CS_HREDRAW | CS_VREDRAW; WndClass.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_APPICON)); @@ -466,7 +538,7 @@ hMainWnd = CreateWindow(_T("shimgvw_window"), szBuf, WS_OVERLAPPEDWINDOW | WS_VISIBLE | WS_CAPTION, CW_USEDEFAULT, CW_USEDEFAULT, - 0, 0, NULL, NULL, hInstance, NULL); + 0, 0, NULL, NULL, hInstance, NULL); // Show it ShowWindow(hMainWnd, SW_SHOW);
10 years, 10 months
1
0
0
0
[akhaldi] 61300: [EXPLORER] * Add Albanian translation. By Ardit Dani. CORE-7713 #resolve #comment Committed in r61300. Thanks !
by akhaldi@svn.reactos.org
Author: akhaldi Date: Thu Dec 19 19:49:20 2013 New Revision: 61300 URL:
http://svn.reactos.org/svn/reactos?rev=61300&view=rev
Log: [EXPLORER] * Add Albanian translation. By Ardit Dani. CORE-7713 #resolve #comment Committed in r61300. Thanks ! Added: trunk/reactos/base/shell/explorer/explorer-sq.rc - copied, changed from r61234, trunk/reactos/base/shell/explorer/explorer-en.rc Modified: trunk/reactos/base/shell/explorer/explorer.rc Copied: trunk/reactos/base/shell/explorer/explorer-sq.rc (from r61234, trunk/reactos/base/shell/explorer/explorer-en.rc) URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
============================================================================== --- trunk/reactos/base/shell/explorer/explorer-en.rc [iso-8859-1] (original) +++ trunk/reactos/base/shell/explorer/explorer-sq.rc [iso-8859-1] Thu Dec 19 19:49:20 2013 @@ -1,4 +1,8 @@ -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US +/* TRANSLATOR : Ardit Dani (Ard1t) (ardit.dani(a)gmail.com) + * DATE OF TR: 29-11-2013 +*/ + +LANGUAGE LANG_ALBANIAN, SUBLANG_NEUTRAL /* Menus */ @@ -6,40 +10,40 @@ BEGIN POPUP "&File" BEGIN - MENUITEM "&Execute...", ID_EXECUTE - MENUITEM SEPARATOR - MENUITEM "E&xit", ID_FILE_EXIT - END - POPUP "&View" + MENUITEM "&Ekzekuto...", ID_EXECUTE + MENUITEM SEPARATOR + MENUITEM "D&il", ID_FILE_EXIT + END + POPUP "&Shfaq" BEGIN MENUITEM "&Toolbar", ID_VIEW_TOOL_BAR MENUITEM "&Extra Bar", ID_VIEW_EXTRA_BAR MENUITEM "&Drivebar", ID_VIEW_DRIVE_BAR MENUITEM "S&ide Bar", ID_VIEW_SIDE_BAR - MENUITEM "&Status Bar", ID_VIEW_STATUSBAR - MENUITEM SEPARATOR - MENUITEM "&Refresh\tF5", ID_REFRESH - MENUITEM "F&ull Screen\tCtrl+Shift+S", ID_VIEW_FULLSCREEN + MENUITEM "&Statusi Bar", ID_VIEW_STATUSBAR + MENUITEM SEPARATOR + MENUITEM "&Rifresko\tF5", ID_REFRESH + MENUITEM "Ekran i plote\tCtrl+Shift+S", ID_VIEW_FULLSCREEN MENUITEM "SDI", ID_VIEW_SDI END - POPUP "&Window" - BEGIN - MENUITEM "New &Window", ID_WINDOW_NEW - MENUITEM "Cascading\tShift+F5", ID_WINDOW_CASCADE - MENUITEM "Tile &Horizontally", ID_WINDOW_TILE_HORZ - MENUITEM "Tile &Vertically\tShift+F4", ID_WINDOW_TILE_VERT - MENUITEM "Arrange Automatically", ID_WINDOW_AUTOSORT - MENUITEM "Arrange &Symbols", ID_WINDOW_ARRANGE - END - POPUP "&Tools" - BEGIN - MENUITEM "&Options", ID_TOOLS_OPTIONS - END - POPUP "&Help" - BEGIN - MENUITEM "Explorer &FAQ...", ID_EXPLORER_FAQ - MENUITEM "&About Explorer...", ID_ABOUT_EXPLORER - MENUITEM "About &OS...", ID_ABOUT_WINDOWS + POPUP "&Dritare" + BEGIN + MENUITEM "Dritare e re", ID_WINDOW_NEW + MENUITEM "Ujevare\tShift+F5", ID_WINDOW_CASCADE + MENUITEM "Afro &Horizontalisht", ID_WINDOW_TILE_HORZ + MENUITEM "Afro &Vertikalisht\tShift+F4", ID_WINDOW_TILE_VERT + MENUITEM "Organizoni Automatikisht", ID_WINDOW_AUTOSORT + MENUITEM "Organizoni Simbolet", ID_WINDOW_ARRANGE + END + POPUP "&Vegla" + BEGIN + MENUITEM "&Opsione", ID_TOOLS_OPTIONS + END + POPUP "&Ndihmë" + BEGIN + MENUITEM "Exploro &FAQ...", ID_EXPLORER_FAQ + MENUITEM "&Rreth Ekslorerit...", ID_ABOUT_EXPLORER + MENUITEM "Rreth &OS...", ID_ABOUT_WINDOWS END END @@ -47,10 +51,10 @@ BEGIN POPUP "" BEGIN - MENUITEM "&Settings...", ID_DESKTOPBAR_SETTINGS - MENUITEM "&Task Manager...", ID_TASKMGR - MENUITEM SEPARATOR - MENUITEM "&About Explorer...", ID_ABOUT_EXPLORER + MENUITEM "&Konfigurimet...", ID_DESKTOPBAR_SETTINGS + MENUITEM "&Menaxheri i detyrave...", ID_TASKMGR + MENUITEM SEPARATOR + MENUITEM "&Rreth Ekslorerit...", ID_ABOUT_EXPLORER END END @@ -58,8 +62,8 @@ BEGIN POPUP "" BEGIN - MENUITEM "Open Volume Control", ID_TRAY_VOLUME - MENUITEM "Adjust Audio Properties", ID_VOLUME_PROPERTIES + MENUITEM "Hap kontrollin e volumit", ID_TRAY_VOLUME + MENUITEM "Rrugullo rekuizitën e volumit", ID_VOLUME_PROPERTIES END END @@ -67,12 +71,12 @@ BEGIN POPUP "" BEGIN - MENUITEM "&Show Hidden Icons", ID_SHOW_HIDDEN_ICONS - MENUITEM "Show Icon &Button", ID_SHOW_ICON_BUTTON - MENUITEM "&Configure Notifications...", ID_CONFIG_NOTIFYAREA - MENUITEM "Adjust Date/&Time...", ID_CONFIG_TIME - MENUITEM SEPARATOR - MENUITEM "&About Explorer...", ID_ABOUT_EXPLORER + MENUITEM "&Shfaq ikonat e fshehura", ID_SHOW_HIDDEN_ICONS + MENUITEM "Shfaq ikonat &Butonat", ID_SHOW_ICON_BUTTON + MENUITEM "&Konfiguro notifikacionet...", ID_CONFIG_NOTIFYAREA + MENUITEM "Rrugullo Data/&Ora...", ID_CONFIG_TIME + MENUITEM SEPARATOR + MENUITEM "&Rreth Explorer...", ID_ABOUT_EXPLORER END END @@ -80,29 +84,29 @@ BEGIN POPUP "&File" BEGIN - MENUITEM "&Execute...", ID_EXECUTE - MENUITEM SEPARATOR - MENUITEM "&Close", ID_FILE_EXIT - END - POPUP "&View" - BEGIN - MENUITEM "&Toolbar", ID_VIEW_TOOL_BAR + MENUITEM "&Ekzekuto...", ID_EXECUTE + MENUITEM SEPARATOR + MENUITEM "&Mbyll", ID_FILE_EXIT + END + POPUP "&Vëzhgo" + BEGIN + MENUITEM "&Toolbari", ID_VIEW_TOOL_BAR MENUITEM "S&ide Bar", ID_VIEW_SIDE_BAR, GRAYED MENUITEM "&Status Bar", ID_VIEW_STATUSBAR MENUITEM SEPARATOR - MENUITEM "&Refresh\tF5", ID_REFRESH - MENUITEM "F&ull Screen\tCtrl+Shift+S", ID_VIEW_FULLSCREEN + MENUITEM "&Rifresko\tF5", ID_REFRESH + MENUITEM "Ekran i Plote\tCtrl+Shift+S", ID_VIEW_FULLSCREEN MENUITEM "&MDI", ID_VIEW_MDI END - POPUP "&Tools" - BEGIN - MENUITEM "&Options", ID_TOOLS_OPTIONS - END - POPUP "&Help" - BEGIN - MENUITEM "Explorer &FAQ...", ID_EXPLORER_FAQ - MENUITEM "&About Explorer...", ID_ABOUT_EXPLORER - MENUITEM "About &OS...", ID_ABOUT_WINDOWS + POPUP "&Vegla" + BEGIN + MENUITEM "&Opsione", ID_TOOLS_OPTIONS + END + POPUP "&Ndihmë" + BEGIN + MENUITEM "Ekslorerues &FAQ...", ID_EXPLORER_FAQ + MENUITEM "&Rreth Exploruesit...", ID_ABOUT_EXPLORER + MENUITEM "Rreth &OS...", ID_ABOUT_WINDOWS END END @@ -110,37 +114,37 @@ IDD_EXECUTE DIALOGEX 15, 13, 210, 63 STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "Execute" -FONT 8, "MS Shell Dlg" -BEGIN - CONTROL "", 101, "Static", SS_SIMPLE | SS_NOPREFIX, 3, 6, 150, 10 - CONTROL "&Command:", -1, "Static", SS_LEFTNOWORDWRAP | WS_GROUP, 3, 18, 60, 10 +CAPTION "Ekzekuto" +FONT 8, "MS Shell Dlg" +BEGIN + CONTROL "", 101, "Statik", SS_SIMPLE | SS_NOPREFIX, 3, 6, 150, 10 + CONTROL "&Comanda:", -1, "Statik", SS_LEFTNOWORDWRAP | WS_GROUP, 3, 18, 60, 10 EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL - CONTROL "As &Symbol", 214, "Button", BS_AUTOCHECKBOX | WS_TABSTOP, 3, 45, 71, 12 + CONTROL "Si &Simbol", 214, "Button", BS_AUTOCHECKBOX | WS_TABSTOP, 3, 45, 71, 12 DEFPUSHBUTTON "&OK", 1, 158, 6, 47, 14 - PUSHBUTTON "&Cancel", 2, 158, 23, 47, 14 - PUSHBUTTON "&Help", 254, 158, 43, 47, 14 + PUSHBUTTON "&Anulo", 2, 158, 23, 47, 14 + PUSHBUTTON "&Ndihmë", 254, 158, 43, 47, 14 END IDD_SEARCH_PROGRAM DIALOGEX 0, 0, 200, 65 STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME EXSTYLE WS_EX_APPWINDOW -CAPTION "Search Program in Startmenu" +CAPTION "Kerko Programin në Startmenu" FONT 8, "MS Shell Dlg", 0, 0, 0x1 BEGIN LTEXT "&Filter:", IDC_STATIC, 7, 9, 18, 8 EDITTEXT IDC_FILTER, 34, 7, 100, 14, ES_AUTOHSCROLL CONTROL "List1", IDC_PROGRAMS_FOUND, "SysListView32", LVS_REPORT | LVS_SHOWSELALWAYS | LVS_SORTASCENDING | WS_BORDER | WS_TABSTOP, 7, 25, 186, 33 - PUSHBUTTON "&Check Entries", IDC_CHECK_ENTRIES, 143, 7, 50, 14 + PUSHBUTTON "&Kontrollo Elementet", IDC_CHECK_ENTRIES, 143, 7, 50, 14 END IDD_DESKBAR_DESKTOP DIALOGEX 0, 0, 212, 194 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION -CAPTION "Desktop Properties" -FONT 8, "MS Shell Dlg" -BEGIN - LTEXT "Please select your preferred icon alignment algorithm:", IDC_STATIC, 7, 7, 166, 8 +CAPTION "Tiparet e Desktop" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Ju lutem zgjidhni preferencen e algorithmit per ikona tuaja:", IDC_STATIC, 7, 7, 166, 8 CONTROL "left/top dwn", IDC_ICON_ALIGN_0, "Button", BS_OWNERDRAW | BS_BOTTOM | WS_TABSTOP, 7, 25, 46, 44 CONTROL "left/top right", IDC_ICON_ALIGN_1, "Button", BS_OWNERDRAW | BS_BOTTOM | WS_TABSTOP, 57, 25, 46, 44 CONTROL "right/top left", IDC_ICON_ALIGN_2, "Button", BS_OWNERDRAW | BS_BOTTOM | WS_TABSTOP, 110, 25, 46, 44 @@ -158,17 +162,17 @@ IDD_DESKBAR_TASKBAR DIALOGEX 0, 0, 210, 194 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION -CAPTION "Taskbar Properties" -FONT 8, "MS Shell Dlg" -BEGIN - CONTROL "Show &clock", ID_SHOW_CLOCK, "Button", BS_AUTOCHECKBOX | WS_TABSTOP, 7, 152, 52, 10 - CONTROL "&Hide inactive notification icons", ID_HIDE_INACTIVE_ICONS, "Button", BS_AUTOCHECKBOX | WS_TABSTOP, 7, 174, 111, 10 - PUSHBUTTON "&Notifications...", ID_CONFIG_NOTIFYAREA, 153, 173, 50, 14 +CAPTION "Tiparet e Taskbar" +FONT 8, "MS Shell Dlg" +BEGIN + CONTROL "Shfaq orën", ID_SHOW_CLOCK, "Button", BS_AUTOCHECKBOX | WS_TABSTOP, 7, 152, 52, 10 + CONTROL "&Fshih ikonat jo aktive", ID_HIDE_INACTIVE_ICONS, "Button", BS_AUTOCHECKBOX | WS_TABSTOP, 7, 174, 111, 10 + PUSHBUTTON "&Njoftime...", ID_CONFIG_NOTIFYAREA, 153, 173, 50, 14 END IDD_DESKBAR_STARTMENU DIALOGEX 0, 0, 210, 194 STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION -CAPTION "Start Menu Properties" +CAPTION "Tiparet e Start Menu" FONT 8, "MS Shell Dlg" BEGIN END @@ -176,48 +180,48 @@ IDD_NOTIFYAREA DIALOGEX 0, 0, 208, 174 STYLE DS_SHELLFONT | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME EXSTYLE WS_EX_APPWINDOW -CAPTION "Configure Notification Icons" +CAPTION "Konfigurimi i ikonave" FONT 8, "MS Shell Dlg", 0, 0, 0x1 BEGIN CONTROL "Tree1", IDC_NOTIFY_ICONS, "SysTreeView32", TVS_HASLINES | TVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP, 7, 7, 194, 31 - LTEXT "&Tooltip Text:", IDC_LABEL1, 7, 44, 40, 8 + LTEXT "&Teksti i ndihmes Text:", IDC_LABEL1, 7, 44, 40, 8 EDITTEXT IDC_NOTIFY_TOOLTIP, 58, 42, 143, 14, ES_AUTOHSCROLL - LTEXT "W&indow Title:", IDC_LABEL2, 7, 63, 44, 8 + LTEXT "Titulli i dritares:", IDC_LABEL2, 7, 63, 44, 8 EDITTEXT IDC_NOTIFY_TITLE, 58, 60, 143, 14, ES_AUTOHSCROLL - LTEXT "&Module Path:", IDC_LABEL3, 7, 81, 43, 8 + LTEXT "Rruga e moduleve:", IDC_LABEL3, 7, 81, 43, 8 EDITTEXT IDC_NOTIFY_MODULE, 58, 78, 143, 14, ES_AUTOHSCROLL - GROUPBOX "&Display Mode", IDC_LABEL4, 7, 96, 157, 28 - CONTROL "&show", IDC_NOTIFY_SHOW, "Button", BS_AUTORADIOBUTTON | WS_TABSTOP, 15, 108, 33, 10 - CONTROL "&hide", IDC_NOTIFY_HIDE, "Button", BS_AUTORADIOBUTTON, 66, 108, 29, 10 - CONTROL "a&utohide", IDC_NOTIFY_AUTOHIDE, "Button", BS_AUTORADIOBUTTON, 112, 108, 43, 10 + GROUPBOX "Modaliteti i Hapjes", IDC_LABEL4, 7, 96, 157, 28 + CONTROL "&shfaq", IDC_NOTIFY_SHOW, "Button", BS_AUTORADIOBUTTON | WS_TABSTOP, 15, 108, 33, 10 + CONTROL "&Fsheh", IDC_NOTIFY_HIDE, "Button", BS_AUTORADIOBUTTON, 66, 108, 29, 10 + CONTROL "fshih a&tomatikisht", IDC_NOTIFY_AUTOHIDE, "Button", BS_AUTORADIOBUTTON, 112, 108, 43, 10 ICON "", IDC_PICTURE, 173, 101, 21, 20 - LTEXT "&Last Change:", IDC_LABEL6, 7, 132, 43, 8 + LTEXT "&Ndryshimi i fundit:", IDC_LABEL6, 7, 132, 43, 8 EDITTEXT IDC_LAST_CHANGE, 59, 129, 105, 14, ES_AUTOHSCROLL | ES_READONLY - CONTROL "sho&w hidden", ID_SHOW_HIDDEN_ICONS, "Button", BS_AUTOCHECKBOX | WS_TABSTOP, 7, 154, 56, 10 + CONTROL "Shfaq te fshehurat", ID_SHOW_HIDDEN_ICONS, "Button", BS_AUTOCHECKBOX | WS_TABSTOP, 7, 154, 56, 10 DEFPUSHBUTTON "&OK", IDOK, 91, 153, 50, 14, WS_GROUP - PUSHBUTTON "&Cancel", IDCANCEL, 151, 153, 50, 14 + PUSHBUTTON "&Anulo", IDCANCEL, 151, 153, 50, 14 END IDD_MDI_SDI DIALOGEX 0, 0, 194, 157 STYLE DS_SHELLFONT | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_APPWINDOW -CAPTION "Choose Explorer window mode" +CAPTION "Zgjidh modelin e Eksplorerit" FONT 8, "MS Shell Dlg", 0, 0, 0x1 BEGIN - LTEXT "Please select your preferred Explorer user interface:", IDC_STATIC, 7, 7, 160, 8 - CONTROL "&MDI (Multiple Document Interface)", IDC_MDI, "Button", BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP, 7, 31, 124, 10 - CONTROL "&SDI (Single Document Interface)", IDC_SDI, "Button", BS_AUTORADIOBUTTON, 7, 62, 118, 10 + LTEXT "Ju lutem zgjidhni ndërfaqen e përdoruesit te preferuar për Explorer:", IDC_STATIC, 7, 7, 160, 8 + CONTROL "&MDI (Ndërfaqja e dokumenteve te shumte)", IDC_MDI, "Button", BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP, 7, 31, 124, 10 + CONTROL "&SDI (Ndërfaqja e dokumenteve tek)", IDC_SDI, "Button", BS_AUTORADIOBUTTON, 7, 62, 118, 10 CONTROL 170, IDC_STATIC, "Static", SS_BITMAP, 145, 23, 15, 13 CONTROL 171, IDC_STATIC, "Static", SS_BITMAP, 145, 57, 15, 13 - CONTROL "Open Subfolders in s&eparate windows", IDC_SEPARATE_SUBFOLDERS, "Button", BS_AUTOCHECKBOX | WS_TABSTOP, 7, 90, 135, 10 - LTEXT "This setting will be used as default for all Explorer windows in the future.", IDC_STATIC, 7, 111, 174, 22 + CONTROL "Hap nën-skedat ne një dritare të re", IDC_SEPARATE_SUBFOLDERS, "Button", BS_AUTOCHECKBOX | WS_TABSTOP, 7, 90, 135, 10 + LTEXT "Kjo vendosje do të përdoret si parazgjedhje për të gjitha dritaret Explorer në të ardhmen.", IDC_STATIC, 7, 111, 174, 22 DEFPUSHBUTTON "&OK", IDOK, 29, 136, 50, 14, WS_GROUP - PUSHBUTTON "&Cancel", IDCANCEL, 106, 136, 50, 14 + PUSHBUTTON "&Anulo", IDCANCEL, 106, 136, 50, 14 END IDD_ABOUT_EXPLORER DIALOGEX 0, 0, 199, 106 STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About ReactOS Explorer" +CAPTION "Rreth ReactOS Explorer" FONT 8, "MS Shell Dlg" BEGIN LTEXT "ReactOS Explorer", IDC_ROS_EXPLORER, 91, 13, 104, 11 @@ -233,60 +237,60 @@ STRINGTABLE BEGIN IDS_TITLE "ReactOS Explorer" - IDS_START "Start" - IDS_LOGOFF "Log Off..." - IDS_SHUTDOWN "Turn Off..." - IDS_RESTART "Restart..." - IDS_LAUNCH "Run..." - IDS_START_HELP "Help" - IDS_SEARCH_FILES "Search..." - IDS_DOCUMENTS "My Documents" - IDS_FAVORITES "Favorites" - IDS_PROGRAMS "Programs" - IDS_SETTINGS "Settings" - IDS_EXPLORE "Explore" - IDS_EMPTY "(Empty)" - IDS_RECENT "Recent Documents" - IDS_ADMIN "Administration" + IDS_START "Fillo" + IDS_LOGOFF "Dil..." + IDS_SHUTDOWN "Fik..." + IDS_RESTART "Rifillo..." + IDS_LAUNCH "Fillo..." + IDS_START_HELP "Ndihmë" + IDS_SEARCH_FILES "Kërko..." + IDS_DOCUMENTS "Dokumentat e Mi" + IDS_FAVORITES "Preferuarat" + IDS_PROGRAMS "Programet" + IDS_SETTINGS "Konfigurimet" + IDS_EXPLORE "Eksploro" + IDS_EMPTY "(Bosh)" + IDS_RECENT "Dokumentet e Fundit" + IDS_ADMIN "Administrimi" END STRINGTABLE BEGIN - IDS_STARTMENU "Start Menu" - IDS_MINIMIZE_ALL "Minimize all windows" - IDS_DESKTOP_NUM "Desktop %d" - IDS_VOLUME "Volume" - IDS_ITEMS_CUR "Current items" - IDS_ITEMS_CONFIGURED "Configuration" - IDS_ITEMS_VISIBLE "Visible" - IDS_ITEMS_HIDDEN "Hidden" - IDS_NOTIFY_SHOW "Show" - IDS_NOTIFY_HIDE "Hide" - IDS_NOTIFY_AUTOHIDE "Autohide" - IDS_SHOW_HIDDEN_ICONS "Show hidden icons" - IDS_HIDE_ICONS "Hide icons" - IDS_TERMINATE "Terminate ROS Explorer" + IDS_STARTMENU "Menu Fillimi" + IDS_MINIMIZE_ALL "Minimizo te gjitha dritaret" + IDS_DESKTOP_NUM "Desktopi %d" + IDS_VOLUME "Volumi" + IDS_ITEMS_CUR "Artikuj Aktual" + IDS_ITEMS_CONFIGURED "Konfigurimi" + IDS_ITEMS_VISIBLE "I dukshëm" + IDS_ITEMS_HIDDEN "Fshehur" + IDS_NOTIFY_SHOW "Shfaq" + IDS_NOTIFY_HIDE "Fsheh" + IDS_NOTIFY_AUTOHIDE "Fshih Automatikisht" + IDS_SHOW_HIDDEN_ICONS "Shfaq ikonat e fshehura" + IDS_HIDE_ICONS "Fshih ikonat" + IDS_TERMINATE "Përfundo ROS Explorer" END STRINGTABLE BEGIN - IDS_NETWORK "Network" - IDS_CONNECTIONS "Network Connections" - IDS_DRIVES "Drives" - IDS_SEARCH_COMPUTER "Search Computer..." - IDS_SETTINGS_MENU "Settings Menu" - IDS_CONTROL_PANEL "Control Panel" - IDS_PRINTERS "Printers" - IDS_BROWSE "Browse Files" - IDS_SEARCH_PRG "Search Program..." - IDS_ALL_USERS "All Users\\" - IDS_SEARCH "Search" - IDS_ABOUT_EXPLORER "&About Explorer..." - IDS_LAUNCH_MANY_PROGRAMS "You have selected more than one program.\nAre you sure you want to launch all of them?" - IDS_DESKTOPBAR_SETTINGS "Desktop Settings" - IDS_DESKTOP "Desktop" - IDS_TASKBAR "Taskbar" - IDS_NAMECOLUMN "Name" - IDS_PATHCOLUMN "Path" - IDS_MENUCOLUMN "Menu path" -END + IDS_NETWORK "Networku" + IDS_CONNECTIONS "Lidhja e Networkut" + IDS_DRIVES "Driverat" + IDS_SEARCH_COMPUTER "Kërko ne kompjuter..." + IDS_SETTINGS_MENU "Konfigurim Menu" + IDS_CONTROL_PANEL "Paneli i Kontrollit" + IDS_PRINTERS "Printerat" + IDS_BROWSE "Kërko Dokumenta" + IDS_SEARCH_PRG "Kërko Programin..." + IDS_ALL_USERS "Të gjith Përdoruesit\\" + IDS_SEARCH "Kërko" + IDS_ABOUT_EXPLORER "&Rreth Explorerit..." + IDS_LAUNCH_MANY_PROGRAMS "Ju keni zgjedhur më shumë se një program.\nAJeni i sigurt që ju dëshironi për të nisur të gjithë ata?" + IDS_DESKTOPBAR_SETTINGS "Konfigurimet e Desktopit" + IDS_DESKTOP "Desktopi" + IDS_TASKBAR "Taskbari" + IDS_NAMECOLUMN "Emri" + IDS_PATHCOLUMN "Rruga" + IDS_MENUCOLUMN "Rruga Menu" +END Modified: trunk/reactos/base/shell/explorer/explorer.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer/explor…
============================================================================== --- trunk/reactos/base/shell/explorer/explorer.rc [iso-8859-1] (original) +++ trunk/reactos/base/shell/explorer/explorer.rc [iso-8859-1] Thu Dec 19 19:49:20 2013 @@ -176,6 +176,9 @@ #ifdef LANGUAGE_RU_RU #include "explorer-ru.rc" #endif +#ifdef LANGUAGE_SQ_AL + #include "explorer-sq.rc" +#endif #ifdef LANGUAGE_UK_UA #include "explorer-uk.rc" #endif
10 years, 10 months
1
0
0
0
← Newer
1
...
14
15
16
17
18
19
20
...
31
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
Results per page:
10
25
50
100
200