Sync to Wine-20050930:
Francois Gouget <fgouget(a)free.fr>
- Fix .spec declarations for functinos with 64bit arguments (reported by
winapi_check).
Stefan Leichter <Stefan.Leichter(a)camLine.com>
- Added version resource to shlwapi.dll.
Alexandre Julliard <julliard(a)winehq.org>
- Remove the 'L' suffix on a number of constants to avoid comparison
errors on 64-bit platforms.
- Take into account -noname functions when checking for duplicate export
names. Fixed a couple of issues found by the stricter check.
- Specify 64-bit integers as double instead of long long in spec files
so that we get the correct number of arguments.
- We are no longer generating .dbg.c files.
Dmitry Timoshkov <dmitry(a)codeweavers.com>
- Fix the usage of COLOR_xxx constants in the place of the window's
class hbrBackground.
Alexander N. Sørnes <alex(a)thehandofagony.com>
- Added Norwegian translations.
Marcus Meissner <marcus(a)jet.franken.de>
- The last argument to MultiByteToWideChar is wide character count and
not the buffer size in bytes. Fixed all places where it was wrong.
Modified: trunk/reactos/lib/shlwapi/clist.c
Modified: trunk/reactos/lib/shlwapi/ordinal.c
Modified: trunk/reactos/lib/shlwapi/reg.c
Modified: trunk/reactos/lib/shlwapi/shlwapi.rc
Modified: trunk/reactos/lib/shlwapi/shlwapi.spec
Modified: trunk/reactos/lib/shlwapi/shlwapi_De.rc
Modified: trunk/reactos/lib/shlwapi/shlwapi_En.rc
Modified: trunk/reactos/lib/shlwapi/shlwapi_Es.rc
Modified: trunk/reactos/lib/shlwapi/shlwapi_It.rc
Modified: trunk/reactos/lib/shlwapi/shlwapi_Ja.rc
Modified: trunk/reactos/lib/shlwapi/shlwapi_Nl.rc
Added: trunk/reactos/lib/shlwapi/shlwapi_No.rc
Modified: trunk/reactos/lib/shlwapi/shlwapi_Pt.rc
Modified: trunk/reactos/lib/shlwapi/shlwapi_Sv.rc
Modified: trunk/reactos/lib/shlwapi/string.c
Added: trunk/reactos/lib/shlwapi/version.rc
_____
Modified: trunk/reactos/lib/shlwapi/clist.c
--- trunk/reactos/lib/shlwapi/clist.c 2005-10-08 19:29:20 UTC (rev
18355)
+++ trunk/reactos/lib/shlwapi/clist.c 2005-10-08 19:30:16 UTC (rev
18356)
@@ -40,7 +40,7 @@
typedef const SHLWAPI_CLIST* LPCSHLWAPI_CLIST;
/* ulId for contained SHLWAPI_CLIST items */
-#define CLIST_ID_CONTAINER (~0UL)
+#define CLIST_ID_CONTAINER (~0U)
HRESULT WINAPI SHAddDataBlock(LPSHLWAPI_CLIST*,LPCSHLWAPI_CLIST);
_____
Modified: trunk/reactos/lib/shlwapi/ordinal.c
--- trunk/reactos/lib/shlwapi/ordinal.c 2005-10-08 19:29:20 UTC (rev
18355)
+++ trunk/reactos/lib/shlwapi/ordinal.c 2005-10-08 19:30:16 UTC (rev
18356)
@@ -2593,7 +2593,7 @@
wc.hInstance = shlwapi_hInstance;
wc.hIcon = NULL;
wc.hCursor = LoadCursorA(NULL, (LPSTR)IDC_ARROW);
- wc.hbrBackground = (HBRUSH)COLOR_BTNSHADOW;
+ wc.hbrBackground = (HBRUSH)(COLOR_BTNFACE + 1);
wc.lpszMenuName = NULL;
wc.lpszClassName = szClass;
@@ -2880,7 +2880,7 @@
wc.hInstance = shlwapi_hInstance;
wc.hIcon = NULL;
wc.hCursor = LoadCursorW(NULL, (LPWSTR)IDC_ARROW);
- wc.hbrBackground = (HBRUSH)COLOR_BTNSHADOW;
+ wc.hbrBackground = (HBRUSH)(COLOR_BTNFACE + 1);
wc.lpszMenuName = NULL;
wc.lpszClassName = szClass;
_____
Modified: trunk/reactos/lib/shlwapi/reg.c
--- trunk/reactos/lib/shlwapi/reg.c 2005-10-08 19:29:20 UTC (rev
18355)
+++ trunk/reactos/lib/shlwapi/reg.c 2005-10-08 19:30:16 UTC (rev
18356)
@@ -134,7 +134,7 @@
/* Create internal HUSKEY */
hKey = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY,
sizeof(*hKey));
- lstrcpynW(hKey->lpszPath, Path, sizeof(hKey->lpszPath));
+ lstrcpynW(hKey->lpszPath, Path,
sizeof(hKey->lpszPath)/sizeof(WCHAR));
if (hRelativeUSKey)
{
_____
Modified: trunk/reactos/lib/shlwapi/shlwapi.rc
--- trunk/reactos/lib/shlwapi/shlwapi.rc 2005-10-08 19:29:20 UTC
(rev 18355)
+++ trunk/reactos/lib/shlwapi/shlwapi.rc 2005-10-08 19:30:16 UTC
(rev 18356)
@@ -1,34 +1,37 @@
-/*
- * Top level resource file for shlwapi
- *
- * Copyright 2004 Jon Griffiths
- *
- * 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 "windef.h"
-#include "winbase.h"
-#include "winuser.h"
-#include "resource.h"
-
-#include "shlwapi_De.rc"
-#include "shlwapi_En.rc"
-#include "shlwapi_Es.rc"
-#include "shlwapi_Nl.rc"
-#include "shlwapi_It.rc"
-#include "shlwapi_Ja.rc"
-#include "shlwapi_Pl.rc"
-#include "shlwapi_Pt.rc"
-#include "shlwapi_Sv.rc"
+/*
+ * Top level resource file for shlwapi
+ *
+ * Copyright 2004 Jon Griffiths
+ *
+ * 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 "windef.h"
+#include "winbase.h"
+#include "winuser.h"
+#include "resource.h"
+
+#include "version.rc"
+
+#include "shlwapi_De.rc"
+#include "shlwapi_En.rc"
+#include "shlwapi_Es.rc"
+#include "shlwapi_Nl.rc"
+#include "shlwapi_No.rc"
+#include "shlwapi_It.rc"
+#include "shlwapi_Ja.rc"
+#include "shlwapi_Pl.rc"
+#include "shlwapi_Pt.rc"
+#include "shlwapi_Sv.rc"
Property changes on: trunk/reactos/lib/shlwapi/shlwapi.rc
___________________________________________________________________
Name: svn:eol-style
+ native
_____
Modified: trunk/reactos/lib/shlwapi/shlwapi.spec
--- trunk/reactos/lib/shlwapi/shlwapi.spec 2005-10-08 19:29:20 UTC
(rev 18355)
+++ trunk/reactos/lib/shlwapi/shlwapi.spec 2005-10-08 19:30:16 UTC
(rev 18356)
@@ -546,7 +546,7 @@
550 stub -noname GetTemplateInfoFromHandle
551 stub -noname IShellFolder_CompareIDs
-@ stdcall AssocCreate(long long long long ptr ptr)
+@ stdcall AssocCreate(double double ptr ptr)
@ stdcall AssocIsDangerous(long)
@ stdcall AssocQueryKeyA(long long str ptr ptr)
@ stdcall AssocQueryKeyW(long long wstr ptr ptr)
@@ -768,11 +768,11 @@
@ stdcall StrCpyW (ptr wstr)
@ stdcall StrDupA (str)
@ stdcall StrDupW (wstr)
-@ stdcall StrFormatByteSize64A(long long ptr long)
+@ stdcall StrFormatByteSize64A(double ptr long)
@ stdcall StrFormatByteSizeA(long ptr long)
-@ stdcall StrFormatByteSizeW(long long ptr long)
-@ stdcall StrFormatKBSizeA(long long str long)
-@ stdcall StrFormatKBSizeW(long long wstr long)
+@ stdcall StrFormatByteSizeW(double ptr long)
+@ stdcall StrFormatKBSizeA(double str long)
+@ stdcall StrFormatKBSizeW(double wstr long)
@ stdcall StrFromTimeIntervalA(ptr long long long)
@ stdcall StrFromTimeIntervalW(ptr long long long)
@ stdcall StrIsIntlEqualA(long str str long)
_____
Modified: trunk/reactos/lib/shlwapi/shlwapi_De.rc
--- trunk/reactos/lib/shlwapi/shlwapi_De.rc 2005-10-08 19:29:20 UTC
(rev 18355)
+++ trunk/reactos/lib/shlwapi/shlwapi_De.rc 2005-10-08 19:30:16 UTC
(rev 18356)
@@ -1,35 +1,35 @@
-/*
- * German resources for shlwapi
- *
- * Copyright 2004 Henning Gerhardt
- *
- * 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
- */
-
-LANGUAGE LANG_GERMAN, SUBLANG_DEFAULT
-
-IDD_ERR_DIALOG DIALOG MOVEABLE DISCARDABLE 0, 0, 220, 60
-STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "Fehler!"
-FONT 8, "MS Shell Dlg"
-{
- LTEXT "", IDS_ERR_USER_MSG2, 15, 5, 28, 20
- LTEXT "", IDS_ERR_USER_MSG, 15, 5, 210, 8
- CHECKBOX "&Diesen Dialog nicht mehr anzeigen", IDC_ERR_DONT_SHOW, 5,
20, 210, 10, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&OK" IDOK, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&Abbrechen" IDCANCEL, 160, 40, 50, 14, WS_GROUP |
WS_TABSTOP
- PUSHBUTTON L"&Ja" IDYES, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&Nein" IDNO, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
-}
+/*
+ * German resources for shlwapi
+ *
+ * Copyright 2004 Henning Gerhardt
+ *
+ * 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
+ */
+
+LANGUAGE LANG_GERMAN, SUBLANG_DEFAULT
+
+IDD_ERR_DIALOG DIALOG MOVEABLE DISCARDABLE 0, 0, 220, 60
+STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Fehler!"
+FONT 8, "MS Shell Dlg"
+{
+ LTEXT "", IDS_ERR_USER_MSG2, 15, 5, 28, 20
+ LTEXT "", IDS_ERR_USER_MSG, 15, 5, 210, 8
+ CHECKBOX "&Diesen Dialog nicht mehr anzeigen", IDC_ERR_DONT_SHOW, 5,
20, 210, 10, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&OK" IDOK, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&Abbrechen" IDCANCEL, 160, 40, 50, 14, WS_GROUP |
WS_TABSTOP
+ PUSHBUTTON L"&Ja" IDYES, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&Nein" IDNO, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
+}
Property changes on: trunk/reactos/lib/shlwapi/shlwapi_De.rc
___________________________________________________________________
Name: svn:eol-style
+ native
_____
Modified: trunk/reactos/lib/shlwapi/shlwapi_En.rc
--- trunk/reactos/lib/shlwapi/shlwapi_En.rc 2005-10-08 19:29:20 UTC
(rev 18355)
+++ trunk/reactos/lib/shlwapi/shlwapi_En.rc 2005-10-08 19:30:16 UTC
(rev 18356)
@@ -1,35 +1,35 @@
-/*
- * English resources for shlwapi
- *
- * Copyright 2004 Jon Griffiths
- *
- * 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
- */
-
-LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
-
-IDD_ERR_DIALOG DIALOG MOVEABLE DISCARDABLE 0, 0, 220, 60
-STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "Error!"
-FONT 8, "MS Shell Dlg"
-{
- LTEXT "", IDS_ERR_USER_MSG2, 15, 5, 28, 20
- LTEXT "", IDS_ERR_USER_MSG, 15, 5, 210, 8
- CHECKBOX "Don't show me th&is message again", IDC_ERR_DONT_SHOW, 5,
20, 210, 10, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&OK" IDOK, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&Cancel" IDCANCEL, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&Yes" IDYES, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&No" IDNO, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
-}
+/*
+ * English resources for shlwapi
+ *
+ * Copyright 2004 Jon Griffiths
+ *
+ * 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
+ */
+
+LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
+
+IDD_ERR_DIALOG DIALOG MOVEABLE DISCARDABLE 0, 0, 220, 60
+STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Error!"
+FONT 8, "MS Shell Dlg"
+{
+ LTEXT "", IDS_ERR_USER_MSG2, 15, 5, 28, 20
+ LTEXT "", IDS_ERR_USER_MSG, 15, 5, 210, 8
+ CHECKBOX "Don't show me th&is message again", IDC_ERR_DONT_SHOW, 5,
20, 210, 10, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&OK" IDOK, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&Cancel" IDCANCEL, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&Yes" IDYES, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&No" IDNO, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
+}
Property changes on: trunk/reactos/lib/shlwapi/shlwapi_En.rc
___________________________________________________________________
Name: svn:eol-style
+ native
_____
Modified: trunk/reactos/lib/shlwapi/shlwapi_Es.rc
--- trunk/reactos/lib/shlwapi/shlwapi_Es.rc 2005-10-08 19:29:20 UTC
(rev 18355)
+++ trunk/reactos/lib/shlwapi/shlwapi_Es.rc 2005-10-08 19:30:16 UTC
(rev 18356)
@@ -1,35 +1,35 @@
-/*
- * Spanish resources for shlwapi
- *
- * Copyright 2004 JosÚ Manuel Ferrer Ortiz
- *
- * 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
- */
-
-LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
-
-IDD_ERR_DIALOG DIALOG MOVEABLE DISCARDABLE 0, 0, 220, 60
-STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "íError!"
-FONT 8, "MS Shell Dlg"
-{
- LTEXT "", IDS_ERR_USER_MSG2, 15, 5, 28, 20
- LTEXT "", IDS_ERR_USER_MSG, 15, 5, 210, 8
- CHECKBOX "No volver a mostrar este &mensaje", IDC_ERR_DONT_SHOW, 5,
20, 210, 10, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&Aceptar" IDOK, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&Cancelar" IDCANCEL, 160, 40, 50, 14, WS_GROUP |
WS_TABSTOP
- PUSHBUTTON L"&SÝ" IDYES, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&No" IDNO, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
-}
+/*
+ * Spanish resources for shlwapi
+ *
+ * Copyright 2004 JosÚ Manuel Ferrer Ortiz
+ *
+ * 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
+ */
+
+LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
+
+IDD_ERR_DIALOG DIALOG MOVEABLE DISCARDABLE 0, 0, 220, 60
+STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "íError!"
+FONT 8, "MS Shell Dlg"
+{
+ LTEXT "", IDS_ERR_USER_MSG2, 15, 5, 28, 20
+ LTEXT "", IDS_ERR_USER_MSG, 15, 5, 210, 8
+ CHECKBOX "No volver a mostrar este &mensaje", IDC_ERR_DONT_SHOW, 5,
20, 210, 10, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&Aceptar" IDOK, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&Cancelar" IDCANCEL, 160, 40, 50, 14, WS_GROUP |
WS_TABSTOP
+ PUSHBUTTON L"&SÝ" IDYES, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&No" IDNO, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
+}
Property changes on: trunk/reactos/lib/shlwapi/shlwapi_Es.rc
___________________________________________________________________
Name: svn:eol-style
+ native
_____
Modified: trunk/reactos/lib/shlwapi/shlwapi_It.rc
--- trunk/reactos/lib/shlwapi/shlwapi_It.rc 2005-10-08 19:29:20 UTC
(rev 18355)
+++ trunk/reactos/lib/shlwapi/shlwapi_It.rc 2005-10-08 19:30:16 UTC
(rev 18356)
@@ -1,35 +1,35 @@
-/*
- * Italian resources for shlwapi
- *
- * Copyright 2004 Ivan Leo Puoti
- *
- * 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
- */
-
-LANGUAGE LANG_ITALIAN, SUBLANG_DEFAULT
-
-IDD_ERR_DIALOG DIALOG MOVEABLE DISCARDABLE 0, 0, 220, 60
-STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "Errore!"
-FONT 8, "MS Shell Dlg"
-{
- LTEXT "", IDS_ERR_USER_MSG2, 15, 5, 28, 20
- LTEXT "", IDS_ERR_USER_MSG, 15, 5, 210, 8
- CHECKBOX "Non mostrare nuovamente &questo messaggio",
IDC_ERR_DONT_SHOW, 5, 20, 210, 10, BS_AUTOCHECKBOX | WS_GROUP |
WS_TABSTOP
- PUSHBUTTON L"&OK" IDOK, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&Annulla" IDCANCEL, 160, 40, 50, 14, WS_GROUP |
WS_TABSTOP
- PUSHBUTTON L"&Si" IDYES, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&No" IDNO, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
-}
+/*
+ * Italian resources for shlwapi
+ *
+ * Copyright 2004 Ivan Leo Puoti
+ *
+ * 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
+ */
+
+LANGUAGE LANG_ITALIAN, SUBLANG_DEFAULT
+
+IDD_ERR_DIALOG DIALOG MOVEABLE DISCARDABLE 0, 0, 220, 60
+STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Errore!"
+FONT 8, "MS Shell Dlg"
+{
+ LTEXT "", IDS_ERR_USER_MSG2, 15, 5, 28, 20
+ LTEXT "", IDS_ERR_USER_MSG, 15, 5, 210, 8
+ CHECKBOX "Non mostrare nuovamente &questo messaggio",
IDC_ERR_DONT_SHOW, 5, 20, 210, 10, BS_AUTOCHECKBOX | WS_GROUP |
WS_TABSTOP
+ PUSHBUTTON L"&OK" IDOK, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&Annulla" IDCANCEL, 160, 40, 50, 14, WS_GROUP |
WS_TABSTOP
+ PUSHBUTTON L"&Si" IDYES, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&No" IDNO, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
+}
Property changes on: trunk/reactos/lib/shlwapi/shlwapi_It.rc
___________________________________________________________________
Name: svn:eol-style
+ native
_____
Modified: trunk/reactos/lib/shlwapi/shlwapi_Ja.rc
--- trunk/reactos/lib/shlwapi/shlwapi_Ja.rc 2005-10-08 19:29:20 UTC
(rev 18355)
+++ trunk/reactos/lib/shlwapi/shlwapi_Ja.rc 2005-10-08 19:30:16 UTC
(rev 18356)
@@ -1,35 +1,35 @@
-/*
- * Japanese resources for shlwapi
- *
- * Copyright 2004 Hajime Segawa
- *
- * 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
- */
-
-LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
-
-IDD_ERR_DIALOG DIALOG MOVEABLE DISCARDABLE 0, 0, 220, 60
-STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "âGâëü[!"
-FONT 9, "MS UI Gothic"
-{
- LTEXT "", IDS_ERR_USER_MSG2, 15, 5, 28, 20
- LTEXT "", IDS_ERR_USER_MSG, 15, 5, 210, 8
- CHECKBOX "ìíîÒé?é?é?âüâbâZü[âWéò\ĪéÁé?éó(&i)", IDC_ERR_DONT_SHOW, 5,
20, 210, 10, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&OK" IDOK, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"âLâââôâZâï(&C)" IDCANCEL, 160, 40, 50, 14, WS_GROUP |
WS_TABSTOP
- PUSHBUTTON L"é?éó(&Y)" IDYES, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"éóéóéª(&N)" IDNO, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
-}
+/*
+ * Japanese resources for shlwapi
+ *
+ * Copyright 2004 Hajime Segawa
+ *
+ * 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
+ */
+
+LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
+
+IDD_ERR_DIALOG DIALOG MOVEABLE DISCARDABLE 0, 0, 220, 60
+STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "âGâëü[!"
+FONT 9, "MS UI Gothic"
+{
+ LTEXT "", IDS_ERR_USER_MSG2, 15, 5, 28, 20
+ LTEXT "", IDS_ERR_USER_MSG, 15, 5, 210, 8
+ CHECKBOX "ìíîÒé?é?é?âüâbâZü[âWéò\ĪéÁé?éó(&i)", IDC_ERR_DONT_SHOW, 5,
20, 210, 10, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&OK" IDOK, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"âLâââôâZâï(&C)" IDCANCEL, 160, 40, 50, 14, WS_GROUP |
WS_TABSTOP
+ PUSHBUTTON L"é?éó(&Y)" IDYES, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"éóéóéª(&N)" IDNO, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
+}
Property changes on: trunk/reactos/lib/shlwapi/shlwapi_Ja.rc
___________________________________________________________________
Name: svn:eol-style
+ native
_____
Modified: trunk/reactos/lib/shlwapi/shlwapi_Nl.rc
--- trunk/reactos/lib/shlwapi/shlwapi_Nl.rc 2005-10-08 19:29:20 UTC
(rev 18355)
+++ trunk/reactos/lib/shlwapi/shlwapi_Nl.rc 2005-10-08 19:30:16 UTC
(rev 18356)
@@ -1,35 +1,35 @@
-/*
- * Dutch resources for shlwapi
- *
- * Copyright 2004 Hans Leidekker
- *
- * 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
- */
-
-LANGUAGE LANG_DUTCH, SUBLANG_DEFAULT
-
-IDD_ERR_DIALOG DIALOG MOVEABLE DISCARDABLE 0, 0, 220, 60
-STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "Fout!"
-FONT 8, "MS Shell Dlg"
-{
- LTEXT "", IDS_ERR_USER_MSG2, 15, 5, 28, 20
- LTEXT "", IDS_ERR_USER_MSG, 15, 5, 210, 8
- CHECKBOX "Deze boodschap &niet opnieuw tonen", IDC_ERR_DONT_SHOW, 5,
20, 210, 10, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&OK" IDOK, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&Annuleren" IDCANCEL, 160, 40, 50, 14, WS_GROUP |
WS_TABSTOP
- PUSHBUTTON L"&Ja" IDYES, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&Nee" IDNO, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
-}
+/*
+ * Dutch resources for shlwapi
+ *
+ * Copyright 2004 Hans Leidekker
+ *
+ * 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
+ */
+
+LANGUAGE LANG_DUTCH, SUBLANG_DEFAULT
+
+IDD_ERR_DIALOG DIALOG MOVEABLE DISCARDABLE 0, 0, 220, 60
+STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Fout!"
+FONT 8, "MS Shell Dlg"
+{
+ LTEXT "", IDS_ERR_USER_MSG2, 15, 5, 28, 20
+ LTEXT "", IDS_ERR_USER_MSG, 15, 5, 210, 8
+ CHECKBOX "Deze boodschap &niet opnieuw tonen", IDC_ERR_DONT_SHOW, 5,
20, 210, 10, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&OK" IDOK, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&Annuleren" IDCANCEL, 160, 40, 50, 14, WS_GROUP |
WS_TABSTOP
+ PUSHBUTTON L"&Ja" IDYES, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&Nee" IDNO, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
+}
Property changes on: trunk/reactos/lib/shlwapi/shlwapi_Nl.rc
___________________________________________________________________
Name: svn:eol-style
+ native
_____
Copied: trunk/reactos/lib/shlwapi/shlwapi_No.rc (from rev 18354,
vendor/wine/dlls/shlwapi/current/shlwapi_No.rc)
Property changes on: trunk/reactos/lib/shlwapi/shlwapi_No.rc
___________________________________________________________________
Name: svn:keywords + Author Date Id Revision Name: svn:eol-style +
native
_____
Modified: trunk/reactos/lib/shlwapi/shlwapi_Pt.rc
--- trunk/reactos/lib/shlwapi/shlwapi_Pt.rc 2005-10-08 19:29:20 UTC
(rev 18355)
+++ trunk/reactos/lib/shlwapi/shlwapi_Pt.rc 2005-10-08 19:30:16 UTC
(rev 18356)
@@ -1,35 +1,35 @@
-/*
- * Portuguese resources for shlwapi
- *
- * Copyright 2004 Marcelo Duarte
- *
- * 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
- */
-
-LANGUAGE LANG_PORTUGUESE, SUBLANG_DEFAULT
-
-IDD_ERR_DIALOG DIALOG MOVEABLE DISCARDABLE 0, 0, 220, 60
-STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "Erro!"
-FONT 8, "MS Shell Dlg"
-{
- LTEXT "", IDS_ERR_USER_MSG2, 15, 5, 28, 20
- LTEXT "", IDS_ERR_USER_MSG, 15, 5, 210, 8
- CHECKBOX "N?úo &me mostre essa mensagem novamente", IDC_ERR_DONT_SHOW,
5, 20, 210, 10, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&OK" IDOK, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&Cancelar" IDCANCEL, 160, 40, 50, 14, WS_GROUP |
WS_TABSTOP
- PUSHBUTTON L"&Sim" IDYES, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&N?úo" IDNO, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
-}
+/*
+ * Portuguese resources for shlwapi
+ *
+ * Copyright 2004 Marcelo Duarte
+ *
+ * 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
+ */
+
+LANGUAGE LANG_PORTUGUESE, SUBLANG_DEFAULT
+
+IDD_ERR_DIALOG DIALOG MOVEABLE DISCARDABLE 0, 0, 220, 60
+STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Erro!"
+FONT 8, "MS Shell Dlg"
+{
+ LTEXT "", IDS_ERR_USER_MSG2, 15, 5, 28, 20
+ LTEXT "", IDS_ERR_USER_MSG, 15, 5, 210, 8
+ CHECKBOX "N?úo &me mostre essa mensagem novamente", IDC_ERR_DONT_SHOW,
5, 20, 210, 10, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&OK" IDOK, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&Cancelar" IDCANCEL, 160, 40, 50, 14, WS_GROUP |
WS_TABSTOP
+ PUSHBUTTON L"&Sim" IDYES, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&N?úo" IDNO, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
+}
Property changes on: trunk/reactos/lib/shlwapi/shlwapi_Pt.rc
___________________________________________________________________
Name: svn:eol-style
+ native
_____
Modified: trunk/reactos/lib/shlwapi/shlwapi_Sv.rc
--- trunk/reactos/lib/shlwapi/shlwapi_Sv.rc 2005-10-08 19:29:20 UTC
(rev 18355)
+++ trunk/reactos/lib/shlwapi/shlwapi_Sv.rc 2005-10-08 19:30:16 UTC
(rev 18356)
@@ -1,35 +1,35 @@
-/*
- * Swedish resources for shlwapi
- *
- * Copyright 2005 Andreas Bjerkeholt
- *
- * 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
- */
-
-LANGUAGE LANG_SWEDISH, SUBLANG_DEFAULT
-
-IDD_ERR_DIALOG DIALOG MOVEABLE DISCARDABLE 0, 0, 220, 60
-STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
-CAPTION "Fel!"
-FONT 8, "MS Shell Dlg"
-{
- LTEXT "", IDS_ERR_USER_MSG2, 15, 5, 28, 20
- LTEXT "", IDS_ERR_USER_MSG, 15, 5, 210, 8
- CHECKBOX "&Visa inte detta meddelande igen", IDC_ERR_DONT_SHOW, 5, 20,
210, 10, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&OK" IDOK, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&Avbryt" IDCANCEL, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&Ja" IDYES, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
- PUSHBUTTON L"&Nej" IDNO, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
-}
+/*
+ * Swedish resources for shlwapi
+ *
+ * Copyright 2005 Andreas Bjerkeholt
+ *
+ * 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
+ */
+
+LANGUAGE LANG_SWEDISH, SUBLANG_DEFAULT
+
+IDD_ERR_DIALOG DIALOG MOVEABLE DISCARDABLE 0, 0, 220, 60
+STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Fel!"
+FONT 8, "MS Shell Dlg"
+{
+ LTEXT "", IDS_ERR_USER_MSG2, 15, 5, 28, 20
+ LTEXT "", IDS_ERR_USER_MSG, 15, 5, 210, 8
+ CHECKBOX "&Visa inte detta meddelande igen", IDC_ERR_DONT_SHOW, 5, 20,
210, 10, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&OK" IDOK, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&Avbryt" IDCANCEL, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&Ja" IDYES, 105, 40, 50, 14, WS_GROUP | WS_TABSTOP
+ PUSHBUTTON L"&Nej" IDNO, 160, 40, 50, 14, WS_GROUP | WS_TABSTOP
+}
Property changes on: trunk/reactos/lib/shlwapi/shlwapi_Sv.rc
___________________________________________________________________
Name: svn:eol-style
+ native
_____
Modified: trunk/reactos/lib/shlwapi/string.c
--- trunk/reactos/lib/shlwapi/string.c 2005-10-08 19:29:20 UTC (rev
18355)
+++ trunk/reactos/lib/shlwapi/string.c 2005-10-08 19:30:16 UTC (rev
18356)
@@ -1811,7 +1811,7 @@
if (*lppszDest)
{
- MultiByteToWideChar(0, 0, lpszStr, -1, *lppszDest, len);
+ MultiByteToWideChar(0, 0, lpszStr, -1, *lppszDest,
len/sizeof(WCHAR));
hRet = S_OK;
}
else
_____
Copied: trunk/reactos/lib/shlwapi/version.rc (from rev 18354,
vendor/wine/dlls/shlwapi/current/version.rc)
Property changes on: trunk/reactos/lib/shlwapi/version.rc
___________________________________________________________________
Name: svn:keywords + Author Date Id Revision Name: svn:eol-style +
native
basic implementation of zoomin functionality
Modified: trunk/rosapps/devutils/zoomin/framewnd.c
Modified: trunk/rosapps/devutils/zoomin/main.c
Modified: trunk/rosapps/devutils/zoomin/main.h
Deleted: trunk/rosapps/devutils/zoomin/res/small.ico
Modified: trunk/rosapps/devutils/zoomin/zoomin.rc
Property changes on: trunk/rosapps/devutils/zoomin
___________________________________________________________________
Name: svn:ignore
- *.exe
*.o
*.coff
*.dsp
*.dsw
*.aps
*.ncb
*.opt
*.sym
*.plg
*.bak
*.map
*.a
+ *.exe
*.o
*.coff
*.dsp
*.dsw
*.aps
*.ncb
*.opt
*.sym
*.plg
*.bak
*.map
*.a
Debug
Release
_____
Modified: trunk/rosapps/devutils/zoomin/framewnd.c
--- trunk/rosapps/devutils/zoomin/framewnd.c 2005-10-08 19:24:54 UTC
(rev 18354)
+++ trunk/rosapps/devutils/zoomin/framewnd.c 2005-10-08 19:29:20 UTC
(rev 18355)
@@ -1,27 +1,29 @@
/*
- * ReactOS zoomin
+ * ReactOS zoomin
*
- * framewnd.c
+ * framewnd.c
*
- * Copyright (C) 2002 Robert Dickenson <robd(a)reactos.org>
+ * Copyright (C) 2002 Robert Dickenson <robd(a)reactos.org>
+ * Copyright (C) 2005 Martin Fuchs <martin-fuchs(a)gmx.net>
*
- * This program is free software; you can redistribute it and/or
modify
- * it under the terms of the GNU General Public License as published
by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * This program is free software; you can redistribute it and/or
modify
+ * it under the terms of the GNU General Public License as
published by
+ * the Free Software Foundation; either version 2 of the License,
or
+ * (at your option) any later version.
*
- * This program 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 General Public License for more details.
+ * This program 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 General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * You should have received a copy of the GNU General Public
License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from
Windows headers
+#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from
Windows headers
#include <windows.h>
+#include <windowsx.h>
#include <tchar.h>
#include "main.h"
@@ -29,10 +31,14 @@
////////////////////////////////////////////////////////////////////////
////////
-// Global and Local Variables:
+// Global Variables:
//
+static int s_factor = 2; // zoom factor
+static POINT s_srcPos = {0, 0}; // zoom factor
+
+
////////////////////////////////////////////////////////////////////////
////////
// Local module support methods
//
@@ -40,61 +46,117 @@
////////////////////////////////////////////////////////////////////////
////////
//
-// FUNCTION: _CmdWndProc(HWND, unsigned, WORD, LONG)
+// FUNCTION: _CmdWndProc(HWND, unsigned, WORD, LONG)
//
-// PURPOSE: Processes WM_COMMAND messages for the main frame window.
+// PURPOSE: Processes WM_COMMAND messages for the main frame
window.
//
//
static BOOL _CmdWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM
lParam)
{
switch (LOWORD(wParam)) {
- // Parse the menu selections:
- case ID_EDIT_EXIT:
- DestroyWindow(hWnd);
- break;
- case ID_EDIT_COPY:
- case ID_EDIT_REFRESH:
- case ID_OPTIONS_REFRESH_RATE:
- case ID_HELP_ABOUT:
- // TODO:
- break;
- default:
- return FALSE;
- }
+ // Parse the menu selections:
+ case ID_EDIT_EXIT:
+ DestroyWindow(hWnd);
+ break;
+
+ case ID_EDIT_COPY:
+ case ID_EDIT_REFRESH:
+ case ID_OPTIONS_REFRESH_RATE:
+ case ID_HELP_ABOUT:
+ // TODO:
+ break;
+
+ default:
+ return FALSE;
+ }
+
return TRUE;
}
////////////////////////////////////////////////////////////////////////
////////
//
-// FUNCTION: FrameWndProc(HWND, unsigned, WORD, LONG)
+// FUNCTION: FrameWndProc(HWND, unsigned, WORD, LONG)
//
-// PURPOSE: Processes messages for the main frame window.
+// PURPOSE: Processes messages for the main window.
//
-// WM_COMMAND - process the application menu
-// WM_DESTROY - post a quit message and return
-//
-//
LRESULT CALLBACK FrameWndProc(HWND hWnd, UINT message, WPARAM wParam,
LPARAM lParam)
{
- switch (message) {
- case WM_CREATE:
- break;
- case WM_COMMAND:
- if (!_CmdWndProc(hWnd, message, wParam, lParam)) {
- return DefWindowProc(hWnd, message, wParam, lParam);
- }
+ switch (message) {
+ case WM_CREATE:
+ SetTimer(hWnd, 0, 200, NULL); // refresh display all
200 ms
break;
- case WM_SIZE:
- break;
- case WM_TIMER:
- break;
- case WM_DESTROY:
- PostQuitMessage(0);
- default:
- return DefWindowProc(hWnd, message, wParam, lParam);
+
+ case WM_COMMAND:
+ if (!_CmdWndProc(hWnd, message, wParam, lParam)) {
+ return DefWindowProc(hWnd, message, wParam,
lParam);
+ }
+ break;
+
+ case WM_PAINT: {
+ PAINTSTRUCT ps;
+ HDC hdcMem;
+ RECT rect;
+ SIZE size;
+
+ BeginPaint(hWnd, &ps);
+ hdcMem = GetDC(GetDesktopWindow());
+
+ GetClientRect(hWnd, &rect);
+ size.cx = rect.right / s_factor;
+ size.cy = rect.bottom / s_factor;
+
+ StretchBlt(ps.hdc, 0, 0, size.cx*s_factor,
size.cy*s_factor, hdcMem, s_srcPos.x, s_srcPos.y, size.cx, size.cy,
SRCCOPY);
+
+ ReleaseDC(GetDesktopWindow(), hdcMem);
+ EndPaint(hWnd, &ps);
+ break;}
+
+ case WM_TIMER:
+ if (GetCapture() == hWnd) {
+ RECT rect;
+
+ int width = GetSystemMetrics(SM_CXSCREEN);
+ int height = GetSystemMetrics(SM_CYSCREEN);
+
+ GetClientRect(hWnd, &rect);
+
+ GetCursorPos(&s_srcPos);
+
+ s_srcPos.x -= rect.right / s_factor / 2;
+ s_srcPos.y -= rect.bottom / s_factor / 2;
+
+ if (s_srcPos.x < 0)
+ s_srcPos.x = 0;
+ else if (s_srcPos.x+rect.right/s_factor > width)
+ s_srcPos.x = width -
rect.right/s_factor;
+
+ if (s_srcPos.y < 0)
+ s_srcPos.y = 0;
+ else if (s_srcPos.y+rect.bottom/s_factor >
height)
+ s_srcPos.y = height -
rect.bottom/s_factor;
+ }
+
+ InvalidateRect(hWnd, NULL, FALSE);
+ break;
+
+ case WM_LBUTTONDOWN:
+ SetCapture(hWnd);
+ break;
+
+ case WM_LBUTTONUP:
+ ReleaseCapture();
+ break;
+
+ case WM_DESTROY:
+ KillTimer(hWnd, 0);
+ PostQuitMessage(0);
+ break;
+
+ default:
+ return DefWindowProc(hWnd, message, wParam, lParam);
}
+
return 0;
}
-
_____
Modified: trunk/rosapps/devutils/zoomin/main.c
--- trunk/rosapps/devutils/zoomin/main.c 2005-10-08 19:24:54 UTC
(rev 18354)
+++ trunk/rosapps/devutils/zoomin/main.c 2005-10-08 19:29:20 UTC
(rev 18355)
@@ -34,7 +34,6 @@
// Global Variables:
//
-HINSTANCE hInst;
HWND hFrameWnd;
HMENU hMenuFrame;
@@ -44,16 +43,10 @@
////////////////////////////////////////////////////////////////////////
////////
//
-//
// FUNCTION: InitInstance(HANDLE, int)
//
-// PURPOSE: Saves instance handle and creates main window
+// PURPOSE: creates main window
//
-// COMMENTS:
-//
-// In this function, we save the instance handle in a global
variable and
-// create and display the main program window.
-//
BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
{
@@ -66,7 +59,7 @@
hInstance,
LoadIcon(hInstance, MAKEINTRESOURCE(IDI_ZOOMIN)),
LoadCursor(0, IDC_ARROW),
- 0/*hbrBackground*/,
+ 0,//(HBRUSH)(COLOR_BTNFACE+1),
0/*lpszMenuName*/,
szFrameClass,
(HICON)LoadImage(hInstance, MAKEINTRESOURCE(IDI_ZOOMIN),
IMAGE_ICON,
@@ -78,7 +71,7 @@
hFrameWnd = CreateWindowEx(0, (LPCTSTR)(int)hFrameWndClass,
szTitle,
WS_OVERLAPPEDWINDOW | WS_EX_CLIENTEDGE,
- CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
CW_USEDEFAULT,
+ CW_USEDEFAULT, CW_USEDEFAULT, 250, 250,
NULL, hMenuFrame, hInstance, NULL/*lpParam*/);
if (!hFrameWnd) {
@@ -110,13 +103,11 @@
LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
LoadString(hInstance, IDC_ZOOMIN, szFrameClass, MAX_LOADSTRING);
- // Store instance handle in our global variable
- hInst = hInstance;
-
// Perform application initialization:
if (!InitInstance(hInstance, nCmdShow)) {
return FALSE;
}
+
hAccel = LoadAccelerators(hInstance, (LPCTSTR)IDC_ZOOMIN);
// Main message loop:
@@ -129,4 +120,3 @@
ExitInstance();
return msg.wParam;
}
-
_____
Modified: trunk/rosapps/devutils/zoomin/main.h
--- trunk/rosapps/devutils/zoomin/main.h 2005-10-08 19:24:54 UTC
(rev 18354)
+++ trunk/rosapps/devutils/zoomin/main.h 2005-10-08 19:29:20 UTC
(rev 18355)
@@ -31,13 +31,11 @@
#include "resource.h"
#define MAX_LOADSTRING 100
-#define MAX_NAME_LEN 500
////////////////////////////////////////////////////////////////////////
////////
// Global Variables:
//
-extern HINSTANCE hInst;
extern HWND hFrameWnd;
extern HMENU hMenuFrame;
_____
Deleted: trunk/rosapps/devutils/zoomin/res/small.ico
(Binary files differ)
_____
Modified: trunk/rosapps/devutils/zoomin/zoomin.rc
--- trunk/rosapps/devutils/zoomin/zoomin.rc 2005-10-08 19:24:54 UTC
(rev 18354)
+++ trunk/rosapps/devutils/zoomin/zoomin.rc 2005-10-08 19:29:20 UTC
(rev 18355)
@@ -3,7 +3,7 @@
#include <windows.h>
#include "resource.h"
-#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Zoomin by Robert
Dickenson\0"
+#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Zoomin Utility\0"
#define REACTOS_STR_INTERNAL_NAME "zoomin\0"
#define REACTOS_STR_ORIGINAL_FILENAME "zoomin.exe\0"
#include <reactos/version.rc>
@@ -17,7 +17,6 @@
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ZOOMIN ICON DISCARDABLE "res/zoomin.ico"
-IDI_SMALL ICON DISCARDABLE "res/small.ico"
////////////////////////////////////////////////////////////////////////
/////
//
@@ -93,5 +92,3 @@
IDS_APP_TITLE "ReactOS Zoomin"
IDC_ZOOMIN "ZOOMIN"
END
-
-
Bring it up to date.
Modified: trunk/reactos/subsys/system/cmd/todo.txt
_____
Modified: trunk/reactos/subsys/system/cmd/todo.txt
--- trunk/reactos/subsys/system/cmd/todo.txt 2005-10-08 18:07:45 UTC
(rev 18349)
+++ trunk/reactos/subsys/system/cmd/todo.txt 2005-10-08 18:08:17 UTC
(rev 18350)
@@ -1,14 +1,33 @@
Things to do
~~~~~~~~~~~~
-Fix bugs :)
+*Implmenet Set /P
+This is pretty straight forward. When doing this make sure to take
into account the way MS handles "set /A /P foo=5" compared to "set /P /A
foo=5".
-Optimize the code! For size and speed. There are numerous places
-where the code is hardly optimal for either.
+*Compile as unicode
+Not sure what is wrong with it, put probably more then just one thing
blocking this. For sure pipes break when it is compiled as unicode.
-^S and ^Q to pause/resume displays.
+*Move.c code clean up
+It works, but it needs to be cleaned up, the code is long and overly
complex for what it needs to do. Also, we can remove the hack to cover
for MoveFileEx bug as it isnt a bug anymore.
-Improve DEL, COPY and MOVE commands.
+*If rewrite
+It works decent but looks _awful_. Very hard to maintain and/or
understand what the hell is going on.
-Add wildcard support to REN.
+*Decrease Size
+MS cmd is 380 kb, and ROS DBG=0 cmd is 404kb! We need to cut down. I
think the best way to do this is push a lot of repeated code into
misc.c. This is mostly my fault for copying code to all different
commands. And i will try to fix this when i get time.
-And many, many more...
+*Remove Hardcoded buffers
+This is mostly done thanks to Greatlord(cmd.c is the hardest spot that
is left). ANytime when you are handling a string that is taken from the
commandline there should be no limit to the size.
+
+*Implment & and &&
+& runs two commands no matter what.
+&& runs the 2nd command only if the first was a success
+Not sure where to put this code even
+
+*mkdir needs recurvisly create folders
+When doing "mkdir c:\windows\foo\bar\foofoo" where foo, bar, and foofoo
are not folders, it will create all the folders to that a vaild path
+
+*Correct Error checking
+A lot of commands on failure just spit out GetLastError instead of
looking for the real cause. It should give a better output to give at
least some kinda clue what is wrong.
+
+*Reg Testing
+We need more batch files like the one Royce made for "set /a". What
out for if bugs when doing this... could lead to in the wrong direction
when looking for a regression.
\ No newline at end of file