Commit graph

45262 commits

Author SHA1 Message Date
Gregor Schneider c81830d2e6 [regedit] Process WM_COMMAND button click messages in the local window as well
See issue #5927 for more details.

svn path=/trunk/; revision=51532
2011-05-01 15:16:55 +00:00
Rafal Harabien 16b032b455 [DESK]
* Fix a bug when after changing color scheme Apply and then OK is clicked. Background color was restored to the previous one in this case. Spotted by Gabriel Ilardi.

svn path=/trunk/; revision=51531
2011-05-01 15:07:35 +00:00
Rafal Harabien aea7bfcd56 [TASKMGR]
* Make buttons on applications page longer, so polish text fits

svn path=/trunk/; revision=51530
2011-05-01 14:35:58 +00:00
Eric Kohl 957e387479 [EVENTLOG]
- Add event sources "EventLog" and "Service Control Manager" to the registry.
- Implement an internal event reporting function and report the successful start of the event logging service.

svn path=/trunk/; revision=51529
2011-05-01 13:35:51 +00:00
Eric Kohl 18ea9e1c9d [NETEVENT]
Fix a little typo.

svn path=/trunk/; revision=51528
2011-05-01 13:23:59 +00:00
Rafal Harabien 3fe6ca77a5 [WIN32K]
* Do not reference current thread before sending message to it. It was causing thread to be a ghost if ExitThread was called in WndProc.
* Hold only UserRefObjectCo reference on windows when sending messages to them.

svn path=/trunk/; revision=51527
2011-05-01 13:15:30 +00:00
Rafal Harabien 606747e15c [SHELL32]
* Properly support WM_SYSCOLORCHANGE in ShellView window. Changing system colors in ReactOS works perfectly now :)

svn path=/trunk/; revision=51526
2011-05-01 13:01:38 +00:00
Rafal Harabien e094f54623 [WIN32K]
* Redraw desktop after change of system colors. Inspired by Wine

svn path=/trunk/; revision=51525
2011-05-01 12:59:48 +00:00
Rafal Harabien 9bee914885 [EXPLORER]
* Properly support WM_SYSCOLORCHANGE

svn path=/trunk/; revision=51524
2011-05-01 12:58:15 +00:00
Rafal Harabien 0bbfb26d0f [APPLICATIONS]
* Properly support WM_SYSCOLORCHANGE in msconfig, mspaint, rapps, regedit and regedit

svn path=/trunk/; revision=51523
2011-05-01 12:53:10 +00:00
Rafal Harabien 8311cfe217 [COMCTL32]
* Sync Rebar to Wine 1.3.19
* Properly support WM_SYSCOLORCHANGE in Rebars
* Update comctl32_ros.diff

svn path=/trunk/; revision=51522
2011-05-01 12:49:38 +00:00
James Tabor 0f43b7af51 [Win32k]
- Patch by Erich HooverSend: WM_SYSKEYDOWN and WM_SYSKEYUP when the 'F10' key is used. See wine bug 19383 and http://www.winehq.org/pipermail/wine-patches/2009-October/079871.html for details.
- Update key state for all hardware postings.

svn path=/trunk/; revision=51521
2011-05-01 11:51:22 +00:00
Giannis Adamopoulos 2aaa0b9e08 [winlogon]
- Implement restarting the shell in case of a failure. kudos to hpoussin

svn path=/trunk/; revision=51520
2011-05-01 09:59:01 +00:00
Giannis Adamopoulos 5f8889d8b2 [win32k]
- Do not try to initialize thread info in UserGetWindowObject. Do it in thread callout. Removing this hack is needed in order to use UserPostMessage in ProcessCallout when a process is terminating
- Notify winlogon that the shell is exiting in order to restart the shell

svn path=/trunk/; revision=51519
2011-05-01 09:20:15 +00:00
Hervé Poussineau 4f0424990b Fix compilation
svn path=/trunk/; revision=51518
2011-05-01 08:17:26 +00:00
Hervé Poussineau f9d566f139 [freeldr] Add PXE "filesystem"
svn path=/trunk/; revision=51517
2011-05-01 08:11:43 +00:00
Hervé Poussineau d4e292197b [freeldr] ramdisk: allocate memory with right type
This fixes NT boot type with a ramdisk, but ntoskrnl part is still broken

svn path=/trunk/; revision=51516
2011-05-01 08:01:05 +00:00
Hervé Poussineau 8973f39c75 [freeldr] Handle ramdisks < 8MB
svn path=/trunk/; revision=51515
2011-05-01 07:57:47 +00:00
Eric Kohl a6edd599e3 [NETEVENT]
- Remove netevent.c and netevent.spec because netevent.dll is a resource-only dll.
- Set entrypoint to 0.

svn path=/trunk/; revision=51514
2011-04-30 23:41:40 +00:00
Eric Kohl 5dd119d642 [EVENTLOG]
Implement an event source list and use it to find the event log file for a given event source when an event was reported.

