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
May 2008
----- 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
25 participants
586 discussions
Start a n
N
ew thread
[cfinck] 33710: Make the forum fully XHTML 1.0 Strict-compliant
by cfinck@svn.reactos.org
Author: cfinck Date: Mon May 26 09:27:25 2008 New Revision: 33710 URL:
http://svn.reactos.org/svn/reactos?rev=33710&view=rev
Log: Make the forum fully XHTML 1.0 Strict-compliant Modified:
trunk/web/reactos.org/htdocs/forum/styles/roscms/template/overall_header.ht…
Modified:
trunk/web/reactos.org/htdocs/forum/styles/roscms/template/overall_header.ht…
URL:
http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/forum/style…
============================================================================== ---
trunk/web/reactos.org/htdocs/forum/styles/roscms/template/overall_header.ht…
[iso-8859-1] (original) +++
trunk/web/reactos.org/htdocs/forum/styles/roscms/template/overall_header.ht…
[iso-8859-1] Mon May 26 09:27:25 2008 @@ -88,6 +88,8 @@ <body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}"> +<div><a name="top" accesskey="t"></a></div> + <!-- PHP --> readfile("
http://www.reactos.org/en/subsys_extern_menu_top.html
"); readfile("
http://www.reactos.org/en/subsys_extern_menu_left.html
"); @@ -114,31 +116,27 @@ </form> <p></p> <!-- ENDIF --> + + <!-- IF not S_IS_BOT --> + <div class="navTitle">Account</div> + <ol> + <!-- IF S_USER_LOGGED_IN --> + <li><a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="u">{L_PROFILE}</a></li> + <!-- IF S_DISPLAY_PM --><li><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></li><!-- ENDIF --> + <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li> + <!-- IF U_RESTORE_PERMISSIONS --><li><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a></li><!-- ENDIF --> + <!-- ENDIF --> - <div class="navTitle">Account</div> - <ol> - <!-- IF not S_IS_BOT and S_USER_LOGGED_IN --> - <li><a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="u">{L_PROFILE}</a></li> - <!-- IF S_DISPLAY_PM --> <li><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></li><!-- ENDIF --> - <li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li> - - <!-- IF U_RESTORE_PERMISSIONS --> - <li><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a></li> - <!-- ENDIF --> - <!-- ENDIF --> - - <!-- IF not S_IS_BOT --> <!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED --><li><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF --> <li><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="l">{L_LOGIN_LOGOUT}</a></li> - <!-- ENDIF --> - </ol> + </ol> + <!-- ENDIF --> </td> <td> <div class="contentSmallTitle"><a href="
http://www.reactos.org/en/community.html
">ReactOS Community</a> > ReactOS Forum</div> <div id="wrap"> - <a id="top" name="top" accesskey="t"></a> <div id="page-header"> <div class="navbar"> <div class="inner"><span class="corners-top"><span></span></span>
16 years, 5 months
1
0
0
0
[janderwald] 33709: - check if its a primary monitor before calculating monitor intersection rectangle - should fix bug 3281
by janderwald@svn.reactos.org
Author: janderwald Date: Mon May 26 08:50:36 2008 New Revision: 33709 URL:
http://svn.reactos.org/svn/reactos?rev=33709&view=rev
Log: - check if its a primary monitor before calculating monitor intersection rectangle - should fix bug 3281 Modified: trunk/reactos/subsystems/win32/win32k/ntuser/monitor.c Modified: trunk/reactos/subsystems/win32/win32k/ntuser/monitor.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
============================================================================== --- trunk/reactos/subsystems/win32/win32k/ntuser/monitor.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/ntuser/monitor.c [iso-8859-1] Mon May 26 08:50:36 2008 @@ -341,6 +341,11 @@ DPRINT("MonitorRect: left = %d, top = %d, right = %d, bottom = %d\n", MonitorRect.left, MonitorRect.top, MonitorRect.right, MonitorRect.bottom); + if (flags == MONITOR_DEFAULTTOPRIMARY && Monitor->IsPrimary) + { + PrimaryMonitor = Monitor; + } + if (pRect != NULL) { BOOL intersects = TRUE; @@ -384,11 +389,6 @@ IntersectionRect = MonitorRect; } - if (flags == MONITOR_DEFAULTTOPRIMARY && Monitor->IsPrimary) - { - PrimaryMonitor = Monitor; - } - if (iCount < listSize) { if (hMonitorList != NULL)
16 years, 5 months
1
0
0
0
[fireball] 33708: - Add more functions to the lookup table (used by the newest VMWare 6.5 Video driver).
by fireball@svn.reactos.org
Author: fireball Date: Mon May 26 06:47:47 2008 New Revision: 33708 URL:
http://svn.reactos.org/svn/reactos?rev=33708&view=rev
Log: - Add more functions to the lookup table (used by the newest VMWare 6.5 Video driver). Modified: trunk/reactos/drivers/video/videoprt/funclist.c Modified: trunk/reactos/drivers/video/videoprt/funclist.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/video/videoprt/fun…
============================================================================== --- trunk/reactos/drivers/video/videoprt/funclist.c [iso-8859-1] (original) +++ trunk/reactos/drivers/video/videoprt/funclist.c [iso-8859-1] Mon May 26 06:47:47 2008 @@ -30,12 +30,22 @@ /* GLOBAL VARIABLES ***********************************************************/ -#define VP_EXPORTED_FUNCS 1 +#define VP_EXPORTED_FUNCS 6 +UCHAR FN_VideoPortClearEvent[] = "VideoPortClearEvent"; +UCHAR FN_VideoPortCreateEvent[] = "VideoPortCreateEvent"; UCHAR FN_VideoPortCreateSecondaryDisplay[] = "VideoPortCreateSecondaryDisplay"; +UCHAR FN_VideoPortDeleteEvent[] = "VideoPortDeleteEvent"; +UCHAR FN_VideoPortQueueDpc[] = "VideoPortQueueDpc"; +UCHAR FN_VideoPortSetEvent[] = "VideoPortSetEvent"; VIDEO_PORT_FUNCTION_TABLE VideoPortExports[] = { - {VideoPortCreateSecondaryDisplay, FN_VideoPortCreateSecondaryDisplay} + {VideoPortClearEvent, FN_VideoPortClearEvent}, + {VideoPortCreateEvent, FN_VideoPortCreateEvent}, + {VideoPortCreateSecondaryDisplay, FN_VideoPortCreateSecondaryDisplay}, + {VideoPortDeleteEvent, FN_VideoPortDeleteEvent}, + {VideoPortQueueDpc, FN_VideoPortQueueDpc}, + {VideoPortSetEvent, FN_VideoPortSetEvent} }; PVOID NTAPI
16 years, 5 months
1
0
0
0
[dreimer] 33707: Bug 3275: Italian resource translation update by Paolo Devoti (devotip@tiscali.it) Bug 3277: Lithuanian translation by Vytis Girdzijauskas (cman@cman.us)
by dreimer@svn.reactos.org
Author: dreimer Date: Sun May 25 17:44:32 2008 New Revision: 33707 URL:
http://svn.reactos.org/svn/reactos?rev=33707&view=rev
Log: Bug 3275: Italian resource translation update by Paolo Devoti (devotip(a)tiscali.it) Bug 3277: Lithuanian translation by Vytis Girdzijauskas (cman(a)cman.us) Added: trunk/reactos/base/applications/cmdutils/xcopy/It.rc (with props) trunk/reactos/base/applications/kbswitch/lang/lt-LT.rc (with props) Modified: trunk/reactos/base/applications/cmdutils/xcopy/rsrc.rc trunk/reactos/base/applications/kbswitch/rsrc.rc trunk/reactos/base/setup/usetup/lang/it-IT.h trunk/reactos/dll/cpl/input/lang/it-IT.rc trunk/reactos/dll/win32/setupapi/lang/it-IT.rc trunk/reactos/dll/win32/shell32/lang/it-IT.rc Added: trunk/reactos/base/applications/cmdutils/xcopy/It.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils…
============================================================================== --- trunk/reactos/base/applications/cmdutils/xcopy/It.rc (added) +++ trunk/reactos/base/applications/cmdutils/xcopy/It.rc [iso-8859-1] Sun May 25 17:44:32 2008 @@ -1,0 +1,79 @@ +/* + * XCOPY - Wine-compatible xcopy program + * English language support + * + * Copyright (C) 2007 J. Edmeades + * + * 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 + */ + + +LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL + +STRINGTABLE +{ + STRING_INVPARMS, "Numero di parametri non valido - Usare xcopy /? per l'aiuto\n" + STRING_INVPARM, "Parametro non valido '%s' - Usare xcopy /? per l'aiuto\n" + STRING_PAUSE, "Premeress <invio> per iniziare la copia\n" + STRING_SIMCOPY, "%d file(s) saranno copiati\n" + STRING_COPY, "%d file(s) copiati\n" + STRING_QISDIR, "'%s' è un file o una cartella ?\n" \ + "sulla destinazione?\n" \ + "(F - File, C - Cartella)\n" + STRING_SRCPROMPT,"%s? (Si|No)\n" + STRING_OVERWRITE,"Sovrascrivere %s? (Si|No|Tutti)\n" + STRING_COPYFAIL, "Copia di '%s' su '%s' fallitocon r/c %d\n" + STRING_OPENFAIL, "Impossibile aprire '%s'\n" + STRING_READFAIL, "Impossibile leggre '%s'\n" + STRING_YES_CHAR, "S" + STRING_NO_CHAR, "N" + STRING_ALL_CHAR, "T" + STRING_FILE_CHAR,"F" + STRING_DIR_CHAR, "C" + + STRING_HELP, +"XCOPY - Copia i file sorgenti o un albero di cartelle su una destinazione\n\ +\n\ +Sintassi:\n\ +XCOPY sorgente [destinazione] [/I] [/S] [/Q] [/F] [/L] [/W] [/T] [/N] [/U] \n\ +\t [/R] [/H] [/C] [/P] [/A] [/M] [/E] [/D] [/Y] [/-Y]\n\ +\n\ +Dove:\n\ +\n\ +[/I] Assumere che sia una cartella se la destinazione non esiste e vengono \n\ +\t\tcopiati due o più file\n\ +[/S] Copiare cartelle e sottocartelle\n\ +[/E] Copiare cartelle e sottocartelle, comprese quelle vuote\n\ +[/Q] Non elencare i nomi dei file durante la copia.\n\ +[/F] Mostrare il percorso completo di sorgente e destinazione durante la copia\n\ +[/L] Simulare l'operazione, mostrare i nomi dei file che sarebbero copiati\n\ +[/W] Chidere conferma prima di iniziare la copia\n\ +[/T] Creare una strutture di cartelle vuota senza copiare i file\n\ +[/Y] Supprimere la richiesta di conferma per la sovrascrittura dei file\n\ +[/-Y] Abilitare la richiesta di conferma per la sovrascrittura dei file\n\ +[/P] Chiedere conferma prima della copia di ogni file\n\ +[/N] Copiare usando i nomi corti\n\ +[/U] Copiare solo i file che esistono già nella destinazione\n\ +[/R] Sovrascrivere i file in sola lettura\n\ +[/H] Includere nella copia i file nascosti e quelli di sistema\n\ +[/C] Continuare nella copia anche se si verificano errori\n\ +[/A] Copiare solo i file con l'attributo di archivio attivo\n\ +[/M] Copiare solo i file con l'attributo di archivio attivo e poi \n\ +\t\tlo disattiva\n\ +[/D | /D:m-d-y] Copiare i file nuovi o modificati dopo la data indicata.\n\ +\t\tSe non è indicata una data copiare solo se la destinazione e meno recente\n\ +\t\tdella sorgente\n\n" + +} Propchange: trunk/reactos/base/applications/cmdutils/xcopy/It.rc ------------------------------------------------------------------------------ svn:eol-style = native Modified: trunk/reactos/base/applications/cmdutils/xcopy/rsrc.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils…
============================================================================== --- trunk/reactos/base/applications/cmdutils/xcopy/rsrc.rc [iso-8859-1] (original) +++ trunk/reactos/base/applications/cmdutils/xcopy/rsrc.rc [iso-8859-1] Sun May 25 17:44:32 2008 @@ -28,6 +28,7 @@ #include "El.rc" #include "En.rc" #include "Fr.rc" +#include "It.rc" #include "Ko.rc" #include "Nl.rc" #include "No.rc" Added: trunk/reactos/base/applications/kbswitch/lang/lt-LT.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/kbswitch…
============================================================================== --- trunk/reactos/base/applications/kbswitch/lang/lt-LT.rc (added) +++ trunk/reactos/base/applications/kbswitch/lang/lt-LT.rc [iso-8859-1] Sun May 25 17:44:32 2008 @@ -1,0 +1,13 @@ +/* Translation by Vytis "CMan" Girdþijauskas (cman(a)cman.us) */ + +LANGUAGE LANG_LITHUANIAN, SUBLANG_DEFAULT + +IDR_POPUP MENU +BEGIN + POPUP "popup" + BEGIN + MENUITEM SEPARATOR + MENUITEM "&Nuostatos...", ID_PREFERENCES + MENUITEM "&Baigti", ID_EXIT + END +END Propchange: trunk/reactos/base/applications/kbswitch/lang/lt-LT.rc ------------------------------------------------------------------------------ svn:eol-style = native Modified: trunk/reactos/base/applications/kbswitch/rsrc.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/kbswitch…
============================================================================== --- trunk/reactos/base/applications/kbswitch/rsrc.rc [iso-8859-1] (original) +++ trunk/reactos/base/applications/kbswitch/rsrc.rc [iso-8859-1] Sun May 25 17:44:32 2008 @@ -4,6 +4,7 @@ #include "lang/en-US.rc" #include "lang/es-ES.rc" #include "lang/fr-FR.rc" +#include "lang/lt-LT.rc" #include "lang/pl-PL.rc" #include "lang/ru-RU.rc" #include "lang/sk-SK.rc" Modified: trunk/reactos/base/setup/usetup/lang/it-IT.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/it-…
============================================================================== --- trunk/reactos/base/setup/usetup/lang/it-IT.h [iso-8859-1] (original) +++ trunk/reactos/base/setup/usetup/lang/it-IT.h [iso-8859-1] Sun May 25 17:44:32 2008 @@ -382,12 +382,12 @@ { 8, 16, - " Accettare:", + " Conferma:", TEXT_STYLE_NORMAL }, { 25, - 16, "Accettare la configurazione delle periferiche", + 16, "Procedere con questa configurazione", TEXT_STYLE_NORMAL }, { @@ -417,7 +417,7 @@ { 6, 24, - "\"Accettare la configurazione delle periferiche\" e premere INVIO.", + "\"Confermare la configurazione delle periferiche\" e premere INVIO.", TEXT_STYLE_NORMAL }, { Modified: trunk/reactos/dll/cpl/input/lang/it-IT.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/input/lang/it-IT.r…
============================================================================== --- trunk/reactos/dll/cpl/input/lang/it-IT.rc [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/input/lang/it-IT.rc [iso-8859-1] Sun May 25 17:44:32 2008 @@ -47,22 +47,22 @@ IDD_CHANGE_KEY_SEQ DIALOGEX 5, 100, 230, 125 STYLE DS_SHELLFONT | DS_MODALFRAME | DS_NOIDLEMSG | DS_CONTEXTHELP | WS_POPUPWINDOW | WS_VISIBLE | WS_CAPTION -CAPTION "Change Key Sequence" +CAPTION "Modifica della sequenza dei tasti" FONT 8, "MS Shell Dlg" BEGIN GROUPBOX "", -1, 9, 5, 155, 110 - AUTOCHECKBOX "&Switch input languages", IDC_SWITCH_INPUT_LANG_CB, 15, 15, 105, 12 + AUTOCHECKBOX "&Cambia lingua di digitazione", IDC_SWITCH_INPUT_LANG_CB, 15, 15, 105, 12 LTEXT "Shift", -1, 73, 37, 27, 12 CTEXT "+", -1, 62, 37, 8, 9 AUTORADIOBUTTON "&Ctrl", IDC_CTRL_LANG, 29, 31, 30, 11 - AUTORADIOBUTTON "Left &ALT", IDC_LEFT_ALT_LANG, 29, 45, 46, 12 - AUTOCHECKBOX "S&witch keyboard layouts", IDC_SWITCH_KBLAYOUTS_CB, 16, 65, 141, 12 + AUTORADIOBUTTON "&ALT sinistro", IDC_LEFT_ALT_LANG, 29, 45, 46, 12 + AUTOCHECKBOX "Cambia &disposizione di tastiera", IDC_SWITCH_KBLAYOUTS_CB, 16, 65, 141, 12 LTEXT "Shift", -1, 74, 87, 27, 12 CTEXT "+", -1, 63, 87, 8, 9 AUTORADIOBUTTON "C&trl", IDC_CTRL_LAYOUT, 30, 81, 30, 11 - AUTORADIOBUTTON "Left A<", IDC_LEFT_ALT_LAYOUT, 30, 95, 44, 12 + AUTORADIOBUTTON "A< sinistro", IDC_LEFT_ALT_LAYOUT, 30, 95, 44, 12 DEFPUSHBUTTON "OK", IDOK, 172, 9, 50, 14 - PUSHBUTTON "Cancel", IDCANCEL, 172, 27, 50, 14 + PUSHBUTTON "Annulla", IDCANCEL, 172, 27, 50, 14 END IDD_INPUT_LANG_PROP DIALOGEX 20, 20, 227, 75 @@ -91,11 +91,11 @@ IDS_LAYOUT "Disposizione tastiera" IDS_REM_QUESTION "Volete rimuovere la disposizione di tastiera selezionata?" IDS_CONFIRMATION "Conferma" - IDS_LAYOUT_EXISTS "This layout already exists." - IDS_LAYOUT_EXISTS2 "This layout already exists and can not be added." + IDS_LAYOUT_EXISTS "Questa disposizione esite già." + IDS_LAYOUT_EXISTS2 "Questa disposizione esite già e non può essere aggiunta." IDS_CTRL_SHIFT "Ctrl+Shift" - IDS_LEFT_ALT_SHIFT "Left Alt+Shift" - IDS_SWITCH_BET_INLANG "Switch between input languages" + IDS_LEFT_ALT_SHIFT "Alt sinistro+Shift" + IDS_SWITCH_BET_INLANG "Cambia lingua di digitazione" END STRINGTABLE Modified: trunk/reactos/dll/win32/setupapi/lang/it-IT.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/setupapi/lang/it…
============================================================================== --- trunk/reactos/dll/win32/setupapi/lang/it-IT.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/setupapi/lang/it-IT.rc [iso-8859-1] Sun May 25 17:44:32 2008 @@ -36,7 +36,7 @@ STRINGTABLE DISCARDABLE BEGIN - IDS_QUERY_REBOOT_TEXT "Il computer deve essre riavviato per completare l'installazione. Volete procedere?" + IDS_QUERY_REBOOT_TEXT "Il computer deve essere riavviato per completare l'installazione. Volete procedere?" IDS_QUERY_REBOOT_CAPTION "Riavvio" IDS_INF_FILE "Informazioni di Setup" END Modified: trunk/reactos/dll/win32/shell32/lang/it-IT.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/lang/it-…
============================================================================== --- trunk/reactos/dll/win32/shell32/lang/it-IT.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/shell32/lang/it-IT.rc [iso-8859-1] Sun May 25 17:44:32 2008 @@ -658,25 +658,25 @@ FCIDM_SHVIEW_NEWFOLDER "Nuova &Cartella" FCIDM_SHVIEW_NEWLINK "Nuovo &Collegamento" IDS_FOLDER_OPTIONS "Opzioni della cartella" - IDS_RECYCLEBIN_LOCATION "Recycle Bin Location" - IDS_RECYCLEBIN_DISKSPACE "Space Available" + IDS_RECYCLEBIN_LOCATION "Posizione del Cestino" + IDS_RECYCLEBIN_DISKSPACE "Spazio disponibile" IDS_PICK_ICON_TITLE "Scegliere un icona" - IDS_PICK_ICON_FILTER "Icone(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0" - IDS_OPEN_WITH_FILTER "Executable Files\0*.exe\0" - IDS_DIRECTORY "Folder" + IDS_PICK_ICON_FILTER "Icone(*.ico, *.icl, *.exe, *.dll)\0*.ico;*.icl;*.exe;*.dll\0" + IDS_OPEN_WITH_FILTER "File eseguibili\0*.exe\0" + IDS_DIRECTORY "Cartella" IDS_VIRTUAL_DRIVER "Virtual Device Driver" IDS_BAT_FILE "ReactOS Batch File" IDS_CMD_FILE "ReactOS Command Script" - IDS_COM_FILE "Dos Application" - IDS_CPL_FILE "Control Panel Item" - IDS_CUR_FILE "Cursor" - IDS_DLL_FILE "Application Extension" + IDS_COM_FILE "Applicazione Dos" + IDS_CPL_FILE "Elemento del pannello di controllo" + IDS_CUR_FILE "Cursore" + IDS_DLL_FILE "Estensione di applicazione" IDS_DRV_FILE "Device Driver" - IDS_EXE_FILE "Application" - IDS_FON_FILE "Font file" - IDS_TTF_FILE "TrueType Font file" + IDS_EXE_FILE "Applicatione" + IDS_FON_FILE "Font" + IDS_TTF_FILE "TrueType Font" IDS_HLP_FILE "Help File" - IDS_INI_FILE "Configuration Settings" - IDS_LNK_FILE "Shortcut" - IDS_SYS_FILE "System file" -END + IDS_INI_FILE "Impostazioni di configurazione" + IDS_LNK_FILE "Collegamento" + IDS_SYS_FILE "File di sistema" +END
16 years, 5 months
1
0
0
0
[cfinck] 33706: Re-add the accidentally deleted top linklist with the board and topic links. Aleksey, please upload these files to the webserver as well :)
by cfinck@svn.reactos.org
Author: cfinck Date: Sun May 25 17:41:27 2008 New Revision: 33706 URL:
http://svn.reactos.org/svn/reactos?rev=33706&view=rev
Log: Re-add the accidentally deleted top linklist with the board and topic links. Aleksey, please upload these files to the webserver as well :) Modified:
trunk/web/reactos.org/htdocs/forum/styles/roscms/template/overall_header.ht…
trunk/web/reactos.org/htdocs/forum/styles/roscms/theme/common.css
Modified:
trunk/web/reactos.org/htdocs/forum/styles/roscms/template/overall_header.ht…
URL:
http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/forum/style…
============================================================================== ---
trunk/web/reactos.org/htdocs/forum/styles/roscms/template/overall_header.ht…
[iso-8859-1] (original) +++
trunk/web/reactos.org/htdocs/forum/styles/roscms/template/overall_header.ht…
[iso-8859-1] Sun May 25 17:41:27 2008 @@ -140,12 +140,20 @@ <div id="wrap"> <a id="top" name="top" accesskey="t"></a> <div id="page-header"> - <ul class="linklist"> - <!-- IF U_EMAIL_TOPIC --><li class="rightside"><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}" class="sendemail">{L_EMAIL_TOPIC}</a></li><!-- ENDIF --> - <!-- IF U_EMAIL_PM --><li class="rightside"><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}" class="sendemail">{L_EMAIL_PM}</a></li><!-- ENDIF --> - <!-- IF U_PRINT_TOPIC --><li class="rightside"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p" class="print">{L_PRINT_TOPIC}</a></li><!-- ENDIF --> - <!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF --> - </ul> + <div class="navbar"> + <div class="inner"><span class="corners-top"><span></span></span> + + <ul class="linklist navlinks"> + <li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <!-- BEGIN navlinks --> <strong>‹</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></li> + + <!-- IF U_EMAIL_TOPIC --><li class="rightside"><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}" class="sendemail">{L_EMAIL_TOPIC}</a></li><!-- ENDIF --> + <!-- IF U_EMAIL_PM --><li class="rightside"><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}" class="sendemail">{L_EMAIL_PM}</a></li><!-- ENDIF --> + <!-- IF U_PRINT_TOPIC --><li class="rightside"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p" class="print">{L_PRINT_TOPIC}</a></li><!-- ENDIF --> + <!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF --> + </ul> + + <span class="corners-bottom"><span></span></span></div> + </div> </div> <a name="start_here"></a> Modified:
trunk/web/reactos.org/htdocs/forum/styles/roscms/theme/common.css
URL:
http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/forum/style…
============================================================================== ---
trunk/web/reactos.org/htdocs/forum/styles/roscms/theme/common.css
[iso-8859-1] (original) +++
trunk/web/reactos.org/htdocs/forum/styles/roscms/theme/common.css
[iso-8859-1] Sun May 25 17:41:27 2008 @@ -310,9 +310,7 @@ } ul.navlinks { - padding-bottom: 1px; margin-bottom: 1px; - border-bottom: 1px solid #FFFFFF; font-weight: bold; }
16 years, 5 months
1
0
0
0
[dreimer] 33705: Bug 3275: Italian resource translation update by Paolo Devoti (devotip@tiscali.it) Bug 3277: Lithuanian translation by Vytis Girdzijauskas (cman@cman.us)
by dreimer@svn.reactos.org
Author: dreimer Date: Sun May 25 17:15:26 2008 New Revision: 33705 URL:
http://svn.reactos.org/svn/reactos?rev=33705&view=rev
Log: Bug 3275: Italian resource translation update by Paolo Devoti (devotip(a)tiscali.it) Bug 3277: Lithuanian translation by Vytis Girdzijauskas (cman(a)cman.us) Added: trunk/rosapps/fontview/lang/lt-LT.rc (with props) Modified: trunk/rosapps/fontview/fontview.rc Modified: trunk/rosapps/fontview/fontview.rc URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/fontview/fontview.rc?rev=3…
============================================================================== --- trunk/rosapps/fontview/fontview.rc [iso-8859-1] (original) +++ trunk/rosapps/fontview/fontview.rc [iso-8859-1] Sun May 25 17:15:26 2008 @@ -16,6 +16,7 @@ #include "lang/en-US.rc" #include "lang/es-ES.rc" #include "lang/fr-FR.rc" +#include "lang/lt-LT.rc" #include "lang/pl-PL.rc" #include "lang/ru-RU.rc" #include "lang/uk-UA.rc" Added: trunk/rosapps/fontview/lang/lt-LT.rc URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/fontview/lang/lt-LT.rc?rev…
============================================================================== --- trunk/rosapps/fontview/lang/lt-LT.rc (added) +++ trunk/rosapps/fontview/lang/lt-LT.rc [iso-8859-1] Sun May 25 17:15:26 2008 @@ -1,0 +1,18 @@ +/* Translation by Vytis "CMan" Girdþijauskas (cman(a)cman.us) */ + +LANGUAGE LANG_LITHUANIAN, SUBLANG_DEFAULT + +STRINGTABLE DISCARDABLE +BEGIN + IDS_QUIT, "Baigti" + IDS_PRINT, "Spausdinti" + IDS_STRING, "ABCDEFGHIYJKLMNOPQRSTUVWXZ àèæëáðøûþ 1234567890" + IDS_ERROR, "Klaida" + IDS_ERROR_NOMEM, "Uþduoèiai uþbaigti, nepakanka atminties." + IDS_ERROR_NOFONT, "%1 nëra teisinga ðrifto byla." + IDS_ERROR_NOCLASS, "Nepavyko inicijuoti lango klasës." + IDS_ERROR_BADCMD, "Nenurodyta ðrifto byla.\nSintaksë:\n fontview.exe <ðrifto byla>" +END + + + Propchange: trunk/rosapps/fontview/lang/lt-LT.rc ------------------------------------------------------------------------------ svn:eol-style = native
16 years, 5 months
1
0
0
0
[cfinck] 33704: Last minute fixes for phpBB: - Update the session expiration time if the user enabled a session with timeout - Change the DB name for "subsys_phpbb.php"
by cfinck@svn.reactos.org
Author: cfinck Date: Sun May 25 17:08:12 2008 New Revision: 33704 URL:
http://svn.reactos.org/svn/reactos?rev=33704&view=rev
Log: Last minute fixes for phpBB: - Update the session expiration time if the user enabled a session with timeout - Change the DB name for "subsys_phpbb.php" Modified:
trunk/web/reactos.org/htdocs/forum/includes/auth/auth_roscms.php
trunk/web/reactos.org/htdocs/roscms/inc/subsys_phpbb.php
Modified:
trunk/web/reactos.org/htdocs/forum/includes/auth/auth_roscms.php
URL:
http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/forum/inclu…
============================================================================== ---
trunk/web/reactos.org/htdocs/forum/includes/auth/auth_roscms.php
[iso-8859-1] (original) +++
trunk/web/reactos.org/htdocs/forum/includes/auth/auth_roscms.php
[iso-8859-1] Sun May 25 17:08:12 2008 @@ -91,10 +91,24 @@ function validate_session_roscms(&$user) { - if($user["user_id"] == ANONYMOUS && $_COOKIE["roscmsusrkey"] != "") + global $db; + + if($_COOKIE["roscmsusrkey"]) { - // The user is logged in in RosCMS, but not yet in phpBB. Do that now - login_box(); + if($user["user_id"] == ANONYMOUS) + { + // The user is logged in in RosCMS, but not yet in phpBB. Do that now + login_box(); + } + else + { + // Update the session expiration time + $sql = "UPDATE " . ROSCMS_DB_NAME . ".user_sessions " . + "SET usersession_expires = DATE_ADD(NOW(), INTERVAL 30 MINUTE) " . + "WHERE usersession_id = '" . $db->sql_escape($_COOKIE["roscmsusrkey"]) . "' " . + "AND usersession_expires IS NOT NULL"; + $db->sql_query($sql); + } } return true; Modified:
trunk/web/reactos.org/htdocs/roscms/inc/subsys_phpbb.php
URL:
http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/roscms/inc/…
============================================================================== ---
trunk/web/reactos.org/htdocs/roscms/inc/subsys_phpbb.php
[iso-8859-1] (original) +++
trunk/web/reactos.org/htdocs/roscms/inc/subsys_phpbb.php
[iso-8859-1] Sun May 25 17:08:12 2008 @@ -34,7 +34,7 @@ require_once("subsys_utils.php"); -define('SUBSYS_PHPBB_DBNAME', "publish"); +define('SUBSYS_PHPBB_DBNAME', "forum"); function subsys_phpbb_info_check() {
16 years, 5 months
1
0
0
0
[hyperion] 33703: modified include/psdk/winnls.h Added definitions for NormalizeString and IsNormalizedString (Vista and later) Correct an embarassing bug (some macros were terminated with "; ", shame shame) added nls added nls/3rdparty added nls/3rdparty/icu We officially welcome IBM's excellent ICU4C library for Unicode support to our humble source tree. May our marriage be long, happy and fertile. added nls/3rdparty/icu4ros.rbuild added nls/dll added nls/dll/normaliz_redist added nls/dll/norm
by hyperion@svn.reactos.org
Author: hyperion Date: Sun May 25 16:00:08 2008 New Revision: 33703 URL:
http://svn.reactos.org/svn/reactos?rev=33703&view=rev
Log: modified include/psdk/winnls.h Added definitions for NormalizeString and IsNormalizedString (Vista and later) Correct an embarassing bug (some macros were terminated with ";", shame shame) added nls added nls/3rdparty added nls/3rdparty/icu We officially welcome IBM's excellent ICU4C library for Unicode support to our humble source tree. May our marriage be long, happy and fertile. added nls/3rdparty/icu4ros.rbuild added nls/dll added nls/dll/normaliz_redist added nls/dll/normaliz_redist/normaliz.cpp added nls/dll/normaliz_redist/normaliz.def added nls/dll/normaliz_redist/normaliz_redist.rbuild added nls/lib added nls/lib/normalize added nls/lib/normalize/normalize.cpp added nls/lib/normalize/normalize.rbuild added nls/nls.rbuild modified ReactOS-generic.rbuild Incomplete implementation of the redistributable normaliz.dll DLL for Unicode normalization, as a technical preview of what's to come from the use of ICU4C - namely, straightforward, painless implementation of complex algorithms and several megabytes worth of data, with a Win32-compatible interface on top. Currently disabled in the build until basic testing is over. Watch this space for more of the same. Added: trunk/reactos/nls/ trunk/reactos/nls/3rdparty/ trunk/reactos/nls/3rdparty/icu/ - copied from r33686, vendor/icu4c/current/icu/ trunk/reactos/nls/3rdparty/icu4ros.rbuild (with props) trunk/reactos/nls/dll/ trunk/reactos/nls/dll/normaliz_redist/ trunk/reactos/nls/dll/normaliz_redist/normaliz.cpp (with props) trunk/reactos/nls/dll/normaliz_redist/normaliz.def (with props) trunk/reactos/nls/dll/normaliz_redist/normaliz_redist.rbuild (with props) trunk/reactos/nls/lib/ trunk/reactos/nls/lib/normalize/ trunk/reactos/nls/lib/normalize/normalize.cpp (with props) trunk/reactos/nls/lib/normalize/normalize.rbuild (with props) trunk/reactos/nls/nls.rbuild (with props) Modified: trunk/reactos/ReactOS-generic.rbuild trunk/reactos/include/psdk/winnls.h Modified: trunk/reactos/ReactOS-generic.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ReactOS-generic.rbuild?rev…
============================================================================== --- trunk/reactos/ReactOS-generic.rbuild [iso-8859-1] (original) +++ trunk/reactos/ReactOS-generic.rbuild [iso-8859-1] Sun May 25 16:00:08 2008 @@ -58,6 +58,9 @@ <directory name="modules"> <xi:include href="modules/directory.rbuild" /> </directory> + <!--<directory name="nls"> + <xi:include href="nls/nls.rbuild" /> + </directory>--> <directory name="ntoskrnl"> <xi:include href="ntoskrnl/ntoskrnl.rbuild" /> <!-- <xi:include href="ntoskrnl/ntkrnlmp.rbuild" /> --> Modified: trunk/reactos/include/psdk/winnls.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winnls.h?rev=…
============================================================================== --- trunk/reactos/include/psdk/winnls.h [iso-8859-1] (original) +++ trunk/reactos/include/psdk/winnls.h [iso-8859-1] Sun May 25 16:00:08 2008 @@ -543,6 +543,15 @@ LPWSTR lpThousandSep; UINT NegativeOrder; } NUMBERFMTW,*LPNUMBERFMTW; +#if (WINVER >= 0x0600) +typedef enum _NORM_FORM { + NormalizationOther = 0, + NormalizationC = 0x1, + NormalizationD = 0x2, + NormalizationKC = 0x5, + NormalizationKD = 0x6 +} NORM_FORM; +#endif /* (WINVER >= 0x0600) */ int WINAPI CompareStringA(LCID,DWORD,LPCSTR,int,LPCSTR,int); int WINAPI CompareStringW(LCID,DWORD,LPCWSTR,int,LPCWSTR,int); @@ -623,6 +632,10 @@ LANGID WINAPI GetUserDefaultUILanguage(void); BOOL WINAPI IsValidLanguageGroup(LGRPID,DWORD); #endif /* (WINVER >= 0x0500) */ +#if (WINVER >= 0x0600) +int WINAPI NormalizeString(NORM_FORM,LPCWSTR,int,LPWSTR,int); +BOOL WINAPI IsNormalizedString(NORM_FORM,LPCWSTR,int); +#endif /* (WINVER >= 0x0600) */ #ifdef UNICODE #define CALINFO_ENUMPROC CALINFO_ENUMPROCW @@ -661,11 +674,11 @@ #define SetCalendarInfo SetCalendarInfoW #define SetLocaleInfo SetLocaleInfoW #if (WINVER >= 0x0500) -#define EnumCalendarInfoEx EnumCalendarInfoExW; -#define EnumDateFormatsEx EnumDateFormatsExW; -#define EnumSystemLanguageGroups EnumSystemLanguageGroupsW; -#define EnumLanguageGroupLocales EnumLanguageGroupLocalesW; -#define EnumUILanguages EnumUILanguagesW; +#define EnumCalendarInfoEx EnumCalendarInfoExW +#define EnumDateFormatsEx EnumDateFormatsExW +#define EnumSystemLanguageGroups EnumSystemLanguageGroupsW +#define EnumLanguageGroupLocales EnumLanguageGroupLocalesW +#define EnumUILanguages EnumUILanguagesW #endif /* (WINVER >= 0x0500) */ #else #define CALINFO_ENUMPROC CALINFO_ENUMPROCA @@ -704,11 +717,11 @@ #define SetCalendarInfo SetCalendarInfoA #define SetLocaleInfo SetLocaleInfoA #if (WINVER >= 0x0500) -#define EnumCalendarInfoEx EnumCalendarInfoExA; -#define EnumDateFormatsEx EnumDateFormatsExA; -#define EnumSystemLanguageGroups EnumSystemLanguageGroupsA; -#define EnumLanguageGroupLocales EnumLanguageGroupLocalesA; -#define EnumUILanguages EnumUILanguagesA; +#define EnumCalendarInfoEx EnumCalendarInfoExA +#define EnumDateFormatsEx EnumDateFormatsExA +#define EnumSystemLanguageGroups EnumSystemLanguageGroupsA +#define EnumLanguageGroupLocales EnumLanguageGroupLocalesA +#define EnumUILanguages EnumUILanguagesA #endif /* (WINVER >= 0x0500) */ #endif /* UNICODE */ #endif /* RC_INVOKED */ Added: trunk/reactos/nls/3rdparty/icu4ros.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/nls/3rdparty/icu4ros.rbuil…
============================================================================== --- trunk/reactos/nls/3rdparty/icu4ros.rbuild (added) +++ trunk/reactos/nls/3rdparty/icu4ros.rbuild [iso-8859-1] Sun May 25 16:00:08 2008 @@ -1,0 +1,41 @@ +<?xml version="1.0"?> +<!DOCTYPE module SYSTEM "../../tools/rbuild/project.dtd"> +<module name="icu4ros" type="staticlibrary" allowwarnings="true"> + <define name="U_STATIC_IMPLEMENTATION" /> + <define name="U_HAVE_INTTYPES_H" /> + <compilerflag>-fno-exceptions</compilerflag> + <compilerflag>-fno-rtti</compilerflag> + <include base="icu4ros">icu/source/common</include> + <directory name="icu"> + <directory name="source"> + <directory name="common"> + <file>bmpset.cpp</file> + <file>uhash_us.cpp</file> + <file>uiter.cpp</file> + <file>unifilt.cpp</file> + <file>unifunct.cpp</file> + <file>uniset.cpp</file> + <file>unisetspan.cpp</file> + <file>unistr.cpp</file> + <file>unorm.cpp</file> + <file>uobject.cpp</file> + <file>uset.cpp</file> + <file>util.cpp</file> + <file>uvector.cpp</file> + <file>cmemory.c</file> + <file>cstring.c</file> + <file>ucln_cmn.c</file> + <file>udata.c</file> + <file>udataswp.c</file> + <file>uhash.c</file> + <file>uinvchar.c</file> + <file>umath.c</file> + <file>umutex.c</file> + <file>ustring.c</file> + <file>ustrtrns.c</file> + <file>utf_impl.c</file> + <file>utrie.c</file> + </directory> + </directory> + </directory> +</module> Propchange: trunk/reactos/nls/3rdparty/icu4ros.rbuild ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/nls/dll/normaliz_redist/normaliz.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/nls/dll/normaliz_redist/no…
============================================================================== --- trunk/reactos/nls/dll/normaliz_redist/normaliz.cpp (added) +++ trunk/reactos/nls/dll/normaliz_redist/normaliz.cpp [iso-8859-1] Sun May 25 16:00:08 2008 @@ -1,0 +1,40 @@ +// FIXME: clean up this mess + +#ifndef _DEBUG +#include <stdlib.h> + +#define WIN32_LEAN_AND_MEAN +#include <windows.h> + +void free(void * memory) +{ + HeapFree(GetProcessHeap(), 0, memory); +} + +void * malloc(size_t size) +{ + return HeapAlloc(GetProcessHeap(), 0, size); +} + +void * realloc(void * memory, size_t size) +{ + return HeapReAlloc(GetProcessHeap(), 0, memory, size); +} + +void operator delete(void * memory) +{ + free(memory); +} + +extern "C" int __cdecl _purecall() +{ + FatalAppExitW(0, L"pure virtual call"); + FatalExit(0); + return 0; +} + +extern "C" void __cxa_pure_virtual() { _purecall(); } + +#endif + +// EOF Propchange: trunk/reactos/nls/dll/normaliz_redist/normaliz.cpp ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/nls/dll/normaliz_redist/normaliz.def URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/nls/dll/normaliz_redist/no…
============================================================================== --- trunk/reactos/nls/dll/normaliz_redist/normaliz.def (added) +++ trunk/reactos/nls/dll/normaliz_redist/normaliz.def [iso-8859-1] Sun May 25 16:00:08 2008 @@ -1,0 +1,5 @@ +LIBRARY "normaliz" + +EXPORTS + NormalizeString=NormalizeString@20 + IsNormalizedString=IsNormalizedString@12 Propchange: trunk/reactos/nls/dll/normaliz_redist/normaliz.def ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/nls/dll/normaliz_redist/normaliz_redist.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/nls/dll/normaliz_redist/no…
============================================================================== --- trunk/reactos/nls/dll/normaliz_redist/normaliz_redist.rbuild (added) +++ trunk/reactos/nls/dll/normaliz_redist/normaliz_redist.rbuild [iso-8859-1] Sun May 25 16:00:08 2008 @@ -1,0 +1,10 @@ +<?xml version="1.0"?> +<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd"> +<module name="normaliz_redist" type="win32dll" installname="normaliz.dll"> + <library>normalize</library> + <library>icu4ros</library> + <compilerflag>-fno-exceptions</compilerflag> + <compilerflag>-fno-rtti</compilerflag> + <importlibrary definition="normaliz.def" /> + <file>normaliz.cpp</file> +</module> Propchange: trunk/reactos/nls/dll/normaliz_redist/normaliz_redist.rbuild ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/nls/lib/normalize/normalize.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/nls/lib/normalize/normaliz…
============================================================================== --- trunk/reactos/nls/lib/normalize/normalize.cpp (added) +++ trunk/reactos/nls/lib/normalize/normalize.cpp [iso-8859-1] Sun May 25 16:00:08 2008 @@ -1,0 +1,89 @@ +#define WIN32_LEAN_AND_MEAN +#define STRICT + +#define WINVER 0x0600 + +#include <windows.h> +#include <winnls.h> + +#include <unicode/unorm.h> + +static +UNormalizationMode +NORMALIZE_ModeToICU +( + NORM_FORM NormForm +) +{ + switch(NormForm) + { + case NormalizationC: return UNORM_NFC; + case NormalizationD: return UNORM_NFD; + case NormalizationKC: return UNORM_NFKC; + case NormalizationKD: return UNORM_NFKD; + case NormalizationOther: break; + } + + return UNORM_NONE; +} + +static +DWORD +NLS_ErrorFromICU +( + UErrorCode ErrorCode +) +{ + // TODO + return ERROR_GEN_FAILURE; +} + +int +WINAPI +NormalizeString +( + NORM_FORM NormForm, + LPCWSTR lpSrcString, + int cwSrcLength, + LPWSTR lpDstString, + int cwDstLength +) +{ + UErrorCode ErrorCode = U_ZERO_ERROR; + + int retval = unorm_normalize + ( + lpSrcString, + cwSrcLength, + NORMALIZE_ModeToICU(NormForm), + 0, + lpDstString, + cwDstLength, + &ErrorCode + ); + + if(U_FAILURE(ErrorCode)) + SetLastError(NLS_ErrorFromICU(ErrorCode)); + + return retval; +} + +BOOL +WINAPI +IsNormalizedString +( + NORM_FORM NormForm, + LPCWSTR lpString, + int cwLength +) +{ + UErrorCode ErrorCode = U_ZERO_ERROR; + BOOL retval = !!unorm_isNormalized(lpString, cwLength, NORMALIZE_ModeToICU(NormForm), &ErrorCode); + + if(U_FAILURE(ErrorCode)) + SetLastError(NLS_ErrorFromICU(ErrorCode)); + + return retval; +} + +// EOF Propchange: trunk/reactos/nls/lib/normalize/normalize.cpp ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/nls/lib/normalize/normalize.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/nls/lib/normalize/normaliz…
============================================================================== --- trunk/reactos/nls/lib/normalize/normalize.rbuild (added) +++ trunk/reactos/nls/lib/normalize/normalize.rbuild [iso-8859-1] Sun May 25 16:00:08 2008 @@ -1,0 +1,9 @@ +<?xml version="1.0"?> +<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd"> +<module name="normalize" type="staticlibrary"> + <library>icu4ros</library> + <compilerflag>-fno-exceptions</compilerflag> + <compilerflag>-fno-rtti</compilerflag> + <include base="icu4ros">icu/source/common</include> + <file>normalize.cpp</file> +</module> Propchange: trunk/reactos/nls/lib/normalize/normalize.rbuild ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/nls/nls.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/nls/nls.rbuild?rev=33703&v…
============================================================================== --- trunk/reactos/nls/nls.rbuild (added) +++ trunk/reactos/nls/nls.rbuild [iso-8859-1] Sun May 25 16:00:08 2008 @@ -1,0 +1,13 @@ +<?xml version="1.0"?> +<!DOCTYPE group SYSTEM "../tools/rbuild/project.dtd"> +<group xmlns:xi="
http://www.w3.org/2001/XInclude
"> + <directory name="3rdparty"><xi:include href="3rdparty/icu4ros.rbuild" /></directory> + + <directory name="lib"> + <directory name="normalize"><xi:include href="lib/normalize/normalize.rbuild" /></directory> + </directory> + + <directory name="dll"> + <directory name="normaliz_redist"><xi:include href="dll/normaliz_redist/normaliz_redist.rbuild" /></directory> + </directory> +</group> Propchange: trunk/reactos/nls/nls.rbuild ------------------------------------------------------------------------------ svn:eol-style = native
16 years, 5 months
1
0
0
0
[silverblade] 33702: Stub IRP handlers, implement device name construction (eg: \Device\WaveOut0) and creation of device and symbolic DOS device link. Also moved old sndblst out of the way since ultimately we will be known as sndblst.
by silverblade@svn.reactos.org
Author: silverblade Date: Sun May 25 15:30:47 2008 New Revision: 33702 URL:
http://svn.reactos.org/svn/reactos?rev=33702&view=rev
Log: Stub IRP handlers, implement device name construction (eg: \Device\WaveOut0) and creation of device and symbolic DOS device link. Also moved old sndblst out of the way since ultimately we will be known as sndblst. Added: branches/silverblade-audio/drivers/multimedia/audio/sb16_nt4/devname.c (with props) branches/silverblade-audio/drivers/multimedia/audio/sb16_nt4/main.c (with props) branches/silverblade-audio/drivers/multimedia/audio/sndblst.old/ - copied from r33692, branches/silverblade-audio/drivers/multimedia/audio/sndblst/ Removed: branches/silverblade-audio/drivers/multimedia/audio/sndblst/ Modified: branches/silverblade-audio/drivers/multimedia/audio/sb16_nt4/sb16_nt4.rbuild branches/silverblade-audio/include/ddk/ntddsnd.h Added: branches/silverblade-audio/drivers/multimedia/audio/sb16_nt4/devname.c URL:
http://svn.reactos.org/svn/reactos/branches/silverblade-audio/drivers/multi…
============================================================================== --- branches/silverblade-audio/drivers/multimedia/audio/sb16_nt4/devname.c (added) +++ branches/silverblade-audio/drivers/multimedia/audio/sb16_nt4/devname.c [iso-8859-1] Sun May 25 15:30:47 2008 @@ -1,0 +1,384 @@ +/* + ReactOS Sound System + Device naming & creation helper routines + + Author: + Andrew Greenwood (andrew.greenwood(a)silverblade.co.uk) + + History: + 25 May 2008 - Created +*/ + +#include <ntddk.h> +#include <ntddsnd.h> +#include <debug.h> + +/* + Default device names + + Just to keep things tidy, we define a structure to hold both the \\Device + and \\DosDevices names, and then fill this structure with the default + device names that can be found in NTDDSND.H +*/ + +typedef struct _DEVICE_NAME_GROUP +{ + PCWSTR DeviceName; + PCWSTR DosDeviceName; +} DEVICE_NAME_GROUP; + +DEVICE_NAME_GROUP SoundDeviceNameBodies[6] = +{ + { + DD_WAVE_IN_DEVICE_NAME_U, + DD_WAVE_IN_DOS_DEVICE_NAME_U + }, + { + DD_WAVE_OUT_DEVICE_NAME_U, + DD_WAVE_OUT_DOS_DEVICE_NAME_U + }, + { + DD_MIDI_IN_DEVICE_NAME_U, + DD_MIDI_IN_DOS_DEVICE_NAME_U + }, + { + DD_MIDI_OUT_DEVICE_NAME_U, + DD_MIDI_OUT_DOS_DEVICE_NAME_U + }, + { + DD_MIX_DEVICE_NAME_U, + DD_MIX_DOS_DEVICE_NAME_U + }, + { + DD_AUX_DEVICE_NAME_U, + DD_AUX_DOS_DEVICE_NAME_U + } +}; + + +/* + ConstructDeviceName + + This takes a wide-character string containing the device name body (for + example, "\\Device\\WaveOut") and appends the device index, forming a + string like "\\Device\\WaveOut0", and so on. + + The resulting device name is a unicode string. +*/ + +NTSTATUS +ConstructDeviceName( + IN PCWSTR Path, + IN UCHAR Index, + OUT PUNICODE_STRING DeviceName) +{ + UNICODE_STRING UnicodePath; + UNICODE_STRING UnicodeIndex; + WCHAR IndexStringBuffer[5]; + USHORT Size; + USHORT LastCharacterIndex; + + /* Check for NULL parameters */ + if ( ( ! Path ) || ( ! DeviceName ) ) + { + ERR_(IHVAUDIO, "Unexpected NULL parameter"); + return STATUS_INVALID_PARAMETER; + } + + /* Range-check */ + if ( Index >= SOUND_MAX_DEVICES ) + { + ERR_(IHVAUDIO, "Device index %d out of range", Index); + return STATUS_INVALID_PARAMETER; + } + + /* Initialise the unicode path string */ + RtlInitUnicodeString(&UnicodePath, Path); + + /* Calculate the length to hold the full string */ + Size = UnicodePath.Length + + sizeof(IndexStringBuffer) + + sizeof(UNICODE_NULL); + + /* Allocate memory for DeviceName */ + DeviceName->Buffer = ExAllocatePool(PagedPool, Size); + DeviceName->MaximumLength = Size; + + if ( ! DeviceName->Buffer ) + { + ERR_(IHVAUDIO, "Couldn't allocate memory for device name string"); + return STATUS_INSUFFICIENT_RESOURCES; + } + + /* Copy the path */ + RtlCopyUnicodeString(DeviceName, &UnicodePath); + + /* Convert Index to string and append */ + UnicodeIndex.Buffer = IndexStringBuffer; + UnicodeIndex.MaximumLength = sizeof(IndexStringBuffer); + + RtlIntegerToUnicodeString((ULONG)Index, 10, &UnicodeIndex); + RtlAppendUnicodeStringToString(DeviceName, &UnicodeIndex); + + /* Terminate the string */ + LastCharacterIndex = DeviceName->Length / sizeof(UNICODE_NULL); + DeviceName->Buffer[LastCharacterIndex] = UNICODE_NULL; + + return STATUS_SUCCESS; +} + + +/* + FreeUnicodeStringBuffer + + A small helper routine to free a unicode string buffer, nullify the + buffer and reset the lengths to zero. +*/ + +VOID +FreeUnicodeStringBuffer(IN PUNICODE_STRING String) +{ + ASSERT(String != NULL); + ASSERT(String->Buffer != NULL); + + ExFreePool(String->Buffer); + + String->Buffer = NULL; + String->Length = 0; + String->MaximumLength = 0; +} + + +/* + GetDefaultSoundDeviceNameBodies + + Simply accesses the SoundDeviceNameBodies struct defined earlier and + fills the DeviceNameBody and DosDeviceNameBody parameters accordingly. + + Basically a "safe" way to access the array and perform two assignments + with one call, as this will assign the name and DOS name if a valid + DeviceType is passed, otherwise it will fail with STATUS_INVALID_PARAMETER. +*/ + +NTSTATUS +GetDefaultSoundDeviceNameBodies( + IN UCHAR DeviceType, + OUT PCWSTR* DeviceNameBody, + OUT PCWSTR* DosDeviceNameBody) +{ + ASSERT(DeviceNameBody != NULL); + ASSERT(DosDeviceNameBody != NULL); + + if ( DeviceType > MAX_DEVICE_TYPE ) + { + ERR_(IHVAUDIO, "Invalid device type"); + return STATUS_INVALID_PARAMETER; + } + + *DeviceNameBody = SoundDeviceNameBodies[DeviceType].DeviceName; + *DosDeviceNameBody = SoundDeviceNameBodies[DeviceType].DosDeviceName; + + return STATUS_SUCCESS; +} + + +/* + ConstructSoundDeviceNames + + Given two wide-character strings and a device index, convert these into + two unicode strings with the index appended to the end. + + This is intended for converting a device name and a DOS device name at + the same time. +*/ + +NTSTATUS +ConstructSoundDeviceNames( + IN PCWSTR DeviceNameBody, + IN PCWSTR DosDeviceNameBody, + IN UCHAR Index, + OUT PUNICODE_STRING FullDeviceName, + OUT PUNICODE_STRING FullDosDeviceName) +{ + NTSTATUS Status; + + /* Check for NULL parameters */ + if ( ( ! DeviceNameBody ) || ( ! DosDeviceNameBody ) || + ( ! FullDeviceName ) || ( ! FullDosDeviceName ) ) + { + ERR_(IHVAUDIO, "Unexpected NULL parameter"); + return STATUS_INVALID_PARAMETER; + } + + /* Range-check */ + if ( Index >= SOUND_MAX_DEVICES ) + { + ERR_(IHVAUDIO, "Device %d exceeds maximum", Index); + return STATUS_INVALID_PARAMETER; + } + + Status = ConstructDeviceName(DeviceNameBody, Index, FullDeviceName); + + if ( ! NT_SUCCESS(Status) ) + { + /* No need to clean up on failure here */ + return Status; + } + + Status = ConstructDeviceName(DosDeviceNameBody, Index, FullDosDeviceName); + + if ( ! NT_SUCCESS(Status) ) + { + /* We need to free the string we successfully got earlier */ + FreeUnicodeStringBuffer(FullDeviceName); + return Status; + } + + return STATUS_SUCCESS; +} + + +/* + CreateSoundDevice + + Creates a device and symbolically-links a DOS device to this. Use this + when you want to specify alternative device names to the defaults + (eg: "\\Device\\MySoundDev" rather than "\\Device\\WaveOut") +*/ + +NTSTATUS +CreateSoundDevice( + IN PDRIVER_OBJECT DriverObject, + IN PCWSTR WideDeviceName, + IN PCWSTR WideDosDeviceName, + IN UCHAR Index, + IN ULONG ExtensionSize, + OUT PDEVICE_OBJECT DeviceObject) +{ + NTSTATUS Status; + + UNICODE_STRING DeviceName; + UNICODE_STRING DosDeviceName; + + /* Check for NULL parameters */ + if ( ( ! DriverObject ) || ( ! DeviceObject ) || + ( ! WideDeviceName ) || ( ! WideDosDeviceName ) ) + { + ERR_(IHVAUDIO, "Unexpected NULL parameter"); + return STATUS_INVALID_PARAMETER; + } + + /* Range-check */ + if ( Index >= SOUND_MAX_DEVICES ) + { + ERR_(IHVAUDIO, "Device index %d exceeds maximum", Index); + return STATUS_INVALID_PARAMETER; + } + + /* Construct the device and DOS device names */ + Status = ConstructSoundDeviceNames(WideDeviceName, + WideDosDeviceName, + Index, + &DeviceName, + &DosDeviceName); + + if ( ! NT_SUCCESS(Status) ) + { + return Status; + } + + /* Now create the device */ + Status = IoCreateDevice(DriverObject, + ExtensionSize, + &DeviceName, + FILE_DEVICE_SOUND, + 0, + FALSE, + &DeviceObject); + + if ( ! NT_SUCCESS(Status) ) + { + /* These will have been allocated by ConstructSoundDeviceNames */ + FreeUnicodeStringBuffer(&DeviceName); + FreeUnicodeStringBuffer(&DosDeviceName); + + return Status; + } + + /* Create a symbolic link for the DOS deviec name */ + Status = IoCreateSymbolicLink(&DosDeviceName, &DeviceName); + + if ( ! NT_SUCCESS(Status) ) + { + /* IoDeleteDevice( --- What are we deleting? */ + + /* These will have been allocated by ConstructSoundDeviceNames */ + FreeUnicodeStringBuffer(&DeviceName); + FreeUnicodeStringBuffer(&DosDeviceName); + + return Status; + } + + return STATUS_SUCCESS; +} + + +/* + CreateSoundDeviceWithDefaultName + + Similar to CreateSoundDevice, except this uses the default device names + ("\\Device\\WaveOut" etc.) based on the DeviceType parameter. +*/ + +NTSTATUS +CreateSoundDeviceWithDefaultName( + IN PDRIVER_OBJECT DriverObject, + IN UCHAR DeviceType, + IN UCHAR Index, + IN ULONG ExtensionSize, + OUT PDEVICE_OBJECT DeviceObject) +{ + NTSTATUS Status; + PCWSTR WideDeviceName = NULL; + PCWSTR WideDosDeviceName = NULL; + + /* Check for NULL parameters */ + if ( ( ! DriverObject ) || ( ! DeviceObject ) ) + { + ERR_(IHVAUDIO, "Unexpected NULL parameter"); + return STATUS_INVALID_PARAMETER; + } + + /* Range-check */ + if ( Index >= SOUND_MAX_DEVICES ) + { + ERR_(IHVAUDIO, "Device index %d exceeds maximum", Index); + return STATUS_INVALID_PARAMETER; + } + + /* Look-up the default name based on the device type */ + Status = GetDefaultSoundDeviceNameBodies(DeviceType, + &WideDeviceName, + &WideDosDeviceName); + + if ( ! NT_SUCCESS(Status) ) + { + return Status; + } + + /* Go create the device! */ + Status = CreateSoundDevice(DriverObject, + WideDeviceName, + WideDosDeviceName, + Index, + ExtensionSize, + DeviceObject); + + if ( ! NT_SUCCESS(Status) ) + { + /* No clean-up to do */ + return Status; + } + + return STATUS_SUCCESS; +} Propchange: branches/silverblade-audio/drivers/multimedia/audio/sb16_nt4/devname.c ------------------------------------------------------------------------------ svn:eol-style = native Added: branches/silverblade-audio/drivers/multimedia/audio/sb16_nt4/main.c URL:
http://svn.reactos.org/svn/reactos/branches/silverblade-audio/drivers/multi…
============================================================================== --- branches/silverblade-audio/drivers/multimedia/audio/sb16_nt4/main.c (added) +++ branches/silverblade-audio/drivers/multimedia/audio/sb16_nt4/main.c [iso-8859-1] Sun May 25 15:30:47 2008 @@ -1,0 +1,113 @@ +/* + ReactOS Sound System + Sound Blaster / SB Pro / SB 16 driver + NT4 driver model + + Author: + Andrew Greenwood (andrew.greenwood(a)silverblade.co.uk) + + History: + 25 May 2008 - Created +*/ + +#include <ntddk.h> +#include <ntddsnd.h> +#include <debug.h> + +typedef struct _SOUND_BLASTER_EXTENSION +{ + ULONG NothingHereYet; +} SOUND_BLASTER_EXTENSION, *PSOUND_BLASTER_EXTENSION; + + +NTSTATUS STDCALL +CreateSoundBlaster( + IN PDEVICE_OBJECT DeviceObject, + IN PIRP Irp) +{ + Irp->IoStatus.Status = STATUS_SUCCESS; + Irp->IoStatus.Information = 0; + + IoCompleteRequest(Irp, IO_NO_INCREMENT); + + return STATUS_SUCCESS; +} + +NTSTATUS STDCALL +CloseSoundBlaster( + IN PDEVICE_OBJECT DeviceObject, + IN PIRP Irp) +{ + Irp->IoStatus.Status = STATUS_SUCCESS; + Irp->IoStatus.Information = 0; + + IoCompleteRequest(Irp, IO_NO_INCREMENT); + + return STATUS_SUCCESS; +} + +NTSTATUS STDCALL +CleanupSoundBlaster( + IN PDEVICE_OBJECT DeviceObject, + IN PIRP Irp) +{ + Irp->IoStatus.Status = STATUS_SUCCESS; + Irp->IoStatus.Information = 0; + + IoCompleteRequest(Irp, IO_NO_INCREMENT); + + return STATUS_SUCCESS; +} + +NTSTATUS STDCALL +ControlSoundBlaster( + IN PDEVICE_OBJECT DeviceObject, + IN PIRP Irp) +{ + Irp->IoStatus.Status = STATUS_SUCCESS; + Irp->IoStatus.Information = 0; + + IoCompleteRequest(Irp, IO_NO_INCREMENT); + + return STATUS_SUCCESS;} + +NTSTATUS STDCALL +WriteSoundBlaster( + IN PDEVICE_OBJECT DeviceObject, + IN PIRP Irp) +{ + Irp->IoStatus.Status = STATUS_SUCCESS; + Irp->IoStatus.Information = 0; + + IoCompleteRequest(Irp, IO_NO_INCREMENT); + + return STATUS_SUCCESS;} + +VOID STDCALL +UnloadSoundBlaster( + IN PDRIVER_OBJECT DriverObject) +{ + INFO_(IHVAUDIO, "Sound Blaster driver being unloaded"); +} + +NTSTATUS STDCALL +DriverEntry( + IN PDRIVER_OBJECT DriverObject, + IN PUNICODE_STRING RegistryPath) +{ + NTSTATUS status; + + INFO_(IHVAUDIO, "Sound Blaster driver (NT4 model) by Silver Blade"); + + DriverObject->Flags = 0; + + DriverObject->MajorFunction[IRP_MJ_CREATE] = CreateSoundBlaster; + DriverObject->MajorFunction[IRP_MJ_CLOSE] = CloseSoundBlaster; + DriverObject->MajorFunction[IRP_MJ_CLEANUP] = CleanupSoundBlaster; + DriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL] = ControlSoundBlaster; + DriverObject->MajorFunction[IRP_MJ_WRITE] = WriteSoundBlaster; + DriverObject->DriverUnload = UnloadSoundBlaster; + + return STATUS_SUCCESS; +} + Propchange: branches/silverblade-audio/drivers/multimedia/audio/sb16_nt4/main.c ------------------------------------------------------------------------------ eol-style = native Propchange: branches/silverblade-audio/drivers/multimedia/audio/sb16_nt4/main.c ------------------------------------------------------------------------------ svn:eol-style = native Modified: branches/silverblade-audio/drivers/multimedia/audio/sb16_nt4/sb16_nt4.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/silverblade-audio/drivers/multi…
============================================================================== --- branches/silverblade-audio/drivers/multimedia/audio/sb16_nt4/sb16_nt4.rbuild [iso-8859-1] (original) +++ branches/silverblade-audio/drivers/multimedia/audio/sb16_nt4/sb16_nt4.rbuild [iso-8859-1] Sun May 25 15:30:47 2008 @@ -7,4 +7,5 @@ <library>ntoskrnl</library> <library>hal</library> <file>test.c</file> + <file>devname.c</file> </module> Modified: branches/silverblade-audio/include/ddk/ntddsnd.h URL:
http://svn.reactos.org/svn/reactos/branches/silverblade-audio/include/ddk/n…
============================================================================== --- branches/silverblade-audio/include/ddk/ntddsnd.h [iso-8859-1] (original) +++ branches/silverblade-audio/include/ddk/ntddsnd.h [iso-8859-1] Sun May 25 15:30:47 2008 @@ -15,6 +15,10 @@ Should you have an unstoppable urge to build an NT4 multimedia driver against these headers, just create the other files listed above and make them #include this one. + + There are also a number of additional enhancements within this file + not found in the originals (such as DOS device name strings and device + type IDs). */ #ifndef NTDDWAVE @@ -24,6 +28,20 @@ /* + Device types + (not part of the original DDK header) +*/ + +#define WAVE_IN_DEVICE_TYPE 0 +#define WAVE_OUT_DEVICE_TYPE 1 +#define MIDI_IN_DEVICE_TYPE 2 +#define MIDI_OUT_DEVICE_TYPE 3 +#define MIXER_DEVICE_TYPE 4 +#define AUX_DEVICE_TYPE 5 +#define MAX_DEVICE_TYPE AUX_DEVICE_TYPE + + +/* Base device names Each device name should be given a numerical suffix identifying that @@ -33,25 +51,37 @@ \Device\WaveOut1 - Second wave output device */ -#define SOUND_MAX_DEVICE_NAME 80 - -#define DD_WAVE_IN_DEVICE_NAME "\\Device\\WaveIn" -#define DD_WAVE_IN_DEVICE_NAME_U L"\\Device\\WaveIn" - -#define DD_WAVE_OUT_DEVICE_NAME "\\Device\\WaveOut" -#define DD_WAVE_OUT_DEVICE_NAME_U L"\\Device\\WaveOut" - -#define DD_MIDI_IN_DEVICE_NAME "\\Device\\MidiIn" -#define DD_MIDI_IN_DEVICE_NAME_U L"\\Device\\MidiIn" - -#define DD_MIDI_OUT_DEVICE_NAME "\\Device\\MidiOut" -#define DD_MIDI_OUT_DEVICE_NAME_U L"\\Device\\MidiOut" - -#define DD_MIX_DEVICE_NAME "\\Device\\MMMix" -#define DD_MIX_DEVICE_NAME_U L"\\Device\\MMMix" - -#define DD_AUX_DEVICE_NAME "\\Device\\MMAux" -#define DD_AUX_DEVICE_NAME_U L"\\Device\\MMAux" +#define SOUND_MAX_DEVICE_NAME 80 + +#define DD_WAVE_IN_DEVICE_NAME "\\Device\\WaveIn" +#define DD_WAVE_IN_DEVICE_NAME_U L"\\Device\\WaveIn" +#define DD_WAVE_IN_DOS_DEVICE_NAME "\\DosDevices\\WaveIn" +#define DD_WAVE_IN_DOS_DEVICE_NAME_U L"\\DosDevices\\WaveIn" + +#define DD_WAVE_OUT_DEVICE_NAME "\\Device\\WaveOut" +#define DD_WAVE_OUT_DEVICE_NAME_U L"\\Device\\WaveOut" +#define DD_WAVE_OUT_DOS_DEVICE_NAME "\\DosDevices\\WaveOut" +#define DD_WAVE_OUT_DOS_DEVICE_NAME_U L"\\DosDevices\\WaveOut" + +#define DD_MIDI_IN_DEVICE_NAME "\\Device\\MidiIn" +#define DD_MIDI_IN_DEVICE_NAME_U L"\\Device\\MidiIn" +#define DD_MIDI_IN_DOS_DEVICE_NAME "\\DosDevices\\MidiIn" +#define DD_MIDI_IN_DOS_DEVICE_NAME_U L"\\DosDevices\\MidiIn" + +#define DD_MIDI_OUT_DEVICE_NAME "\\Device\\MidiOut" +#define DD_MIDI_OUT_DEVICE_NAME_U L"\\Device\\MidiOut" +#define DD_MIDI_OUT_DOS_DEVICE_NAME "\\DosDevices\\MidiOut" +#define DD_MIDI_OUT_DOS_DEVICE_NAME_U L"\\DosDevices\\MidiOut" + +#define DD_MIX_DEVICE_NAME "\\Device\\MMMix" +#define DD_MIX_DEVICE_NAME_U L"\\Device\\MMMix" +#define DD_MIX_DOS_DEVICE_NAME "\\DosDevices\\MMMix" +#define DD_MIX_DOS_DEVICE_NAME_U L"\\DosDevices\\MMMix" + +#define DD_AUX_DEVICE_NAME "\\Device\\MMAux" +#define DD_AUX_DEVICE_NAME_U L"\\Device\\MMAux" +#define DD_AUX_DOS_DEVICE_NAME "\\DosDevices\\MMAux" +#define DD_AUX_DOS_DEVICE_NAME_U L"\\DosDevices\\MMAux" /* Base control codes
16 years, 5 months
1
0
0
0
[greatlrd] 33701: implement LpkDllInitialize for lpk
by greatlrd@svn.reactos.org
Author: greatlrd Date: Sun May 25 12:52:28 2008 New Revision: 33701 URL:
http://svn.reactos.org/svn/reactos?rev=33701&view=rev
Log: implement LpkDllInitialize for lpk Modified: trunk/reactos/dll/win32/lpk/dllmain.c trunk/reactos/dll/win32/lpk/ros_lpk.h Modified: trunk/reactos/dll/win32/lpk/dllmain.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lpk/dllmain.c?re…
============================================================================== --- trunk/reactos/dll/win32/lpk/dllmain.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/lpk/dllmain.c [iso-8859-1] Sun May 25 12:52:28 2008 @@ -21,7 +21,7 @@ LPVOID lpReserved) { - return TRUE; + return LpkDllInitialize(hDll,dwReason,lpReserved); } BOOL @@ -31,5 +31,18 @@ DWORD dwReason, LPVOID lpReserved) { - return DllMain(hDll,dwReason,lpReserved); + switch(dwReason) + { + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls(hDll); + /* Tell usp10 it is activated usp10 */ + LpkPresent(); + break; + + default: + break; + } + + return TRUE; } + Modified: trunk/reactos/dll/win32/lpk/ros_lpk.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lpk/ros_lpk.h?re…
============================================================================== --- trunk/reactos/dll/win32/lpk/ros_lpk.h [iso-8859-1] (original) +++ trunk/reactos/dll/win32/lpk/ros_lpk.h [iso-8859-1] Sun May 25 12:52:28 2008 @@ -10,6 +10,9 @@ #include <windows.h> #include <ndk/ntndk.h> + +/* FIXME USP10 api that does not have prototype in any include file */ +VOID WINAPI LpkPresent(); /* FIXME move _LPK_LPEDITCONTROL_LIST to global place so user32 can access it */ typedef struct _LPK_LPEDITCONTROL_LIST
16 years, 5 months
1
0
0
0
← Newer
1
...
6
7
8
9
10
11
12
...
59
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Results per page:
10
25
50
100
200