Commit graph

42390 commits

Author SHA1 Message Date
Eric Kohl f0910f33d3 [FORMATTING]
No code changes.

svn path=/trunk/; revision=47383
2010-05-28 16:28:27 +00:00
Eric Kohl 4e25539b71 [NTOSKRNL]
Implement SeFreePrivileges().

svn path=/trunk/; revision=47382
2010-05-28 15:03:09 +00:00
Cameron Gutman d30c42f367 [MSAFD]
- Fix a broken call to WSPBind that I missed in r47378

svn path=/trunk/; revision=47380
2010-05-28 05:15:42 +00:00
Cameron Gutman d36292eecf [TCPIP]
- Return STATUS_INVALID_ADDRESS if the caller tries to get a non-local address
- Return STATUS_ADDRESS_ALREADY_EXISTS if the caller uses an address that is in use
[MSAFD]
- Translate STATUS_ADDRESS_ALREADY_EXISTS -> WSAEADDRINUSE, STATUS_LOCAL_DISCONNECT -> WSAECONNABORTED, and STATUS_REMOTE_DISCONNECT -> WSAECONNRESET
[IP]
- Translate OSK_EADDRINUSE -> STATUS_ADDRESS_ALREADY_EXISTS, OSK_ECONNABORTED -> STATUS_LOCAL_DISCONNECT, and OSK_ECONNRESET -> STATUS_REMOTE_DISCONNECT
- Fixes waiting for binding during ws2_32 sock winetest

svn path=/trunk/; revision=47379
2010-05-28 04:39:49 +00:00
Cameron Gutman 54b6aff827 [MSAFD]
- Pass a valid pointer for lpErrno to WSPBind when performing an implicit bind
- Remove the hack in MsafdReturnWithErrno for dealing with stupid callers that provide don't provide a valid Errno pointer

svn path=/trunk/; revision=47378
2010-05-28 04:07:39 +00:00
Cameron Gutman 219cc11d6a [MSAFD]
- Remove an incorrect change
- Create a new function called TranslateNtStatusError to translate NTSTATUS to winsock error codes
- Call the TranslateNtStatusError in MsafdReturnWithErrno and also use it to translate AFD's poll event error codes
[AFD]
- Track the status for each poll event in our FCB and copy it back when we get an IOCTL_AFD_ENUM_NETWORK_EVENTS IRP
- Remove some useless PollReeval calls

svn path=/trunk/; revision=47377
2010-05-28 03:55:50 +00:00
Cameron Gutman f06be4552d [MSAFD]
- Zero the entire struct not just the lpNetworkEvents member
- Write the error codes returned from AFD to the iErrorCode array
- Fixes hundreds of ws2_32_winetest sock failures (only 104 failures now)
- Dedicated to Physicus

svn path=/trunk/; revision=47376
2010-05-28 02:25:56 +00:00
Cameron Gutman f73d8199f7 [NPFS]
- Partially revert r47370 and apply a better patch
- Change ReadEvent and WriteEvent to notification events because we reset those events manually when we run out of buffer space

svn path=/trunk/; revision=47375
2010-05-27 23:52:32 +00:00
Eric Kohl b85a7deb22 The global flag FLG_HEAP_ENABLE_CALL_TRACING has been replaced by FLG_ENABLE_SYSTEM_CRIT_BREAKS in Windows XP and above.
svn path=/trunk/; revision=47374
2010-05-27 20:15:35 +00:00
Benedikt Freisen 011d911b66 [PAINT]
- After clearing a new selection and creating an undo-step, draw selection contents
- Fixes bug #5246

svn path=/trunk/; revision=47373
2010-05-27 14:53:53 +00:00
Benedikt Freisen c63cf6931f [PAINT]
- Improvements by Black_Fox, see bug #5418
- Readability improvement, patch by Katayama Hirofumi, see  bug #5420

svn path=/trunk/; revision=47372
2010-05-27 12:21:50 +00:00
Kamil Hornicek 5989fa66dd - Sync wined3d, ddraw, d3d8, d3d9 with Wine
svn path=/trunk/; revision=47371
2010-05-27 10:25:14 +00:00
Cameron Gutman 7c79933df4 [NPFS]
- Change the other side's to PIPE_STATUS_CLOSING_STATE in NpfsCleanup and NpfsClose so the reading/writing thread knows that the pipe is dead when we signal its event
- Fixes iphlpapi_winetest hang and possibly bug #4689

svn path=/trunk/; revision=47370
2010-05-27 00:26:34 +00:00
Timo Kreuzer 5faac22844 [WIN32K]
GreGradientFill: don't forget to unlock the DC

svn path=/trunk/; revision=47367
2010-05-26 22:33:10 +00:00
Hervé Poussineau 24c7a10807 [freeldr] Repair NTFS driver. ReactOS is now able to boot (again) from NTFS partitions
svn path=/trunk/; revision=47365
2010-05-26 19:58:54 +00:00
Hervé Poussineau 82c609eda0 [freeldr] Disable NTFS cache because it gives wrong results
svn path=/trunk/; revision=47364
2010-05-26 19:56:07 +00:00
Timo Kreuzer 21e28a541f [FREETYPE]
Update to 2.3.12, conversion patch already applied

