Commit graph

30894 commits

Author SHA1 Message Date
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
Hervé Poussineau 906bec0223 Add generic list scrolling
See issue #3234 for more details.

svn path=/trunk/; revision=33451
2008-05-11 21:32:00 +00:00
Hervé Poussineau 2199183bbe Better encapsulation of generic list
svn path=/trunk/; revision=33450
2008-05-11 21:17:57 +00:00
Filip Navara 0e6c1e1d3a Fix incorrect parameters to IoSetDeviceToVerify/IoVerifyVolume. Spotted by R.T.Sivakumar <rtshiva@gmail.com>.
svn path=/trunk/; revision=33449
2008-05-11 20:04:47 +00:00
Filip Navara b512080393 Fix checking of return values from IoCreateDevice. Spotted by R.T.Sivakumar <rtshiva@gmail.com>.
svn path=/trunk/; revision=33448
2008-05-11 19:47:50 +00:00
Filip Navara 76256a1bdd Fix wrong variable usage - "Filename" (8 characters long) of a directory entry was referenced instead of a "ShortName" (11 characters long). The actual bug was harmless since both arrays are defined in an union and lie at the same place in memory.
svn path=/trunk/; revision=33447
2008-05-11 18:57:07 +00:00
Colin Finck 951e1367da Robin Geuze (r DOT geuze AT chello DOT nl):
- Add the correct Visual Studio version to the .sln file header, so that the Visual Studio Version Selector does not get confused.
  I slightly modified the patch to replace some following if's by else if's.

svn path=/trunk/; revision=33446
2008-05-11 18:30:36 +00:00
Colin Finck 67e88fe072 - [FORMATTING] Fix indentation in usetup's genlist.
- Remove the obsolete "media/vgafonts/readme.txt" file.

No code changes

svn path=/trunk/; revision=33445
2008-05-11 15:07:16 +00:00
Marc Piulachs bd846f9aa4 - fix typo
svn path=/trunk/; revision=33444
2008-05-11 15:05:19 +00:00
Pierre Schweitzer d91736aefb Synced urlmon.dll with Wine HEAD.
This *does not* fix Downloader

svn path=/trunk/; revision=33443
2008-05-11 13:57:45 +00:00
Gregor Brunmar 5e244d149d Made 17 listbox winetests pass in user32.dll (some of the changes were taken from wine)
svn path=/trunk/; revision=33442
2008-05-11 13:46:47 +00:00
Pierre Schweitzer ba3a40c9e9 No need for a shortcut to kbswitch.exe on the desktop
svn path=/trunk/; revision=33441
2008-05-11 13:11:30 +00:00
Filip Navara 44a984e920 Temporary disable part of the SEH code in NtReplyWaitReceivePortEx to get trunk working again.
svn path=/trunk/; revision=33438
2008-05-11 12:22:51 +00:00
Hervé Poussineau 117852d238 Use LONG BreakPointNr, as in other breakpoint-related functions
svn path=/trunk/; revision=33437
2008-05-11 11:44:55 +00:00