reactos.git
13 years ago[fastfat_new]
Aleksey Bragin [Sat, 10 Oct 2009 12:40:20 +0000 (12:40 +0000)]
[fastfat_new]
- Actually add short and long names to splay tree when setting up FCB's names.

svn path=/trunk/; revision=43359

13 years ago[fastfat_new]
Aleksey Bragin [Sat, 10 Oct 2009 12:34:02 +0000 (12:34 +0000)]
[fastfat_new]
- Add two functions for adding/removing name links from splay trees.
- Cleanup Fati8dot3ToString function from testing code.
- Add FCB states, so far just two: has names, and has unicode name.

svn path=/trunk/; revision=43358

13 years agoAlexander Yastrebov <menone7@gmail.com>
Aleksey Bragin [Sat, 10 Oct 2009 09:16:34 +0000 (09:16 +0000)]
Alexander Yastrebov <menone7@gmail.com>
- SetDllDirectory should add a directory to the search path used to locate DLLs for the application.

See issue #4820 for more details.

svn path=/trunk/; revision=43357

13 years ago[fastfat_new]
Aleksey Bragin [Sat, 10 Oct 2009 09:13:39 +0000 (09:13 +0000)]
[fastfat_new]
- Manually fetch a short name entry in FatSetFcbNames and process it.
- Get a long name and process it too (though right now there is problem, FullFAT returns a short name instead of a true long name).
- Silence debug prints in FatiRead.

svn path=/trunk/; revision=43356

13 years ago - Small fix for 43354
Cameron Gutman [Sat, 10 Oct 2009 08:26:20 +0000 (08:26 +0000)]
 - Small fix for 43354
 - Only pass the physical address if we have it

svn path=/trunk/; revision=43355

13 years ago - Fix timeout values
Cameron Gutman [Sat, 10 Oct 2009 07:43:39 +0000 (07:43 +0000)]
 - Fix timeout values
 - Don't reply to ARP requests unless they are address to us
 - We now reset the NCE timeout if we receive a packet from the neighbor
 - Fixes ARP flooding (bug 4879)

svn path=/trunk/; revision=43354

13 years ago- Do not test for IMM start up from client info, instead do not attach to system...
James Tabor [Sat, 10 Oct 2009 05:15:43 +0000 (05:15 +0000)]
- Do not test for IMM start up from client info, instead do not attach to system threads. Thanks Tommy Ward.

svn path=/trunk/; revision=43353

13 years ago- [Win32k] Implement AttachThreadInput, not yet connected to the thread message queue...
James Tabor [Sat, 10 Oct 2009 04:40:36 +0000 (04:40 +0000)]
- [Win32k] Implement AttachThreadInput, not yet connected to the thread message queue, update related.
- See http://www.codeproject.com/KB/cpp/onscreenkeyboard.aspx for test program.

svn path=/trunk/; revision=43352

13 years ago- Map STATUS_NOT_FOUND to ERROR_NOT_FOUND
Johannes Anderwald [Sat, 10 Oct 2009 03:45:57 +0000 (03:45 +0000)]
- Map STATUS_NOT_FOUND to ERROR_NOT_FOUND

svn path=/trunk/; revision=43351

13 years ago - Specify the interface index so the route won't get added to interface 0 (loopback)
Cameron Gutman [Sat, 10 Oct 2009 02:04:13 +0000 (02:04 +0000)]
 - Specify the interface index so the route won't get added to interface 0 (loopback)
 - Warn if something tries to add a route to the loopback adapter
 - Fixes routing issues some people were having

svn path=/trunk/; revision=43350

13 years ago- KeyboardThreadMain: Set RepeatRate to 1 vice 0. Fixes text input in OpenOffice...
Michael Martin [Sat, 10 Oct 2009 01:13:17 +0000 (01:13 +0000)]
- KeyboardThreadMain: Set RepeatRate to 1 vice 0. Fixes text input in OpenOffice Writer.

svn path=/trunk/; revision=43349

13 years agoFix SECURITY_DESCRIPTOR_RELATIVE that I broke, spotted by Stefan
Timo Kreuzer [Fri, 9 Oct 2009 22:52:39 +0000 (22:52 +0000)]
Fix SECURITY_DESCRIPTOR_RELATIVE that I broke, spotted by Stefan

svn path=/trunk/; revision=43348

