Commit graph

30607 commits

Author SHA1 Message Date
Colin Finck 6efebc63d2 Completely revamped "control.exe":
- Now uses shell32 functions for loading the control panel applets, so that the mutex is used as well (see bug #781)
- Supports all built-in command-line parameters, which are supported by the WinXP version.
  This also added support for opening shell folders.
- Loads other possible parameters from the registry.
- Only passes the command for RunControlPanel to each ListView item, not a whole struct whose members aren't needed later.
- Fixed memory leaks
- Added a header file
- Fixed indentation

This is the last version of the standalone Control Panel.
I will change it to call the Explorer shell folder in my next commit.
See issue #781 for more details.

svn path=/trunk/; revision=33507
2008-05-13 21:30:55 +00:00
Martin Fuchs ce69bc85e4 display available command line options when started with "-?"
svn path=/trunk/; revision=33506
2008-05-13 21:01:09 +00:00
Eric Kohl 016fa01795 - Implement the creation and removal of user accounts.
- User name and passwords are NOT checked upon the creation of a new user account.
- Disable all unimplemented popup menu items.

svn path=/trunk/; revision=33505
2008-05-13 20:55:37 +00:00
Dmitry Chapyshev 381642f247 - Implement "Input language Properties" dialog
svn path=/trunk/; revision=33504
2008-05-13 20:23:23 +00:00
Gregor Brunmar c5465c5668 Hopefully fixes bug #1110. Requested fixed by amine48rz.
See issue #1110 for more details.

svn path=/trunk/; revision=33503
2008-05-13 20:14:30 +00:00
Aleksey Bragin 286385fc87 - Remove a leftover.
svn path=/trunk/; revision=33502
2008-05-13 19:29:20 +00:00
Gregor Brunmar 6d97e286b5 Fixed spelling mistake from previous checkin
svn path=/trunk/; revision=33501
2008-05-13 18:12:08 +00:00
Gregor Brunmar 9736840986 NtUserBuildHwndList() returns NTSTATUS, not ULONG. More correct fix than 33483 to some of the winetest problems. Pass return value as out parameter instead.
svn path=/trunk/; revision=33500
2008-05-13 18:09:08 +00:00
KJK::Hyperion 8efa2c983f Case-sensitivity fix for Linux build hosts. Spotted by Tushar S. (GreyGhost)
svn path=/trunk/; revision=33499
2008-05-13 17:32:19 +00:00
Christoph von Wittich 7aa5ab1e76 add some info for xen to txtmode.cfg
fix a bug rosboot_test.cpp

svn path=/trunk/; revision=33498
2008-05-13 17:30:29 +00:00
Christoph von Wittich 7f477c644a don't display all debug data 4 times when using PipeReader class (spotted by janderwald)
svn path=/trunk/; revision=33497
2008-05-13 17:17:31 +00:00
Johannes Anderwald 74f90fc65a - move hardcoded xen configuration name to config file
svn path=/trunk/; revision=33496
2008-05-13 16:22:31 +00:00
Dmitry Chapyshev df3c1568fa - Update Russian translation
- Small fix mstsc icon

svn path=/trunk/; revision=33495
2008-05-13 13:46:31 +00:00
Marc Piulachs fb898f7d38 - [FORMATTING] replace tabs by spaces
- Modified keyboard layout listbox location to give usetup a more consistent look

svn path=/trunk/; revision=33494
2008-05-13 11:43:39 +00:00
Marc Piulachs 940dd048e1 - fixed and simplified scroll behavior
svn path=/trunk/; revision=33493
2008-05-13 11:29:56 +00:00
Colin Finck f952d12c8d Use a Mutex, so that CPL applets cannot be launched multiple times.
Fixes bug #781 partly, we still need a fix in "control.exe" (see my comment in the bug report)

svn path=/trunk/; revision=33492
2008-05-13 08:56:23 +00:00
Klemens Friedl 7bcc8fccde improve visual scroll behavior (arrow-up/-down hints) of the generic list (first step setup)
svn path=/trunk/; revision=33491
2008-05-13 08:04:59 +00:00
James Tabor 5fc4e8a5f9 Added W32PF and Brush flags. Fixed IntGdiExtCreatePen and all related so to pass wine gdi32 pen tests. Fail 100 out of 664 no skips.
svn path=/trunk/; revision=33490
2008-05-13 05:13:25 +00:00
Timo Kreuzer 8f56b70c8b fix build, sorry
svn path=/trunk/; revision=33489
2008-05-13 04:30:00 +00:00
Timo Kreuzer 27ff35dcc8 - fix a pointer to INT cast
- use InterlockedExchangePointer instead of InterlockedExchange for a pointer

svn path=/trunk/; revision=33488
2008-05-13 04:18:07 +00:00
Colin Finck 083c5dcbd2 Don't strip trailing spaces from the command line
This way, stuff like "notepad abc.txt  " will correctly pass "abc.txt  " as the filename like Windows does.

See issue #1818 for more details.

svn path=/trunk/; revision=33487
2008-05-12 21:26:38 +00:00
Colin Finck 003e7d8a1b Fix the Release build by marking MmPageArraySize as unreferenced.
Changing the ASSERT, so that it doesn't spit out an "unused variable" warning on Release builds doesn't work, because then it expects this variable to exist. (which is not the case for some struct elements passed to ASSERT in some other parts of the kernel)

svn path=/trunk/; revision=33486
2008-05-12 20:48:48 +00:00
Colin Finck 85de27e4af [FORMATTING] Fix indentation (4 spaces)
svn path=/trunk/; revision=33485
2008-05-12 20:11:11 +00:00
Colin Finck abab705b13 The lstr* functions don't reset the last error on an exception. Also they handle more than just access violation exceptions.
This makes us passing (at least) one more sub test of a Wine test (user32_winetest text)
Behaviour verified under Windows XP SP2.

svn path=/trunk/; revision=33484
2008-05-12 20:01:48 +00:00
Gregor Brunmar 858f98f040 * Synced DIALOG_DlgDirListW() and DIALOG_DlgDirSelect() from Wine to get more user32.dll winetests to pass
* Fixed indentation in User32EnumWindows()
* Removed internal use of Set/GetLastError() from User32EnumWindows() - makes even more winetests pass

svn path=/trunk/; revision=33483
2008-05-12 19:36:39 +00:00
Colin Finck 58f94d1774 Sync CharLowerA/W and CharUpperA/W with Wine (after replacing Wine's SEH with PSEH).
This way, we pass all user32 wsprintf Wine tests.
Verified under Windows XP SP2.

svn path=/trunk/; revision=33482
2008-05-12 18:35:21 +00:00
James Tabor cf585bc08a Misc patch, for later Icm support, update CreateCompatibleDC.
svn path=/trunk/; revision=33481
2008-05-12 18:16:48 +00:00
Eric Kohl 5244432b9c Do not touch the new user name if the user cancels the rename action.
svn path=/trunk/; revision=33479
2008-05-12 17:39:58 +00:00
Johannes Anderwald c0c67eed2b - ModifyMenu[A|W], AppendMenu[A|W], InsertMenu[A|W] should accept MF_HILITE
- verified by user32_winetest.exe 
- ReactOS now passes these tests (test_menu_flags)

svn path=/trunk/; revision=33478
2008-05-12 17:17:55 +00:00
Johannes Anderwald 5bc1879d50 - create the profiles directory if it does not yet exist
svn path=/trunk/; revision=33477
2008-05-12 16:59:06 +00:00
Colin Finck f50c85e75f Remove all remaining occurrences of the W64 macro.
The __w64 setting is obsolete beginning with MSVC 2008.

svn path=/trunk/; revision=33475
2008-05-12 15:59:31 +00:00
Aleksey Bragin 78681a8ec7 - Fix a typo in NtSecureConnectPort, ViewBase was not updated, thus confusing callers.
See issue #3242 for more details.

svn path=/trunk/; revision=33473
2008-05-12 15:27:15 +00:00
Timo Kreuzer 3dfc1c7b9e convert another pointer calculations to FIELD_OFFSET macro and use "%p" instead of casting pointers to long
svn path=/trunk/; revision=33472
2008-05-12 15:12:43 +00:00
Aleksey Bragin fcae112976 - Make IoCreateNotificationEvent and IoCreateSynchronizationEvent create kernel handles (according to MSDN http://msdn.microsoft.com/en-us/library/aa490498.aspx). Spotted by Stefan Ginsberg.
svn path=/trunk/; revision=33470
2008-05-12 13:42:05 +00:00
Hervé Poussineau d600586fdd Use dynamic debug system
svn path=/trunk/; revision=33469
2008-05-12 12:01:51 +00:00
Hervé Poussineau 7c21013a99 Reuse existing function instead of duplicating functionality
Patch by Carlo Bramini, carlo dot bramix at libero dot it
See issue #2437 for more details.

svn path=/trunk/; revision=33468
2008-05-12 09:58:14 +00:00
Hervé Poussineau a617fe3890 "\\.\" always exists
Fixes "copy freeldr.ini con:" command

svn path=/trunk/; revision=33467
2008-05-12 09:40:08 +00:00
Aleksey Bragin 2e73601047 - Fix yet another typo in the same line, spotted by Stefan Ginsberg.
svn path=/trunk/; revision=33465
2008-05-12 08:34:33 +00:00
Aleksey Bragin b17882ecd8 Kamil Hornicek <tykef@atlas.cz>
- Update tests to Wine head (as of 11th of May, 2008).

svn path=/trunk/; revision=33464
2008-05-12 08:33:26 +00:00
Aleksey Bragin 0d2bc37302 - Fix a typo, spotted by Stefan Ginsberg.
svn path=/trunk/; revision=33463
2008-05-12 08:11:31 +00:00
James Tabor 92849df7cc Fixed ExtCreatePen and started CreatePen. Tested with wine gdi32 cross test. Isolated problem in win32k.
svn path=/trunk/; revision=33461
2008-05-12 07:31:15 +00:00
James Tabor f5cf7f122c Fixed wine all of gdi32 dc tests and only 2 of gdiobj tests left todo.
svn path=/trunk/; revision=33460
2008-05-12 04:59:20 +00:00
James Tabor e051367b2f Fix typo spoted by Stefan100.
svn path=/trunk/; revision=33459
2008-05-12 01:55:34 +00:00
Timo Kreuzer da0b3935d7 NtUserEnumDisplaySettings returns NTSTATUS not BOOL, it doesn't set LastError value. Fix parameter validation and return value, based on tests in w32knapi.Move NtUserEnumDisplayMonitors and NtUserEnumDisplaySettings from windc to a new file display.c (Int functions should go there, too). adapt user32 functions accordingly. As a result w32knapi test doesn't crash anymore.
svn path=/trunk/; revision=33458
2008-05-11 23:51:55 +00:00
Timo Kreuzer fcaf6d5aef fix a header name
svn path=/trunk/; revision=33457
2008-05-11 23:25:02 +00:00
Timo Kreuzer 41758b941b patch by hyperion: convert pointer calculations with FIELD_OFFSET macro
svn path=/trunk/; revision=33456
2008-05-11 23:15:44 +00:00
Timo Kreuzer c6aa16c16a use "%p" to DPRINT a pointer instead of casting it to int and using "%08x"
svn path=/trunk/; revision=33455
2008-05-11 22:28:20 +00:00
Timo Kreuzer 8c2db2fee0 - Use InterlockedExchangePointer instead of InterlockedExchange for a pointer.
- Don't cast a DWORD to HANDLE directly
- ViewSize param of MmMapViewOfSection is SIZE_T, not ULONG

svn path=/trunk/; revision=33454
2008-05-11 22:23:45 +00:00
Timo Kreuzer 24a4495952 a "real" InterlockedExchangePointer wants PVOID* and nothing else.
svn path=/trunk/; revision=33453
2008-05-11 22:09:53 +00:00
Timo Kreuzer e7657c026b - a bunch of tests for NtUserEnumDisplaySettings
- one test for NtGdiGetFontResourceInfoInternalW

svn path=/trunk/; revision=33452
2008-05-11 21:49:56 +00:00