svn path=/trunk/; revision=47363
2010-05-26 11:30:35 +00:00
Gabriel Ilardi 7dc83b2932 [USETUP]
- Spanish translation update by Javier Remacha. Fixes bug 4367.
- Fixed a typo in Italian and English.

- Some other Spanish and Italian translation updates by Javier and me.

svn path=/trunk/; revision=47362
2010-05-26 11:28:02 +00:00
Timo Kreuzer 66aae4c0fa [FREETYPE]
- Cleanup old files
- Remove setjmplongjmp.s
- Correction to last commit message: the conversion patch was already applied

svn path=/trunk/; revision=47361
2010-05-26 11:07:12 +00:00
Timo Kreuzer 7c79bc896d [FREETYPE]
Patch by Jerome Gardou: Update freetype to 2.3.9
The FT_MulFix patch is not neccessary anymore, the 1BPP -> 8BPP conversion patch will be applied again right after this.
See issue #4537 for more details.

svn path=/trunk/; revision=47360
2010-05-26 10:40:15 +00:00
Jeffrey Morlan 1594c9f594 [WIN32CSR] Implement console pausing. [Bug 4739]
svn path=/trunk/; revision=47359
2010-05-26 04:57:45 +00:00
Michael Martin bbe7ec53c5 [win32k]
- Implement DestroyTimersForWindow and call it instead of MsqRemoveTimersWindow when destroying a window.
- Fire NewMessages event when cleaning up thread so that threads dont wait for new messages that will never be received. Fixes a problem where some application that use timers dont completly exit.
- IntSetTimer: Dont try to raise a timer from the dead. Once the TMRF_DELETEPENDING flag is set, let it be destroyed.
- co_MsqWaitForNewMessages: Call the wait without a timeout value as now when the timer expires the NewMessages event will be set to exit the wait.
- Message Queue specific timer code and old time queuing code is now dead. It will be removed later when we are happy with new timer implementation.

svn path=/trunk/; revision=47358
2010-05-26 02:04:09 +00:00
Gabriel Ilardi 7f82a194fa [USETUP]
- Estonian translation of minimum disk space required by Andres Traks #3302.
[USERENV]
- Fix mistakenly translated strings "recent" and "sendto" in Italian and Spanish resources, plus another Spanish fix.
Several Czech translation updates by Radek Liska #5429.

svn path=/trunk/; revision=47351
2010-05-25 13:42:30 +00:00
Timo Kreuzer 714a181969 [WIN32K]
Refactor NtGdiGradientFill, use 1 SEH block instead of 2, replace IntGdiGradientFill with GreGradientFill, don't lock the DC in UserDrawCaption.

svn path=/trunk/; revision=47350
2010-05-25 11:55:04 +00:00
Timo Kreuzer 71d693cef0 [WIN32K]
Delete old clipregion only and set a new one, if it could be created already, to avoid setting a NULL region.

See issue #4431 for more details.

svn path=/trunk/; revision=47349
2010-05-25 11:41:29 +00:00
Michael Martin bb079cacb0 [win32k]
- Minor revert of 47281 to fix OO installer textboxes.