svn path=/trunk/; revision=51513
2011-04-30 22:33:53 +00:00
James Tabor 94050d9e54 [Win32k]
- Update key state when key and hardware is set before the event set. This allows input.c to post and set key states.

svn path=/trunk/; revision=51512
2011-04-30 22:17:55 +00:00
Eric Kohl a4b0bea539 [SMSS]
Fix for the loading of the "KnownDlls" in SMSS. Patch by Hermès BÉLUSCA - MAÏTO.
The patch was applied without changes to comments, indentation and coding style. 

See issue #6159 for more details.

svn path=/trunk/; revision=51511
2011-04-30 22:09:16 +00:00
Rafal Harabien a41476b164 [COMCTL32]
* Properly support WM_SYSCOLORCHANGE in ListView controls with default background. Should be sent to Wine (tm)

svn path=/trunk/; revision=51510
2011-04-30 21:41:15 +00:00
James Tabor 452b5fc972 [Win32k]
- Clear and set send erase background bit when sending WM_ERASEBKGND and if return zero reset the bit. This prevents a message loop in riched20 when calling GetUpdateRect. Spotted by Michael Martin.

svn path=/trunk/; revision=51509
2011-04-30 21:14:11 +00:00
Rafal Harabien dde695503b [SNDVOL32 & TASKMGR]
* Properly support WM_SYSCOLORCHANGE

svn path=/trunk/; revision=51508
2011-04-30 19:32:37 +00:00
Gabriel Ilardi 68b271c187 [SUBST]
Italian update by Paolo Devoti.
See issue #6178 for more details.

svn path=/trunk/; revision=51505
2011-04-30 15:55:13 +00:00
Amine Khaldi dd8253dc8c [CRT/MINGW-W64]
* Reorganize dll entry and C runtime initialization. By Kai Tietz.

svn path=/trunk/; revision=51504
2011-04-30 14:26:21 +00:00
Matthias Kupfer 426f261823 Add Python 3
svn path=/trunk/; revision=51503
2011-04-30 11:56:02 +00:00
Gabriel Ilardi 89ea3624be [NOTEPAD]
Revert 51497, this is really a hack, sorry.

svn path=/trunk/; revision=51500
2011-04-30 00:49:10 +00:00
Giannis Adamopoulos b68a7983f1 [explorer]
- Return 1 when explorer terminates. This value lets winlogon know that explorer terminated without errors and it doesn't need to restart

svn path=/trunk/; revision=51499
2011-04-29 21:59:48 +00:00
Giannis Adamopoulos 8a518bb78d [taskmgr]
- When terminating an application use 1 as exit code. This is used by Task Manager in windows. It also prevents explorer from restarting in windows
- Disable redrawing the list of processes while the list is updated. Fixes flicker in windows

svn path=/trunk/; revision=51498
2011-04-29 21:49:37 +00:00
Gabriel Ilardi 5197d7eb95 [NOTEPAD]
Patch by Edijs Kolesnikovics: Write default font, weight and point size when run for the first time. That's what ms notepad does too.
See issue #5305 for more details.

svn path=/trunk/; revision=51497
2011-04-29 21:47:53 +00:00
Giannis Adamopoulos 1396412b7c [win32k]
- UserSetProcessWindowStation: Use PsGetProcessWin32WindowStation and PsSetProcessWindowStation. Close the prevoious window station handle only when the window station was not set by UserSetProcessWindowStation (should be the case for console apps)

svn path=/trunk/; revision=51496
2011-04-29 17:50:30 +00:00
Gabriel Ilardi 3ff2ee5566 [DESK]
French translation by Jeisson Toscano. I adjusted some dialogs to make text fit in.
See issue #6028 for more details.

svn path=/trunk/; revision=51495
2011-04-29 15:58:37 +00:00
Gabriel Ilardi 540ec7e00a [rapps]
Jeisson Toscano: French update + some Spanish translation updates (with corrections from vicmarcal and me)
See issue #6012 for more details.

svn path=/trunk/; revision=51494
2011-04-29 14:01:03 +00:00
Olaf Siejka 2081b4bf88 - Swedish translation of charmap, find, dxdiag, mmc, mplay32, msconfig, devmgmt, eventvwr, servman, mstsc, ipconfig, ping, notepad, rapps, regedit, 3dtext, logon, shutdown, sndrec32, sndvol32, usetup, vminst and cmd. Patch by Jan Blomqvist Kinander (JaixBly [at] spray [dot] se)
[SETUP][USETUP]
- Translation update by Adam "Saibamen" Stachowicz. See issue #6171 for more details

svn path=/trunk/; revision=51492
2011-04-29 13:07:12 +00:00
Rafal Harabien 541978ae64 [KERNEL32]
* Fix formatting. No code changes.

svn path=/trunk/; revision=51486
2011-04-28 22:33:50 +00:00
Rafal Harabien 6fd65190b1 [KERNEL32]
* Use current directory in GetDriveType if no path is given
* Check if path is properly ended
* Remove slash from end when calling NtCrateFile function
* Fixes few kernel32_apitest tests and floppy icon in My Computer if no floppy is inserted
See issue #6148 for more details.

