Author: mpiulachs
Date: Wed May 14 12:32:19 2008
New Revision: 33519
URL: http://svn.reactos.org/svn/reactos?rev=33519&view=rev
Log:
- update msiexec version
- add iexplorer
Modified:
trunk/reactos/media/doc/README.WINE
Modified: trunk/reactos/media/doc/README.WINE
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/README.WINE?rev=…
==============================================================================
--- trunk/reactos/media/doc/README.WINE [iso-8859-1] (original)
+++ trunk/reactos/media/doc/README.WINE [iso-8859-1] Wed May 14 12:32:19 2008
@@ -117,11 +117,12 @@
reactos/base/applications/regedit # Out of sync
reactos/base/applications/cmdutils/xcopy # Synced to Wine-0_9_54
reactos/base/system/expand # Out of sync
-reactos/base/system/msiexec # Synced to Wine-20080105
+reactos/base/system/msiexec # Wine 1.0-rc1
reactos/base/applications/winhelp # Synced to Wine-0_9_53
reactos/base/applications/wordpad # Synced to Wine-0_9_53
reactos/modules/rosapps/winefile # Synced to Wine-0_9_53
reactos/base/applications/notepad # Forked at Wine-20041201
+reactos/base/applications/iexplore # Wine 1.0-rc1
In addition the following libs, dlls and source files are mostly based on code ported
from Winehq CVS. If you are looking to update something in these files
Author: sedwards
Date: Wed May 14 12:24:40 2008
New Revision: 33517
URL: http://svn.reactos.org/svn/reactos?rev=33517&view=rev
Log:
Add iexplore from Wine. (Disabled until shdocvw sync)
Added:
trunk/reactos/base/applications/iexplore/
trunk/reactos/base/applications/iexplore/iexplore.rbuild (with props)
trunk/reactos/base/applications/iexplore/main.c (with props)
trunk/reactos/base/applications/iexplore/version.rc (with props)
Modified:
trunk/reactos/base/applications/applications.rbuild
Modified: trunk/reactos/base/applications/applications.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/applicat…
==============================================================================
--- trunk/reactos/base/applications/applications.rbuild [iso-8859-1] (original)
+++ trunk/reactos/base/applications/applications.rbuild [iso-8859-1] Wed May 14 12:24:40 2008
@@ -25,6 +25,11 @@
<directory name="hh">
<xi:include href="hh/hh.rbuild" />
</directory>
+<!--
+ <directory name="iexplore">
+ <xi:include href="iexplore/iexplore.rbuild" />
+ </directory>
+-->
<directory name="kbswitch">
<xi:include href="kbswitch/kbswitch.rbuild" />
</directory>
Added: trunk/reactos/base/applications/iexplore/iexplore.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/iexplore…
==============================================================================
--- trunk/reactos/base/applications/iexplore/iexplore.rbuild (added)
+++ trunk/reactos/base/applications/iexplore/iexplore.rbuild [iso-8859-1] Wed May 14 12:24:40 2008
@@ -1,0 +1,13 @@
+<?xml version="1.0"?>
+<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
+<module name="iexplore" type="win32gui" installbase="system32" installname="iexplore.exe" unicode="no">
+ <include base="iexplore">.</include>
+ <define name="_WIN32_IE">0x0600</define>
+ <define name="_WIN32_WINNT">0x0501</define>
+ <library>kernel32</library>
+ <library>user32</library>
+ <library>gdi32</library>
+ <library>shdocvw</library>
+ <file>main.c</file>
+ <file>version.rc</file>
+</module>
Propchange: trunk/reactos/base/applications/iexplore/iexplore.rbuild
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/base/applications/iexplore/main.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/iexplore…
==============================================================================
--- trunk/reactos/base/applications/iexplore/main.c (added)
+++ trunk/reactos/base/applications/iexplore/main.c [iso-8859-1] Wed May 14 12:24:40 2008
@@ -1,0 +1,28 @@
+/*
+ * Internet Explorer wrapper
+ *
+ * Copyright 2006 Mike McCormack
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#include <windows.h>
+
+extern DWORD WINAPI IEWinMain(LPSTR, int);
+
+int PASCAL WinMain (HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
+{
+ return IEWinMain(cmdline, show);
+}
Propchange: trunk/reactos/base/applications/iexplore/main.c
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/base/applications/iexplore/version.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/iexplore…
==============================================================================
--- trunk/reactos/base/applications/iexplore/version.rc (added)
+++ trunk/reactos/base/applications/iexplore/version.rc [iso-8859-1] Wed May 14 12:24:40 2008
@@ -1,0 +1,27 @@
+/*
+ * Copyright 2003 Francois Gouget (for CodeWeavers)
+ *
+ * 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
+ */
+
+#define WINE_OLESELFREGISTER
+#define WINE_FILEDESCRIPTION_STR "Wine core exe"
+#define WINE_FILENAME_STR "iexplore.exe"
+#define WINE_FILEVERSION 6,0,2900,2180
+#define WINE_FILEVERSION_STR "6.0.2900.2180"
+#define WINE_PRODUCTVERSION 6,0,2900,2180
+#define WINE_PRODUCTVERSION_STR "6.0.2900.2180"
+
+#include "wine/wine_common_ver.rc"
Propchange: trunk/reactos/base/applications/iexplore/version.rc
------------------------------------------------------------------------------
svn:eol-style = native
Author: ekohl
Date: Wed May 14 12:02:17 2008
New Revision: 33516
URL: http://svn.reactos.org/svn/reactos?rev=33516&view=rev
Log:
- Check that the user name does not contain any illegal characters.
- Check that both passwords are the same.
- Limit the maximum user name length to 20 characters.
Modified:
trunk/reactos/dll/cpl/usrmgr/users.c
Modified: trunk/reactos/dll/cpl/usrmgr/users.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/usrmgr/users.c?rev…
==============================================================================
--- trunk/reactos/dll/cpl/usrmgr/users.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/usrmgr/users.c [iso-8859-1] Wed May 14 12:02:17 2008
@@ -10,8 +10,6 @@
/*
* TODO:
* - Add new user to the users group.
- * - Check a new users name for illegal characters.
- * - Check whether both passwords are the same for a new user.
* - Remove a user from all groups.
* - Implement user property pages.
* - Use localized messages.
@@ -56,6 +54,31 @@
return TRUE;
}
+
+
+static BOOL
+CheckUserName(HWND hwndDlg,
+ INT nIdDlgItem)
+{
+ TCHAR szUserName[256];
+ UINT uLen;
+
+ uLen = GetDlgItemText(hwndDlg, nIdDlgItem, szUserName, 256);
+
+ /* Check the user name */
+ if (uLen > 0 && _tcspbrk(szUserName, TEXT("\"*+,/\\:;<=>?[]|")) != NULL)
+ {
+ MessageBox(hwndDlg,
+ TEXT("The user name you entered is invalid! A user name must not contain the following charecters: *+,/:;<=>?[\\]|"),
+ TEXT("ERROR"),
+ MB_OK | MB_ICONERROR);
+ return FALSE;
+ }
+
+
+ return TRUE;
+}
+
INT_PTR CALLBACK
@@ -108,6 +131,7 @@
{
case WM_INITDIALOG:
SetWindowLongPtr(hwndDlg, DWLP_USER, lParam);
+ SendDlgItemMessage(hwndDlg, IDC_USER_NEW_NAME, EM_SETLIMITTEXT, 20, 0);
CheckDlgButton(hwndDlg, IDC_USER_NEW_FORCE_CHANGE, BST_CHECKED);
break;
@@ -123,6 +147,20 @@
break;
case IDOK:
+ if (!CheckUserName(hwndDlg, IDC_USER_NEW_NAME))
+ {
+ SetFocus(GetDlgItem(hwndDlg, IDC_USER_NEW_NAME));
+ SendDlgItemMessage(hwndDlg, IDC_USER_NEW_NAME, EM_SETSEL, 0, -1);
+ break;
+ }
+
+ if (!CheckPasswords(hwndDlg, IDC_USER_NEW_PASSWORD1, IDC_USER_NEW_PASSWORD2))
+ {
+ SetDlgItemText(hwndDlg, IDC_USER_NEW_PASSWORD1, TEXT(""));
+ SetDlgItemText(hwndDlg, IDC_USER_NEW_PASSWORD2, TEXT(""));
+ break;
+ }
+
userInfo = (LPUSER_INFO_3)GetWindowLongPtr(hwndDlg, DWLP_USER);
nLength = SendDlgItemMessage(hwndDlg, IDC_USER_NEW_NAME, WM_GETTEXTLENGTH, 0, 0);