svn path=/trunk/; revision=47348
2010-05-25 10:33:13 +00:00
Gabriel Ilardi d514045177 [USETUP]
- Polish and Czech (#5429) translations of required disk space by Maciej Bialas and Radek Liska
- Some fixes and updates to Italian and Spanish resources

svn path=/trunk/; revision=47346
2010-05-25 08:16:09 +00:00
Eric Kohl 1605abd1bc [USETUP]
Make the required minimum disk space configurable from the txtsetup.sif file.

svn path=/trunk/; revision=47345
2010-05-24 22:32:23 +00:00
Eric Kohl bd925f8147 [USETUP]
Made the 'Copying file...' status line message left aligned like all the other status line messages.

svn path=/trunk/; revision=47343
2010-05-24 21:43:51 +00:00
Eric Kohl 6ed709da3d [USETUP]
- Add german translation of required minimum disk space warning.

svn path=/trunk/; revision=47342
2010-05-24 21:08:06 +00:00
Gabriel Ilardi d1f4ced4ab [USETUP]
- Check for required minimum disk space eventually warn the user.
- Added Italian and Spanish warnings, the other languages need translation.
- Patch by R.T.Sivakumar modified by me.
See issue #3302 for more details.

svn path=/trunk/; revision=47341
2010-05-24 20:53:32 +00:00
Timo Kreuzer 8a591ca9df [WIN32K / WIN32CSR]
Get rid of FASTCALL specifier for static functions and functions with no parameters.

svn path=/trunk/; revision=47340
2010-05-24 13:34:08 +00:00
Timo Kreuzer c970cbb191 [WIN32K]
When destroying a window, generate a mouse move message, so that the underlying window is notified about the mouse position and can update the pointer if neccessary. Fixes bug #4499 and bug #3893

See issue #4499 for more details.

svn path=/trunk/; revision=47339
2010-05-24 12:57:03 +00:00
Aleksey Bragin c386b1ee3b - Revert 47310. Please find a way to enable kmtest only when building the testing cd image, not the installation/live one.
svn path=/trunk/; revision=47338
2010-05-24 08:51:52 +00:00
Jeffrey Morlan 975502bb74 [WIN32CSR] fix tuiconsole
svn path=/trunk/; revision=47337
2010-05-24 00:04:56 +00:00
Eric Kohl 4841dde246 [SMSS]
- Add the system environment variables PROCESSOR_LEVEL and PROCESSOR_REVISION.

svn path=/trunk/; revision=47336
2010-05-23 23:41:16 +00:00
Jeffrey Morlan 7fa77031b0 [WIN32CSR]
- Make consistent use of RECT/SMALL_RECT structures: a RECT uses pixel coordinates relative to the window client area and is endpoint-exclusive; a SMALL_RECT uses character coordinates relative to the screen buffer and is endpoint-inclusive.
- Allow text selections outside of the visible window
- Implement GetConsoleSelectionInfo

svn path=/trunk/; revision=47335
2010-05-23 22:38:16 +00:00
Eric Kohl 8f6739ed2e [REGEDIT]
Ignore the case when sorting value names.

svn path=/trunk/; revision=47334
2010-05-23 20:41:03 +00:00
Eric Kohl 88637f32f5 [SMSS]
- Remove the system environment variable OS from the hivesys*.inf files.
- Change the type of the system environment variable PATHEXT in the hivesys*.inf files from REG_EXPAND_SZ to REG_SZ.
- Let SMSS add the system environment variables OS and NUMBER_OF_PROCESSORS to the registry.

svn path=/trunk/; revision=47333
2010-05-23 19:27:04 +00:00
Jeffrey Morlan 4b687b2792 [KERNEL32], [WIN32CSR] More fixes for console winetest
- BasepInitConsole: Initialize console input EXE name
- GetConsoleProcessList: Use capture buffer; only copy IDs if buffer has enough room for all of them; return total number of processes.

svn path=/trunk/; revision=47331
2010-05-23 17:40:54 +00:00
Eric Kohl 4bba2335c0 [SMSS]
- Remove the system environment variable PROCESSOR_ARCHITECTURE from the hivesys*.inf files.
- Let SMSS add the system environment variables PROCESSOR_ARCHITECTURE and PROCESSOR_IDENTIFIER to the registry.

svn path=/trunk/; revision=47330
2010-05-23 17:28:06 +00:00
Gabriel Ilardi 7a2b3d46d3 [INTL]
- Polish translation of Metric and Imperial by Olaf Siejka.

svn path=/trunk/; revision=47329
2010-05-23 17:07:56 +00:00
Gabriel Ilardi fd303a1a46 [REGEDIT]
- Don't display "finished" message if search is aborted.
Patch by Katayama Hirofumi.
See issue #5421 for more details.

svn path=/trunk/; revision=47328
2010-05-23 17:01:06 +00:00
Sylvain Petreolle 772c56e48d Perform case insensitive comparison against the selected language id.
svn path=/trunk/; revision=47327
2010-05-23 16:26:11 +00:00
Jeffrey Morlan 44ce7e4f55 [KERNEL32], [WIN32CSR] Implement the CREATE_NO_WINDOW flag which creates a console with an invisible window.
svn path=/trunk/; revision=47326
2010-05-23 15:56:37 +00:00
Michael Martin 38734242d5 [win32k]
- For the Low Level Mouse Hook (WH_MOUSE_LL), input can come from the mouse driver or mouse_event. Both of which result in a call to UserSetCursorPos.
UserMode SetCursorPos API also ends up here. Add BOOL parameter that can be used to determine if hooks are to be called.
- Move the code related to calling the hook procedure from MsqInsertSystemMessage into UserSetCursorPos and call the hook procedure here if needed.
If hook procedure returns non 0 value. Dont insert the system message.
- Fixes a recursive call to the hook procedure resulting thread using to much stack exposed by user32 winetest for input.

svn path=/trunk/; revision=47325
2010-05-23 11:53:01 +00:00
Eric Kohl dcc025f6e3 [WINLOGON]
- Set the APPDATA environment variable without loading shell32.dll.
This should fix bug #5398.

svn path=/trunk/; revision=47324
2010-05-23 11:35:08 +00:00
Giannis Adamopoulos 89b45a7e71 [kernel32_winetest]
- kernel32 tests need a resource file

svn path=/trunk/; revision=47322
2010-05-23 10:59:41 +00:00
Jeffrey Morlan 0b077c2961 [WIN32CSR] Implement FILE_SHARE_* flags for console handles. Fixes some more winetests.
svn path=/trunk/; revision=47319
2010-05-23 09:10:02 +00:00
Jeffrey Morlan 85b0f2bc12 [WIN32CSR] Delete even the active screen buffer when all handles are closed. Fixes a winetest.
svn path=/trunk/; revision=47318
2010-05-23 06:04:15 +00:00