13 years ago- Various resource fixes (unclosed files, unchecked memory allocations, missing destr...
Gregor Schneider [Fri, 9 Oct 2009 21:02:44 +0000 (21:02 +0000)]
- Various resource fixes (unclosed files, unchecked memory allocations, missing destructor, not freed memory)
- Patch by Russell with some modifications by myself
See issue #4662 for more details.

svn path=/trunk/; revision=43347

13 years ago- Hey, you know what? Dbg/NtQueryDebugFilterState returns TRUE/FALSE after all.
Stefan Ginsberg [Fri, 9 Oct 2009 19:54:07 +0000 (19:54 +0000)]
- Hey, you know what? Dbg/NtQueryDebugFilterState returns TRUE/FALSE after all.

svn path=/trunk/; revision=43346

13 years agoCorrect MPEG1/2 video decoder filename, patch by Russell
Gregor Schneider [Fri, 9 Oct 2009 18:45:24 +0000 (18:45 +0000)]
Correct MPEG1/2 video decoder filename, patch by Russell
See issue #4878 for more details.

svn path=/trunk/; revision=43345

13 years ago[KS]
Johannes Anderwald [Fri, 9 Oct 2009 16:48:41 +0000 (16:48 +0000)]
[KS]
- Fix a bug when canceling irps

svn path=/trunk/; revision=43344

13 years ago[fastfat_new]
Aleksey Bragin [Fri, 9 Oct 2009 14:20:33 +0000 (14:20 +0000)]
[fastfat_new]
- Add two names to an FCB - a short name, and a long name.
- Start implementing FatSetFcbNames, currently deals with short names only.
- Implement Fati8dot3ToString, with most of the code actually #if0ed, because FullFAT already does this conversion.

svn path=/trunk/; revision=43343

13 years ago[PORTLCS]
Johannes Anderwald [Fri, 9 Oct 2009 12:36:26 +0000 (12:36 +0000)]
[PORTLCS]
- KSCATEGORY_AUDIO should be the first device category so that wdmaud can correctly assign virtual device ids

svn path=/trunk/; revision=43342

13 years ago- Fix DbgLoadImageSymbols -- it doesn't return anything.
Stefan Ginsberg [Fri, 9 Oct 2009 11:51:07 +0000 (11:51 +0000)]
- Fix DbgLoadImageSymbols -- it doesn't return anything.
- Fix DbgQueryDebugFilterState -- it returns NTSTATUS, not BOOLEAN! Also fix the callers that depended on this.

svn path=/trunk/; revision=43341

13 years agoActually define STATUS_ASSERTION_FAILURE (missed in 43291).
Stefan Ginsberg [Fri, 9 Oct 2009 11:27:41 +0000 (11:27 +0000)]
Actually define STATUS_ASSERTION_FAILURE (missed in 43291).

svn path=/trunk/; revision=43340

13 years ago - Fix some typos from my last commit
Cameron Gutman [Fri, 9 Oct 2009 05:18:35 +0000 (05:18 +0000)]
 - Fix some typos from my last commit
 - Remove more hacks from iphlpapi

svn path=/trunk/; revision=43339

13 years ago - Rewrite IOCTL_TCP_QUERY_INFORMATION_EX/IOCTL_TCP_SET_INFORMATION_EX handling
Cameron Gutman [Fri, 9 Oct 2009 02:40:38 +0000 (02:40 +0000)]
 - Rewrite IOCTL_TCP_QUERY_INFORMATION_EX/IOCTL_TCP_SET_INFORMATION_EX handling
 - Remove duplicate defines for the same IOCTL
 - Remove unneeded code
 - Fix a completely wrong implementation of ENTITY_TYPE_ID
 - Perform parameter checking
 - Remove several hacks in iphlpapi that worked around bugs in the previous implementation
 - We now support retrieving interface-specific routing tables and ARP tables

svn path=/trunk/; revision=43338

13 years ago- Stub out ExpSystemErrorHandler more properly.
Stefan Ginsberg [Thu, 8 Oct 2009 20:06:37 +0000 (20:06 +0000)]
- Stub out ExpSystemErrorHandler more properly.

svn path=/trunk/; revision=43337

13 years ago - Partially revert r42993 for imagelist
Dmitry Chapyshev [Thu, 8 Oct 2009 11:18:34 +0000 (11:18 +0000)]
 - Partially revert r42993 for imagelist
See issue #4304 for more details.

svn path=/trunk/; revision=43336

13 years ago- When enumerating controls, cControls *tells* the number of controls not *cConnectio...
Johannes Anderwald [Thu, 8 Oct 2009 07:25:26 +0000 (07:25 +0000)]
- When enumerating controls, cControls *tells* the number of controls not *cConnections*. Fix a crash in XP sndvol32
- Clear the entire struct, not just part of it
- WdmAudMixerCapabilities just provides the index of a device, not its handle. Fixes displaying of duplicate mixer name in sndvol32
- Verify that a mixer line exists

svn path=/trunk/; revision=43335

13 years agoMiReserveSystemPtes: Don't assert that allocation succeeded, just warn if we failed...
Stefan Ginsberg [Wed, 7 Oct 2009 20:14:01 +0000 (20:14 +0000)]
MiReserveSystemPtes: Don't assert that allocation succeeded, just warn if we failed. All callers of the function handle allocation failure properly.

svn path=/trunk/; revision=43334

13 years agoFix GCC 4.1.3 warning.
Dmitry Gorbachev [Wed, 7 Oct 2009 20:04:17 +0000 (20:04 +0000)]
Fix GCC 4.1.3 warning.

svn path=/trunk/; revision=43333

13 years agoHappy testing.
Dmitry Gorbachev [Wed, 7 Oct 2009 19:58:15 +0000 (19:58 +0000)]
Happy testing.

svn path=/trunk/; revision=43332

13 years agoFix logging to a file.
Dmitry Gorbachev [Wed, 7 Oct 2009 19:57:40 +0000 (19:57 +0000)]
Fix logging to a file.

In spite of limitations, it remains the only way to obtain desired logs for some people.

svn path=/trunk/; revision=43331

13 years agoDelete unused copy of GPL.
Dmitry Gorbachev [Wed, 7 Oct 2009 19:56:35 +0000 (19:56 +0000)]
Delete unused copy of GPL.

svn path=/trunk/; revision=43330

13 years agoFix FreeLDR bug #4877. Patch by Gabriel.
Dmitry Gorbachev [Wed, 7 Oct 2009 19:55:44 +0000 (19:55 +0000)]
Fix FreeLDR bug #4877. Patch by Gabriel.

svn path=/trunk/; revision=43329

13 years ago- replace dropshadow from mouse settings by cursor shadow
Matthias Kupfer [Wed, 7 Oct 2009 19:42:02 +0000 (19:42 +0000)]
- replace dropshadow from mouse settings by cursor shadow
- bind cursor shadow to registry via sysparams
- rename variable names and identifiers

svn path=/trunk/; revision=43328

13 years ago- revert SPI_SETCLICKLOCK
Matthias Kupfer [Wed, 7 Oct 2009 18:22:25 +0000 (18:22 +0000)]
- revert SPI_SETCLICKLOCK
- small optimization in mgsqueue

svn path=/trunk/; revision=43327

13 years agoAdd test for NtUserSystemParametersInfo case SPI_SETMOUSECLICKLOCK
Timo Kreuzer [Wed, 7 Oct 2009 16:58:53 +0000 (16:58 +0000)]
Add test for NtUserSystemParametersInfo case SPI_SETMOUSECLICKLOCK

svn path=/trunk/; revision=43326

13 years ago- some preparation for ClickLock implementation
Matthias Kupfer [Wed, 7 Oct 2009 14:25:52 +0000 (14:25 +0000)]
- some preparation for ClickLock implementation

svn path=/trunk/; revision=43325

13 years ago[fastfat_new]
Aleksey Bragin [Wed, 7 Oct 2009 12:21:13 +0000 (12:21 +0000)]
[fastfat_new]
- Implement FatiQueryNameInformation. It doesn't work right now due to missing file names in the FCB record.
- Make a stub for FatSetFcbNames.

svn path=/trunk/; revision=43324

13 years ago- load UserPreferencesMask from registry
Matthias Kupfer [Wed, 7 Oct 2009 11:17:11 +0000 (11:17 +0000)]
- load UserPreferencesMask from registry

svn path=/trunk/; revision=43323

13 years ago[fastfat_new]
Aleksey Bragin [Wed, 7 Oct 2009 10:45:45 +0000 (10:45 +0000)]
[fastfat_new]
- Lower importance of some debug messages.
- Add FCB locking routines.
- Lock VCB and FCB in QueryInformation.

svn path=/trunk/; revision=43322

13 years ago[WDMAUD]
Johannes Anderwald [Wed, 7 Oct 2009 10:41:34 +0000 (10:41 +0000)]
[WDMAUD]
- Use KsProbeStreamIrp in wdmaud to probe user buffers
- Remove a few hacks which were required to pass down irps to portcls
[PORTCLS]
- Check if there is an automation table
[SYSAUDIO]
- Release file object of pin to prevent reference leak
--
- Audio stack now reacts faster as it now longer copies audio buffers in kernel mode and instead locks down the user buffers. In addition it uses less memory to do the same work.

svn path=/trunk/; revision=43321

13 years ago- Fix building of ReactOS
Johannes Anderwald [Wed, 7 Oct 2009 09:43:30 +0000 (09:43 +0000)]
- Fix building of ReactOS

svn path=/trunk/; revision=43320

13 years ago[fastfat_new]
Aleksey Bragin [Wed, 7 Oct 2009 09:27:03 +0000 (09:27 +0000)]
[fastfat_new]
- Properly complete non-implemented volume open requests.

svn path=/trunk/; revision=43319

13 years ago- Implement support for reading from waveIn devices
Johannes Anderwald [Wed, 7 Oct 2009 09:10:00 +0000 (09:10 +0000)]
- Implement support for reading from waveIn devices

svn path=/trunk/; revision=43318

13 years agoFix my stupid mistake, made in r43169. Bug #4863. Thanks to Gabriel & Victor.
Dmitry Gorbachev [Wed, 7 Oct 2009 01:41:53 +0000 (01:41 +0000)]
Fix my stupid mistake, made in r43169. Bug #4863. Thanks to Gabriel & Victor.

svn path=/trunk/; revision=43317

13 years ago- fix typo in registry key name
Matthias Kupfer [Wed, 7 Oct 2009 00:07:30 +0000 (00:07 +0000)]
- fix typo in registry key name
- fix wrong argument order in SystemParametersInfo call
- use static variables instead of multiple strings
- fix wrong pointer access in sysparams

svn path=/trunk/; revision=43316

13 years ago- Implement MIXER_GETLINEINFOF_COMPONENTTYPE for WdmAudGetLineInfo
Johannes Anderwald [Tue, 6 Oct 2009 18:16:21 +0000 (18:16 +0000)]
- Implement MIXER_GETLINEINFOF_COMPONENTTYPE for WdmAudGetLineInfo
- Implement MIXER_GETLINECONTROLSF_ONEBYID for WdmAudGetLineControls
- Clear MIXER_OBJECTF_HMIXER from Flags
- Fix a bug SetGetVolumeControlDetails which fixes retrieving current volume level (verified by sndvol32.exe from XP / mmsys.cpl ReactOS)

svn path=/trunk/; revision=43315

13 years ago- Fix creation of mixer pin
Johannes Anderwald [Tue, 6 Oct 2009 09:55:19 +0000 (09:55 +0000)]
- Fix creation of mixer pin

svn path=/trunk/; revision=43314

13 years ago- Partly implement WIDM_ADDBUFFER
Johannes Anderwald [Tue, 6 Oct 2009 09:54:10 +0000 (09:54 +0000)]
- Partly implement WIDM_ADDBUFFER

svn path=/trunk/; revision=43313

13 years ago- bind (almost all) mouse settings to system and registry and fixup sysparams
Matthias Kupfer [Tue, 6 Oct 2009 09:02:31 +0000 (09:02 +0000)]
- bind (almost all) mouse settings to system and registry and fixup sysparams

svn path=/trunk/; revision=43312

13 years ago- Implement WIDM_OPEN, WIDM_CLOSE, WIDM_PREPARE, WIDM_UNPREPARE, WIDM_RESET for wave...
Johannes Anderwald [Tue, 6 Oct 2009 08:47:27 +0000 (08:47 +0000)]
- Implement WIDM_OPEN, WIDM_CLOSE, WIDM_PREPARE, WIDM_UNPREPARE, WIDM_RESET for wave in devices
- Original code by Silverblade

svn path=/trunk/; revision=43311

13 years ago- Remove Thread from event structure and substitute with thread info from head structure.
James Tabor [Tue, 6 Oct 2009 04:22:11 +0000 (04:22 +0000)]
- Remove Thread from event structure and substitute with thread info from head structure.

svn path=/trunk/; revision=43310

13 years ago- Set Process, pass keyboard handle and enable check for user hooks.
James Tabor [Tue, 6 Oct 2009 03:38:23 +0000 (03:38 +0000)]
- Set Process, pass keyboard handle and enable check for user hooks.

svn path=/trunk/; revision=43309

13 years ago- use static variables instead of multiple strings
Matthias Kupfer [Mon, 5 Oct 2009 21:00:44 +0000 (21:00 +0000)]
- use static variables instead of multiple strings

svn path=/trunk/; revision=43308

13 years ago- add new desktop and mouse property keys to registry
Matthias Kupfer [Mon, 5 Oct 2009 19:53:15 +0000 (19:53 +0000)]
- add new desktop and mouse property keys to registry
- disable global settings from _SYSTEM_CURSORINFO and change files accordingly
- bind and load added registry keys for SystemParametersInfo
- TODO: read and set via SystemParametersInfo still incomplete

svn path=/trunk/; revision=43307

13 years ago- Fix a critical bug in the counted worker implementation
Johannes Anderwald [Mon, 5 Oct 2009 19:15:04 +0000 (19:15 +0000)]
- Fix a critical bug in the counted worker implementation

svn path=/trunk/; revision=43306

13 years ago- Implement setting / getting volume level
Johannes Anderwald [Mon, 5 Oct 2009 17:00:59 +0000 (17:00 +0000)]
- Implement setting / getting volume level

svn path=/trunk/; revision=43305

13 years ago- partly revert 43298
Matthias Kupfer [Mon, 5 Oct 2009 14:13:29 +0000 (14:13 +0000)]
- partly revert 43298
- fix the mouse swap button issue
- cleanup loading mouse properties
- change reg key types for mouse values like windows

svn path=/trunk/; revision=43304

13 years agoselect: change it to be more readable, avoid a spurious compiler warning.
Dmitry Gorbachev [Mon, 5 Oct 2009 14:13:15 +0000 (14:13 +0000)]
select: change it to be more readable, avoid a spurious compiler warning.

svn path=/trunk/; revision=43303

13 years agoAvoid GCC warnings: deprecated conversion from string constant to 'WCHAR*'.
Dmitry Gorbachev [Mon, 5 Oct 2009 14:13:09 +0000 (14:13 +0000)]
Avoid GCC warnings: deprecated conversion from string constant to 'WCHAR*'.

svn path=/trunk/; revision=43302

13 years agoDocument ROS_GENERATE_RSYM environment variable.
Dmitry Gorbachev [Mon, 5 Oct 2009 14:13:01 +0000 (14:13 +0000)]
Document ROS_GENERATE_RSYM environment variable.

svn path=/trunk/; revision=43301

13 years agoModify DPRINT / DRPINT1 macros, check if DbgPrint crashed. Bug #4420.
Dmitry Gorbachev [Mon, 5 Oct 2009 14:12:49 +0000 (14:12 +0000)]
Modify DPRINT / DRPINT1 macros, check if DbgPrint crashed. Bug #4420.

svn path=/trunk/; revision=43300

13 years agoFix internal name of ntkrnlmp.exe. Alexander Yastrebov (menone7 ~at~ gmail com),...
Dmitry Gorbachev [Mon, 5 Oct 2009 14:12:33 +0000 (14:12 +0000)]
Fix internal name of ntkrnlmp.exe. Alexander Yastrebov (menone7 ~at~ gmail com), bug #4821.

svn path=/trunk/; revision=43299

13 years ago- fix the mouse swap button issue
Matthias Kupfer [Mon, 5 Oct 2009 11:35:06 +0000 (11:35 +0000)]
- fix the mouse swap button issue
- cleanup loading mouse properties
- add function to load and store DWORD for sysparams registry keys
- TODO: check and fix the get and set cases for sysparams for the right registry key type

svn path=/trunk/; revision=43298

13 years ago - Remove the STATUS_PENDING case in UnlockAndMaybeComplete so we can catch pending...
Cameron Gutman [Mon, 5 Oct 2009 02:31:16 +0000 (02:31 +0000)]
 - Remove the STATUS_PENDING case in UnlockAndMaybeComplete so we can catch pending IRPs which didn't get queued in the PendingIrpList

svn path=/trunk/; revision=43297

13 years ago - Cancel pending user IRPs when we get a IRP_MJ_CLEANUP request
Cameron Gutman [Mon, 5 Oct 2009 01:44:17 +0000 (01:44 +0000)]
 - Cancel pending user IRPs when we get a IRP_MJ_CLEANUP request
 - Previously there was some confusion between IRPs in PendingIrpList and InFlightRequest, InFlightRequest IRPs go from AFD to a TDI transport driver (tcpip) which are sent on behalf of AFD and are cancelled upon socket destruction (IRP_MJ_CLOSE) vs. IRPs in the PendingIrpList which go from user-mode to AFD which are sent of behalf of the user and should be cancelled when handling IRP_MJ_CLEANUP

svn path=/trunk/; revision=43296

13 years agoAdd "#pragma code_page(...)" again to fix compilation.
Dmitry Gorbachev [Sun, 4 Oct 2009 22:40:01 +0000 (22:40 +0000)]
Add "#pragma code_page(...)" again to fix compilation.

svn path=/trunk/; revision=43295

13 years agoUpdate German NLS Files in Kernel32
Daniel Reimer [Sun, 4 Oct 2009 22:32:07 +0000 (22:32 +0000)]
Update German NLS Files in Kernel32

svn path=/trunk/; revision=43294

13 years agoAdd Spanish translation of Kernel32, fix translation of ServMan. Javier Remacha,...
Dmitry Gorbachev [Sun, 4 Oct 2009 22:03:21 +0000 (22:03 +0000)]
Add Spanish translation of Kernel32, fix translation of ServMan. Javier Remacha, bug #4872.

svn path=/trunk/; revision=43293

13 years agotemporarily workaround for swap mouse buttons feature
Matthias Kupfer [Sun, 4 Oct 2009 20:45:51 +0000 (20:45 +0000)]
temporarily workaround for swap mouse buttons feature

svn path=/trunk/; revision=43292

13 years ago- Add STATUS_ASSERTION_FAILURE status code required for NT_ASSERT.
Stefan Ginsberg [Sun, 4 Oct 2009 20:19:43 +0000 (20:19 +0000)]
- Add STATUS_ASSERTION_FAILURE status code required for NT_ASSERT.
- Check KdReceivePacket return for KdPacketReceived instead of 0 for correctness.
- Use KdpDprintf instead of setting CR2 for unhandled cases.
- Add more variables to KdDebuggerDataBlock.

svn path=/trunk/; revision=43291

13 years ago- Return correct status code
Johannes Anderwald [Sun, 4 Oct 2009 20:14:09 +0000 (20:14 +0000)]
- Return correct status code

svn path=/trunk/; revision=43290

13 years ago- Implement Un-Muting of audio lines
Johannes Anderwald [Sun, 4 Oct 2009 19:45:16 +0000 (19:45 +0000)]
- Implement Un-Muting of audio lines
- TBD: SEH probing

svn path=/trunk/; revision=43289

13 years ago- remove double entry in inf
Matthias Kupfer [Sun, 4 Oct 2009 19:28:52 +0000 (19:28 +0000)]
- remove double entry in inf
- load mouse settings
- TODO: mouse settings doesn't work properly, but read and set works

svn path=/trunk/; revision=43288

13 years ago - Don't add the media-specific header until right before transmission
Cameron Gutman [Sun, 4 Oct 2009 19:23:53 +0000 (19:23 +0000)]
 - Don't add the media-specific header until right before transmission
 - Previously we would store the largest media-specific header size and add that value when creating a packet
 - Makes loopback packets smaller because they have no need for a media-specific header
 - Would fix packet corruption if interfaces with different media-specific headers were installed (if we supported that)
 - Makes adding support for other media types easier

svn path=/trunk/; revision=43287

13 years agoUpdate Spanish translations. Javier Remacha, bug #4872.
Dmitry Gorbachev [Sun, 4 Oct 2009 18:12:14 +0000 (18:12 +0000)]
Update Spanish translations. Javier Remacha, bug #4872.

svn path=/trunk/; revision=43286

13 years ago- Don't call ExFreePool for null pointers
Johannes Anderwald [Sun, 4 Oct 2009 17:39:26 +0000 (17:39 +0000)]
- Don't call ExFreePool for null pointers

svn path=/trunk/; revision=43285

13 years agocorrected magnifying glass cursor
Benedikt Freisen [Sun, 4 Oct 2009 17:25:55 +0000 (17:25 +0000)]
corrected magnifying glass cursor

svn path=/trunk/; revision=43284

13 years agoMega KD64 revival patch:
Stefan Ginsberg [Sun, 4 Oct 2009 16:53:15 +0000 (16:53 +0000)]
Mega KD64 revival patch:
KD64
- Fix some 64-bit issues and some x86 specificness.
- Sub out some KdpTrap cases more properly.
- Implement support for .crash and .reboot. Does not seem to work currently because of weird issues.
- Implement KdpDprintf to send strings directly to the debugger from inside of KD64. Use it in KdEnterDebugger instead of DbgPrint so we won't try to enter the debugger recursively.
- Implement KdUpdateDataBlock to set the KeUserCallbackDispatcher pointer in the debugger block after its address is retrieved from ntdll.
- Don't assume breakpoints are 1 byte long in portable code -- use KD_BREAKPOINT_SIZE and define it per architecture.
- KdpStub: KdEnableDebugger returns NTSTATUS, not TRUE/FALSE.

Other
- wdbgexts.h: Properly define CURRENT_KD_SECONDARY_VERSION for AMD64.
- Make PsNtosImageBase pointer-sized as it should be.
- Change the definition of KDSTATUS so it is guaranteed to be 32-bit.
- Fix a critical bug in KiRestoreProcessorControlState: it didn't clear the busy flag in the TSS before reloading the task register, resulting in a GPF if we tried to reload the same register.
- Add macros for getting and setting special purpose registers (the Program Counter and the "return register") in portable code instead of using #ifdef every time. Do likewise for setting IMAGE_FILE_MACHINE_XXX, using a new IMAGE_FILE_MACHINE_ARCHITECTURE macro.
- Don't refer to the Program Counter as "Eip" in portable code.
- Define DBG_STATUS_CONTROL_C for assembly code and use it in KeUpdateSystemTime.

svn path=/trunk/; revision=43283

13 years ago- Convert remaining KEBUGCHECK to KeBugCheck.
Stefan Ginsberg [Sun, 4 Oct 2009 14:48:18 +0000 (14:48 +0000)]
- Convert remaining KEBUGCHECK to KeBugCheck.
- Add HAL_MEMORY_ALLOCATION bug code and use it.

svn path=/trunk/; revision=43282

13 years ago- DragFullWindow property changable via desktop settings / effects
Matthias Kupfer [Sun, 4 Oct 2009 10:50:18 +0000 (10:50 +0000)]
- DragFullWindow property changable via desktop settings / effects
- TODO: adapt desk.cpl to new sysparams implementation

svn path=/trunk/; revision=43281

13 years agoedit.c: Remove TPM_RETURNCMD flag from TrackPopupMenu missed during a recent WINE...
Michael Martin [Sun, 4 Oct 2009 07:26:23 +0000 (07:26 +0000)]
edit.c: Remove TPM_RETURNCMD flag from TrackPopupMenu missed during a recent WINE sync. Most apps that use edit control context menus are back to working. VB apps still crashes as the context menu implementation for edit controls is slightly wrong.

svn path=/trunk/; revision=43280

13 years ago - Put some code back which was removed in r43270
Cameron Gutman [Sun, 4 Oct 2009 03:55:34 +0000 (03:55 +0000)]
 - Put some code back which was removed in r43270

svn path=/trunk/; revision=43279

13 years agouse __debugbreak() insetad of EngDebugBreak()
Timo Kreuzer [Sun, 4 Oct 2009 00:04:38 +0000 (00:04 +0000)]
use __debugbreak() insetad of EngDebugBreak()
dedicated to Alex

svn path=/trunk/; revision=43278

13 years ago- Dont need this then.
James Tabor [Sat, 3 Oct 2009 23:42:06 +0000 (23:42 +0000)]
- Dont need this then.

svn path=/trunk/; revision=43277

13 years ago- Use TIF in cleanup flag.
James Tabor [Sat, 3 Oct 2009 23:39:30 +0000 (23:39 +0000)]
- Use TIF in cleanup flag.

svn path=/trunk/; revision=43276

13 years ago - Add cancellation support for IOCTL_AFD_SELECT
Cameron Gutman [Sat, 3 Oct 2009 21:34:34 +0000 (21:34 +0000)]
 - Add cancellation support for IOCTL_AFD_SELECT
 - Fix release build

svn path=/trunk/; revision=43275

13 years ago - Implement IRP cancellation for AFD
Cameron Gutman [Sat, 3 Oct 2009 20:52:54 +0000 (20:52 +0000)]
 - Implement IRP cancellation for AFD
 - Fixes "Broken driver did not complete!" showing up in the debug log (especially during winetests)

svn path=/trunk/; revision=43274

13 years agoWINLDR: Finally, set Windows boot style as default
Hervé Poussineau [Sat, 3 Oct 2009 20:09:57 +0000 (20:09 +0000)]
WINLDR: Finally, set Windows boot style as default
Many thanks to Fireball and Alex for your hard work on Windows boot style

svn path=/trunk/; revision=43273

13 years ago[usetup] Simplify creation of entries in freeldr.ini
Hervé Poussineau [Sat, 3 Oct 2009 19:43:29 +0000 (19:43 +0000)]
[usetup] Simplify creation of entries in freeldr.ini

svn path=/trunk/; revision=43272

13 years ago[freeldr] Remove MachDiskGetPartitionEntry, and directly use the correct one
Hervé Poussineau [Sat, 3 Oct 2009 18:41:10 +0000 (18:41 +0000)]
[freeldr] Remove MachDiskGetPartitionEntry, and directly use the correct one
Remove PpcDiskNormalizeSystemPath(), it was the same as DiskNormalizeSystemPath()

svn path=/trunk/; revision=43271

13 years ago - Fix the crash in ws2_32_winetest during the ioctlsocket test
Cameron Gutman [Sat, 3 Oct 2009 18:21:14 +0000 (18:21 +0000)]
 - Fix the crash in ws2_32_winetest during the ioctlsocket test
 - Pass the blocking mode down to AFD
 - Dedicated to encoded

svn path=/trunk/; revision=43270

13 years ago- consider DragFullWindows-value from Registry
Matthias Kupfer [Sat, 3 Oct 2009 17:13:02 +0000 (17:13 +0000)]
- consider DragFullWindows-value from Registry

svn path=/trunk/; revision=43269

13 years ago[freeldr] Remove (Mach)DiskGetBootDevice, DiskGetBootVolume, DiskGetSystemVolume...
Hervé Poussineau [Sat, 3 Oct 2009 17:00:29 +0000 (17:00 +0000)]
[freeldr] Remove (Mach)DiskGetBootDevice, DiskGetBootVolume, DiskGetSystemVolume, FsRecognizeVolume
This commit breaks ext2 driver in freeldr, which needs to use ArcSeek/ArcRead/Arc* instead of DiskGetBootVolume/MachDiskReadLogicalSectors

svn path=/trunk/; revision=43268

13 years agoRework FAT filesystem to not be tied to boot filesystem
Hervé Poussineau [Sat, 3 Oct 2009 16:47:54 +0000 (16:47 +0000)]
Rework FAT filesystem to not be tied to boot filesystem

svn path=/trunk/; revision=43267

13 years ago* only show message box on exit if the image has not been saved and is not blank
Benedikt Freisen [Sat, 3 Oct 2009 16:33:41 +0000 (16:33 +0000)]
* only show message box on exit if the image has not been saved and is not blank
* set as wallpaper: now working, setting wallpaper style: not yet
* made number of undo-steps changeable through define-statement; increased to 10 (see original)
* zoom tool got its track bar (see original)

svn path=/trunk/; revision=43266

13 years ago- Replace some x86 assembly in drivers with portable breakpoint support.
Stefan Ginsberg [Sat, 3 Oct 2009 14:15:46 +0000 (14:15 +0000)]
- Replace some x86 assembly in drivers with portable breakpoint support.

svn path=/trunk/; revision=43265

13 years ago[freeldr] Fix warning on recent GCC versions
Hervé Poussineau [Sat, 3 Oct 2009 13:29:41 +0000 (13:29 +0000)]
[freeldr] Fix warning on recent GCC versions

svn path=/trunk/; revision=43264

13 years ago[freeldr] Code code specific to ARC emulation to its own directory
Hervé Poussineau [Sat, 3 Oct 2009 13:11:22 +0000 (13:11 +0000)]
[freeldr] Code code specific to ARC emulation to its own directory

svn path=/trunk/; revision=43263

13 years ago[freeldr] It's easy to check if we booted from a floppy thanks to boot path. No need...
Hervé Poussineau [Sat, 3 Oct 2009 12:49:14 +0000 (12:49 +0000)]
[freeldr] It's easy to check if we booted from a floppy thanks to boot path. No need to maintain a machine callback for that

svn path=/trunk/; revision=43262

13 years agoWINLDR: Move i386 specific code to its own file
Hervé Poussineau [Sat, 3 Oct 2009 12:36:52 +0000 (12:36 +0000)]
WINLDR: Move i386 specific code to its own file

svn path=/trunk/; revision=43261

13 years ago- Implement delete of the program information from the registry
Dmitry Chapyshev [Sat, 3 Oct 2009 09:34:19 +0000 (09:34 +0000)]
- Implement delete of the program information from the registry
- Store settings information in HKEY_LOCAL_MACHINE instead HKEY_CURRENT_USER

svn path=/trunk/; revision=43260