svn path=/trunk/; revision=51485
2011-04-28 22:15:39 +00:00
Rafal Harabien ee795b8b1e [APITESTS]
* Add GetDriveType tests. Some fails in ReactOS
* Fix few rbuild files

svn path=/trunk/; revision=51484
2011-04-28 22:10:51 +00:00
Giannis Adamopoulos 16afe3648f [win32k]
- Store the initial desktop handle and use it evey time a new thread is created.

svn path=/trunk/; revision=51483
2011-04-28 20:33:16 +00:00
Gregor Schneider f80c0cc156 [calc] Fix degree to radians conversion
See issue #3018 for more details.

svn path=/trunk/; revision=51482
2011-04-28 20:17:14 +00:00
Gregor Schneider 7d857e4ff3 [win32csr] Implement routines to allow copy, paste and select all on console windows
See issue #4068 for more details.

svn path=/trunk/; revision=51481
2011-04-28 19:59:16 +00:00
Giannis Adamopoulos f2fa7073c4 [win32k]
- Use ObCloseHandle instead of ZwClose when closing window station handles

svn path=/trunk/; revision=51480
2011-04-28 19:52:23 +00:00
Giannis Adamopoulos 654d08212e [win32k]
- Call update_input_key_state correctly

svn path=/trunk/; revision=51479
2011-04-28 19:26:09 +00:00
Timo Kreuzer f685f1aeb0 [WIN32K]
- Don't use exclusive locks for pens
- Don't try to delete the window update region
- Don't ignore pid in GreIsHandleValid
- Check if handle is valid before deleting it in DC_Cleanup
- Silence a DPRINT

svn path=/trunk/; revision=51475
2011-04-28 14:29:47 +00:00
Timo Kreuzer c0dcdb6728 Fix release build
svn path=/trunk/; revision=51472
2011-04-28 08:50:27 +00:00
Gabriel Ilardi 3c6f59eacf [mshtml]
Revert associations for ie, we can't use them. Spotted by encoded.
See issue #6158 for more details.

svn path=/trunk/; revision=51471
2011-04-28 08:26:49 +00:00
Timo Kreuzer 9ff568fd7d [WIN32K]
Rewrite of the GDI handle manager

- The old handle manager used a completely retarded spinlock in combination with KeDelayExecutionThread() for both exclusive
and shared locks. This is probably the most uneffective algorithm possible. It was also duplicating code everywhere and it was a overall mess It 

is now replaced with a lock-free reference counter for shared locks and a pushlock for exclusive locks. -> Better performance and scalability.
- Allocate user mode object attributes from the new gdi pool. This way, we don't need any caching, since the pool serves as a cache. Its also 

much faster and uses much less memory.
- Allow object allocations of different size, instead of fixed size from a table. This way a single allocation can take care of actual needs.
- Allow allcoating objects without a handle and insert them into the handle table later
- Properly synchronize the process GDIHandleCount. Now gdiview and taskmanager show the correct number of gdi handles.
- Implement a new event tracking system, that is capable of tracking all reverences and locks of objects and pool allocations to help track 

possible leaks
- Make sure that all objects of a process are deleted in cleanup
- Make sure all usermode memory allocations are freed, when cleaning up the process pool.
- Make sure that each object type is using the correct type of lock (either shared or exclusive, not a mixture)
- Fix some object / reference leaks
- Lots of inferface improvements
- Use global variables for certain things instead of members in the mapped gdi handle table
- Make IntSysCreateRectpRgn create a region without a handle
- Fix detection od source and mask use in GreStretchBltMask
- Use GDIOBJ_bLockMultipleObjects in NtGdiCombineRegion to avoid possible deadlocks
- Fix NtGdiAbortPath to reset DCPATH_ACTIVE flag in the dc and only bail out on error, instead of always
- Replace DC_AllocateDcAttr and DC_AllocDcAttr with DC_bAllocDcAttr using the new user mode pool
- Remove DCU_SyncDcAttrtoUser and DCU_SynchDcAttrtoUser. Those functions were unused and didn't do anything useful anyway,
- Replace IntGdiSetDCOwnerEx and DC_SetOwnership with GreSetDCOwner, remove unused NoSetBrush parameter
- Replace GDIOBJ_bValidateHandle and IsObjectDead with GreIsHandleValid
- Chage GDIOBJ_bLockMultipleObjects: pass object type, return a BOOL, whether all objects could be locked, cleanup on failure

svn path=/trunk/; revision=51470
2011-04-28 08:26:46 +00:00
Timo Kreuzer de078e7357 [WIN32K]
Don't send messages from or to a thread in cleanup. Fixes possible deadlock.

svn path=/trunk/; revision=51469
2011-04-27 23:49:09 +00:00
James Tabor b39193c83d [Win32k]
- Fix KsStudios actions with Hooks. 

svn path=/trunk/; revision=51468
2011-04-27 23:09:45 +00:00