reactos.git
15 years ago - Handle STATUS_BUFFER_TOO_SMALL
Cameron Gutman [Wed, 13 Aug 2008 22:33:48 +0000 (22:33 +0000)]
 - Handle STATUS_BUFFER_TOO_SMALL
 - Handle STATUS_NO_MEMORY

svn path=/branches/aicom-network-fixes/; revision=35320

15 years ago - Set Buf to NULL so we don't try to free it again later
Cameron Gutman [Wed, 13 Aug 2008 14:53:22 +0000 (14:53 +0000)]
 - Set Buf to NULL so we don't try to free it again later

svn path=/branches/aicom-network-fixes/; revision=35306

15 years ago - Revert r35279 due to some odd problems with UnlockBuffers when completing
Cameron Gutman [Wed, 13 Aug 2008 04:40:39 +0000 (04:40 +0000)]
 - Revert r35279 due to some odd problems with UnlockBuffers when completing

svn path=/branches/aicom-network-fixes/; revision=35298

15 years ago - Don't crash if we are already freed
Cameron Gutman [Wed, 13 Aug 2008 02:55:05 +0000 (02:55 +0000)]
 - Don't crash if we are already freed
 - Some code frees the buffers right after an operation fails which is fine

svn path=/branches/aicom-network-fixes/; revision=35297

15 years ago - Move memory freeing to ListenComplete
Cameron Gutman [Wed, 13 Aug 2008 00:19:34 +0000 (00:19 +0000)]
 - Move memory freeing to ListenComplete

svn path=/branches/aicom-network-fixes/; revision=35296

15 years ago - Check for FCB->TdiDeviceName.Buffer before attempting to access it
Cameron Gutman [Tue, 12 Aug 2008 20:03:53 +0000 (20:03 +0000)]
 - Check for FCB->TdiDeviceName.Buffer before attempting to access it
 - Fix 2 more memory leaks

svn path=/branches/aicom-network-fixes/; revision=35292

15 years ago - Free the MDL on failure
Cameron Gutman [Tue, 12 Aug 2008 18:34:07 +0000 (18:34 +0000)]
 - Free the MDL on failure
 - Use _SEH_YIELD

svn path=/branches/aicom-network-fixes/; revision=35291

15 years ago - Make sure both FCB->Recv.Window and FCB->Send.Window were created before returning...
Cameron Gutman [Tue, 12 Aug 2008 18:18:03 +0000 (18:18 +0000)]
 - Make sure both FCB->Recv.Window and FCB->Send.Window were created before returning STATUS_SUCCESS
 - Make sure MakeSocketIntoConnection() completed successfully
 - Make sure WarmSocketForConnection() completed successfully
 - Don't continue if TdiBuildNullConnectionInfoInPlace() fails
 - SEHify TdiBuildConnectionInfoInPlace()
 - Make sure we have a non-NULL TargetAddress before calling TdiSendDatagram()

svn path=/branches/aicom-network-fixes/; revision=35290

15 years ago - Fix another memory leak
Cameron Gutman [Tue, 12 Aug 2008 15:27:15 +0000 (15:27 +0000)]
 - Fix another memory leak

svn path=/branches/aicom-network-fixes/; revision=35289

15 years ago - Don't forget to call UnlockBuffers()
Cameron Gutman [Tue, 12 Aug 2008 03:20:52 +0000 (03:20 +0000)]
 - Don't forget to call UnlockBuffers()
 - Use Irp->IoStatus.Information instead of RecvReq->BufferArray[0].len

svn path=/branches/aicom-network-fixes/; revision=35283

15 years ago - Don't continue if locking failed
Cameron Gutman [Mon, 11 Aug 2008 22:44:24 +0000 (22:44 +0000)]
 - Don't continue if locking failed

svn path=/branches/aicom-network-fixes/; revision=35282

15 years ago - Only call LockBuffers() if we must
Cameron Gutman [Mon, 11 Aug 2008 15:32:45 +0000 (15:32 +0000)]
 - Only call LockBuffers() if we must

svn path=/branches/aicom-network-fixes/; revision=35279

15 years ago - Set the MDL we just freed to NULL so we don't try to free it again later
Cameron Gutman [Mon, 11 Aug 2008 14:38:17 +0000 (14:38 +0000)]
 - Set the MDL we just freed to NULL so we don't try to free it again later

svn path=/branches/aicom-network-fixes/; revision=35274

15 years ago - Move check for NULL FCB before trying to access it
Cameron Gutman [Sun, 10 Aug 2008 11:23:05 +0000 (11:23 +0000)]
 - Move check for NULL FCB before trying to access it
 - Should fix a random crash I got when testing my web server

svn path=/branches/aicom-network-fixes/; revision=35260

15 years ago - Uncomment TdiQueryAddress and get it to compile
Cameron Gutman [Sat, 9 Aug 2008 23:44:44 +0000 (23:44 +0000)]
 - Uncomment TdiQueryAddress and get it to compile

svn path=/branches/aicom-network-fixes/; revision=35251

15 years ago - Uncomment TdiQueryInformationEx and make it compile
Cameron Gutman [Sat, 9 Aug 2008 23:25:46 +0000 (23:25 +0000)]
 - Uncomment TdiQueryInformationEx and make it compile

svn path=/branches/aicom-network-fixes/; revision=35250

15 years ago - Fix another memory leak
Cameron Gutman [Sat, 9 Aug 2008 19:03:37 +0000 (19:03 +0000)]
 - Fix another memory leak

svn path=/branches/aicom-network-fixes/; revision=35246

15 years ago - Remove ASSERTs and return STATUS_INVALID_PARAMETER
Cameron Gutman [Fri, 8 Aug 2008 17:50:00 +0000 (17:50 +0000)]
 - Remove ASSERTs and return STATUS_INVALID_PARAMETER
 - Should fix Christoph's problem with ROS crashing when closing emule

svn path=/branches/aicom-network-fixes/; revision=35189

15 years ago - Add some ASSERTs
Cameron Gutman [Fri, 8 Aug 2008 16:56:51 +0000 (16:56 +0000)]
 - Add some ASSERTs

svn path=/branches/aicom-network-fixes/; revision=35188

15 years ago - Remove duplicate code
Cameron Gutman [Fri, 8 Aug 2008 16:17:06 +0000 (16:17 +0000)]
 - Remove duplicate code

svn path=/branches/aicom-network-fixes/; revision=35186

15 years ago - Revert my lib changes until I figure out some problems with them
Cameron Gutman [Thu, 7 Aug 2008 02:40:45 +0000 (02:40 +0000)]
 - Revert my lib changes until I figure out some problems with them

svn path=/branches/aicom-network-fixes/; revision=35155

15 years ago - Don't check Status so we don't quit looping after the first unsuccessful IRP
Cameron Gutman [Wed, 6 Aug 2008 22:19:53 +0000 (22:19 +0000)]
 - Don't check Status so we don't quit looping after the first unsuccessful IRP

svn path=/branches/aicom-network-fixes/; revision=35152

15 years ago - Use Status instead of IOSB.Status in some cases
Cameron Gutman [Tue, 5 Aug 2008 16:32:56 +0000 (16:32 +0000)]
 - Use Status instead of IOSB.Status in some cases

svn path=/branches/aicom-network-fixes/; revision=35129

15 years ago - Close the handle on failure
Cameron Gutman [Tue, 5 Aug 2008 01:46:59 +0000 (01:46 +0000)]
 - Close the handle on failure

svn path=/branches/aicom-network-fixes/; revision=35116

15 years ago - Fix one more memory leak
Cameron Gutman [Mon, 4 Aug 2008 21:06:39 +0000 (21:06 +0000)]
 - Fix one more memory leak
 - Note: The reason the network stack stops functioning occasionally is because it runs out of resources not because ReactOS crashes which is why I'm tracking down memory leaks

svn path=/branches/aicom-network-fixes/; revision=35114

15 years ago - Forgot to include one fix in my last commit
Cameron Gutman [Mon, 4 Aug 2008 17:11:04 +0000 (17:11 +0000)]
 - Forgot to include one fix in my last commit

svn path=/branches/aicom-network-fixes/; revision=35110

15 years ago - Fix more memory leaks
Cameron Gutman [Mon, 4 Aug 2008 16:46:53 +0000 (16:46 +0000)]
 - Fix more memory leaks

svn path=/branches/aicom-network-fixes/; revision=35107

15 years ago - Fix more leaks
Cameron Gutman [Mon, 4 Aug 2008 16:20:08 +0000 (16:20 +0000)]
 - Fix more leaks

svn path=/branches/aicom-network-fixes/; revision=35106

15 years ago - Revert the rest of r35080
Cameron Gutman [Mon, 4 Aug 2008 15:19:23 +0000 (15:19 +0000)]
 - Revert the rest of r35080
 - The memory is freed in AfdAccept

svn path=/branches/aicom-network-fixes/; revision=35102

15 years ago - Revert part of r35080
Cameron Gutman [Mon, 4 Aug 2008 15:16:44 +0000 (15:16 +0000)]
 - Revert part of r35080

svn path=/branches/aicom-network-fixes/; revision=35101

15 years ago - Fix 2 more memory leaks
Cameron Gutman [Sun, 3 Aug 2008 18:49:30 +0000 (18:49 +0000)]
 - Fix 2 more memory leaks

svn path=/branches/aicom-network-fixes/; revision=35080

15 years ago - Fail if we can't allocate memory
Cameron Gutman [Sun, 3 Aug 2008 18:02:10 +0000 (18:02 +0000)]
 - Fail if we can't allocate memory
 - Fix a memory leak
 - Also resize the buffer on STATUS_BUFFER_OVERFLOW

svn path=/branches/aicom-network-fixes/; revision=35076

15 years ago - Don't continue if OpenRegistryKey fails
Cameron Gutman [Sun, 3 Aug 2008 17:27:16 +0000 (17:27 +0000)]
 - Don't continue if OpenRegistryKey fails

svn path=/branches/aicom-network-fixes/; revision=35073

15 years ago - Handle STATUS_REMOTE_NOT_LISTENING
Cameron Gutman [Sun, 3 Aug 2008 09:52:22 +0000 (09:52 +0000)]
 - Handle STATUS_REMOTE_NOT_LISTENING

svn path=/branches/aicom-network-fixes/; revision=35062

15 years ago - Handle STATUS_INSUFFICIENT_RESOURCES
Cameron Gutman [Sun, 3 Aug 2008 09:40:13 +0000 (09:40 +0000)]
 - Handle STATUS_INSUFFICIENT_RESOURCES

svn path=/branches/aicom-network-fixes/; revision=35061

15 years ago - Check to see if the ZwEnumerateKey call succeeded with the larger buffer and conti...
Cameron Gutman [Sun, 3 Aug 2008 05:10:53 +0000 (05:10 +0000)]
 - Check to see if the ZwEnumerateKey call succeeded with the larger buffer and continue if possible

svn path=/branches/aicom-network-fixes/; revision=35055

15 years ago - Add some more debug prints for memory allocation/freeing
Cameron Gutman [Sun, 3 Aug 2008 03:05:39 +0000 (03:05 +0000)]
 - Add some more debug prints for memory allocation/freeing

svn path=/branches/aicom-network-fixes/; revision=35054

15 years ago - We must assign values to Irp->IoStatus.Status and Irp->IoStatus.Information becaus...
Cameron Gutman [Sun, 3 Aug 2008 01:38:05 +0000 (01:38 +0000)]
 - We must assign values to Irp->IoStatus.Status and Irp->IoStatus.Information because the function that called us might not call UnlockAndMaybeComplete to assign those values

svn path=/branches/aicom-network-fixes/; revision=35053

15 years ago - Set Irp->IoStatus.Information to 0
Cameron Gutman [Sat, 2 Aug 2008 20:53:32 +0000 (20:53 +0000)]
 - Set Irp->IoStatus.Information to 0
 - Set Irp->IoStatus.Status before returning

svn path=/branches/aicom-network-fixes/; revision=35046

15 years ago - We must complete the IRP if we fail because the function we were called from expec...
Cameron Gutman [Sat, 2 Aug 2008 14:52:19 +0000 (14:52 +0000)]
 - We must complete the IRP if we fail because the function we were called from expects the IRP to be completed after this call
 - Return the correct status

svn path=/branches/aicom-network-fixes/; revision=35038

15 years ago - Fix a bug where Irp->IoStatus wasn't set if Status == STATUS_PENDING
Cameron Gutman [Sat, 2 Aug 2008 03:51:17 +0000 (03:51 +0000)]
 - Fix a bug where Irp->IoStatus wasn't set if Status == STATUS_PENDING

svn path=/branches/aicom-network-fixes/; revision=35024

15 years ago - Make sure to set Irp->IoStatus.Status to the correct status
Cameron Gutman [Sat, 2 Aug 2008 03:17:53 +0000 (03:17 +0000)]
 - Make sure to set Irp->IoStatus.Status to the correct status

svn path=/branches/aicom-network-fixes/; revision=35023

15 years ago- These should no longer be needed now that TDI doesn't give back invalid IRPs
Cameron Gutman [Fri, 1 Aug 2008 17:21:52 +0000 (17:21 +0000)]
- These should no longer be needed now that TDI doesn't give back invalid IRPs
- I'll look into the canceling issue later

svn path=/branches/aicom-network-fixes/; revision=35014

15 years ago* Fix many memory leaks by unmapping MDL pages when UnlockAndMaybeComplete and LostSo...
Cameron Gutman [Fri, 1 Aug 2008 12:19:18 +0000 (12:19 +0000)]
* Fix many memory leaks by unmapping MDL pages when UnlockAndMaybeComplete and LostSocket are called with Status != STATUS_PENDING
This change should probably be merged to trunk before 0.3.6

svn path=/branches/aicom-network-fixes/; revision=35001

15 years ago * Properly handle STATUS_TIMEOUT
Cameron Gutman [Fri, 1 Aug 2008 12:06:19 +0000 (12:06 +0000)]
 * Properly handle STATUS_TIMEOUT
 * Don't crash if STATUS_END_OF_FILE and a NULL ReturnedBytes are passed
 * Handle STATUS_INVALID_CONNECTION

svn path=/branches/aicom-network-fixes/; revision=34997

15 years agoCreate a branch for network fixes.
Art Yerkes [Fri, 1 Aug 2008 11:32:26 +0000 (11:32 +0000)]
Create a branch for network fixes.

svn path=/branches/aicom-network-fixes/; revision=34994

15 years agoLars Martin Hambro <lars_martin4 AT hotmail DOT com>
Matthias Kupfer [Fri, 1 Aug 2008 10:17:41 +0000 (10:17 +0000)]
Lars Martin Hambro <lars_martin4 AT hotmail DOT com>
- Norwegian translation of magnify and downloader added.
- Fixed resource file (we request patches, not single changed files)
- See issue #3504 for more information.

svn path=/trunk/; revision=34993

15 years agoUpdated French translation for shell32. Also fixed typo, even if I thought I already...
Pierre Schweitzer [Fri, 1 Aug 2008 09:14:56 +0000 (09:14 +0000)]
Updated French translation for shell32. Also fixed typo, even if I thought I already did it!?

svn path=/trunk/; revision=34991

15 years ago- Preliminary implementation of SetWinEventHook and UnhookWinEvent.
James Tabor [Thu, 31 Jul 2008 23:48:35 +0000 (23:48 +0000)]
- Preliminary implementation of SetWinEventHook and UnhookWinEvent.
- Only wine cross test uses this and testing is not stable.
- Patches are welcome but all code is subject to change.
- All Hook code should be ready by Aug 4th.

svn path=/trunk/; revision=34988

15 years ago- Support relative callback proc with module base.
James Tabor [Thu, 31 Jul 2008 22:48:59 +0000 (22:48 +0000)]
- Support relative callback proc with module base.

svn path=/trunk/; revision=34985

15 years agoFix handle leaks in RtlCreateUserThread and SmExecPgm.
Jeffrey Morlan [Thu, 31 Jul 2008 21:33:17 +0000 (21:33 +0000)]
Fix handle leaks in RtlCreateUserThread and SmExecPgm.

svn path=/trunk/; revision=34984

15 years agoMario Kacmar <kario AT szm DOT sk>
Matthias Kupfer [Thu, 31 Jul 2008 19:53:49 +0000 (19:53 +0000)]
Mario Kacmar <kario AT szm DOT sk>
- Key remapping for qwertz applied.

svn path=/trunk/; revision=34983

15 years agoIn exit and _cexit, call atexit routines. (Bug 3432_)
Jeffrey Morlan [Thu, 31 Jul 2008 17:46:50 +0000 (17:46 +0000)]
In exit and _cexit, call atexit routines. (Bug 3432_)

svn path=/trunk/; revision=34980

15 years ago- Change an infinite loop to an assert to simplify debugging
Stefan Ginsberg [Thu, 31 Jul 2008 14:25:35 +0000 (14:25 +0000)]
- Change an infinite loop to an assert to simplify debugging

svn path=/trunk/; revision=34979

15 years ago- Fix ARM NTOS brekage (and amd64/ppc):
ReactOS Portable Systems Group [Thu, 31 Jul 2008 07:31:55 +0000 (07:31 +0000)]
- Fix ARM NTOS brekage (and amd64/ppc):
  - Only build kd/i386 on i386 builds since this code is x86-32 centric.
  - Only call KdpEnableSafeMem on i386 builds, since the code uses x86-32 centric defines.

svn path=/trunk/; revision=34977

15 years agommcreatevirtualmapping internal should accept process as input parameter, not assume...
ReactOS Portable Systems Group [Thu, 31 Jul 2008 07:09:28 +0000 (07:09 +0000)]
mmcreatevirtualmapping internal should accept process as input parameter, not assume null.

implement a broken version of mmcreateprocessaddressspace.

commit current checkpoint of arm mmu manager virtual mapping rewrite to sync with i386 code. the kernel part works fine and the kernel boots as far as it did before, but the code is still ugly.

svn path=/trunk/; revision=34976

15 years agodont include i386 headers in arm mmu manager headers.
ReactOS Portable Systems Group [Thu, 31 Jul 2008 07:07:00 +0000 (07:07 +0000)]
dont include i386 headers in arm mmu manager headers.

svn path=/trunk/; revision=34975

15 years agoimplement kiuserinitializeapc, and begin writing test code for kiswapprocess.
ReactOS Portable Systems Group [Thu, 31 Jul 2008 07:06:19 +0000 (07:06 +0000)]
implement kiuserinitializeapc, and begin writing test code for kiswapprocess.

svn path=/trunk/; revision=34974

15 years agofix formatting of i386 mmu code.
ReactOS Portable Systems Group [Thu, 31 Jul 2008 07:04:58 +0000 (07:04 +0000)]
fix formatting of i386 mmu code.

svn path=/trunk/; revision=34973

15 years agoPatch by Gregor Schneider a.k.a DosX
Matthias Kupfer [Wed, 30 Jul 2008 21:16:03 +0000 (21:16 +0000)]
Patch by Gregor Schneider a.k.a DosX
- use line breaks in debug output

svn path=/trunk/; revision=34966

15 years ago- center window only once
Matthias Kupfer [Wed, 30 Jul 2008 18:54:05 +0000 (18:54 +0000)]
- center window only once
- get path from executable module instead of current directory

svn path=/trunk/; revision=34964

15 years ago- don't display network propery dialog since it is not yet implemented
Johannes Anderwald [Wed, 30 Jul 2008 16:55:45 +0000 (16:55 +0000)]
- don't display network propery dialog since it is not yet implemented

svn path=/trunk/; revision=34963

15 years agouniform distribution of memory progress bars
Matthias Kupfer [Wed, 30 Jul 2008 15:12:09 +0000 (15:12 +0000)]
uniform distribution of memory progress bars

svn path=/trunk/; revision=34962

15 years agokernel32: Don't enter the ConsoleLock if it has already been deleted by DllMain....
Jeffrey Morlan [Wed, 30 Jul 2008 15:00:57 +0000 (15:00 +0000)]
kernel32: Don't enter the ConsoleLock if it has already been deleted by DllMain. Patch by hto (hto at dev dot null) (Bug 2308)

svn path=/trunk/; revision=34961

15 years agoRemove all translations for the "Paged Memory", "Nonpaged Memory" and "Free Memory...
Colin Finck [Wed, 30 Jul 2008 14:15:41 +0000 (14:15 +0000)]
Remove all translations for the "Paged Memory", "Nonpaged Memory" and "Free Memory" progress bars.
This is debug stuff, which should have never been translated. As the translated strings are also sometimes longer than the english ones, they led to unnecessary problems like text overlapping.

svn path=/trunk/; revision=34960

15 years ago- Fix Irp flags assignment in case of an IoAllocateIrp call with ChargeQuota set...
Aleksey Bragin [Wed, 30 Jul 2008 13:24:05 +0000 (13:24 +0000)]
- Fix Irp flags assignment in case of an IoAllocateIrp call with ChargeQuota set to TRUE. Reduces number of kmtest failures by 1.

svn path=/trunk/; revision=34959

15 years ago- dont double free an irp
Johannes Anderwald [Wed, 30 Jul 2008 13:13:52 +0000 (13:13 +0000)]
- dont double free an irp
- patch by bugboy
- bug 3530

svn path=/trunk/; revision=34958

15 years ago- fix a bug which made the label display 2x times the drive letter
Johannes Anderwald [Wed, 30 Jul 2008 13:09:49 +0000 (13:09 +0000)]
- fix a bug which made the label display 2x times the drive letter

svn path=/trunk/; revision=34957

15 years ago- fix wrong "ss" in German (Germany) ressource
Matthias Kupfer [Wed, 30 Jul 2008 12:34:00 +0000 (12:34 +0000)]
- fix wrong "ss" in German (Germany) ressource
- Swiss German version need own ressource file

svn path=/trunk/; revision=34956

15 years ago- SVN maintenance.
Aleksey Bragin [Wed, 30 Jul 2008 12:22:10 +0000 (12:22 +0000)]
- SVN maintenance.

svn path=/trunk/; revision=34955

15 years agoMario Kacmar <kario AT szm DOT sk>
Matthias Kupfer [Wed, 30 Jul 2008 12:14:30 +0000 (12:14 +0000)]
Mario Kacmar <kario AT szm DOT sk>
- Updated Slovak translation for eventvwr, win32 and new Slovak translation for regedit added.
- See issue #33610 for more details.

svn path=/trunk/; revision=34954

15 years ago- By default enable all tests. 0 failures in Windows XP SP3.
Aleksey Bragin [Wed, 30 Jul 2008 11:15:48 +0000 (11:15 +0000)]
- By default enable all tests. 0 failures in Windows XP SP3.

svn path=/trunk/; revision=34953

15 years agoDaniel Verkamp (daniel.verkamp@gmail.com)
Colin Finck [Wed, 30 Jul 2008 11:12:25 +0000 (11:12 +0000)]
Daniel Verkamp (daniel.verkamp@gmail.com)
- Sync "list.h" to Wine to fix a pointer to integer cast warning on 64-bit hosts

See issue #3579 for more details.

svn path=/trunk/; revision=34952

15 years ago- Add unloading ability.
Aleksey Bragin [Wed, 30 Jul 2008 11:11:25 +0000 (11:11 +0000)]
- Add unloading ability.
- Don't forget to wrap any testing module into StartTest / FinishTest.

svn path=/trunk/; revision=34951

15 years agoMario Kacmar <kario AT szm DOT sk>
Matthias Kupfer [Wed, 30 Jul 2008 10:18:34 +0000 (10:18 +0000)]
Mario Kacmar <kario AT szm DOT sk>
- Slovak, Polish and Ukrainian translations of packmgr updated/fixed.
- See #3601 for more details.

svn path=/trunk/; revision=34949

15 years agoRemove a change from our diff file for comctl32, which is in Wine HEAD as well.
Colin Finck [Wed, 30 Jul 2008 10:11:09 +0000 (10:11 +0000)]
Remove a change from our diff file for comctl32, which is in Wine HEAD as well.
See issue #2843 for more details.

svn path=/trunk/; revision=34948

15 years ago- Add IRP tests based on a Alexander Morozov's patch to Wine ("[try 3] Add tests...
Aleksey Bragin [Wed, 30 Jul 2008 09:23:45 +0000 (09:23 +0000)]
- Add IRP tests based on a Alexander Morozov's patch to Wine ("[try 3] Add tests for IoInitializeIrp and IoAllocateIrp").

svn path=/trunk/; revision=34947

15 years agoRevert r34344, the mess with GetEnvironmentStrings/GetEnvironmentStringsA is expected.
Hervé Poussineau [Wed, 30 Jul 2008 08:02:45 +0000 (08:02 +0000)]
Revert r34344, the mess with GetEnvironmentStrings/GetEnvironmentStringsA is expected.

svn path=/trunk/; revision=34946

15 years agounix define doesn't mean we're on a x86 compatible machine
Hervé Poussineau [Wed, 30 Jul 2008 07:29:55 +0000 (07:29 +0000)]
unix define doesn't mean we're on a x86 compatible machine

svn path=/trunk/; revision=34945

15 years agoFix GetEnvironmentStrings/GetEnvironmentStringsA mess
Hervé Poussineau [Wed, 30 Jul 2008 07:27:33 +0000 (07:27 +0000)]
Fix GetEnvironmentStrings/GetEnvironmentStringsA mess

svn path=/trunk/; revision=34944

15 years agoPatch by Cameron Gutman (aicommander (at) gmail (dot) com)
Art Yerkes [Wed, 30 Jul 2008 06:05:20 +0000 (06:05 +0000)]
Patch by Cameron Gutman (aicommander (at) gmail (dot) com)
- Remove a hack related to cancellation
- Make sure not to pass on a bad IRP on failure (in tdi)
- Remember connect irp
* Note: commit notes are arty's in this case

svn path=/trunk/; revision=34943

15 years agoPatch by Cameron Gutman (aicommander (at) gmail (dot) com)
Art Yerkes [Tue, 29 Jul 2008 21:52:09 +0000 (21:52 +0000)]
Patch by Cameron Gutman (aicommander (at) gmail (dot) com)
- Remove a hack from DispTdiSendDatagram
- Fix a couple of bugs that resulted in clearing the wrong request

svn path=/trunk/; revision=34938

15 years ago- fix an obvious bug (introduced by me)
Johannes Anderwald [Tue, 29 Jul 2008 18:54:28 +0000 (18:54 +0000)]
- fix an obvious bug (introduced by me)

See issue #3064 for more details.

svn path=/trunk/; revision=34936

15 years ago- Add Event handle type.
James Tabor [Tue, 29 Jul 2008 18:53:46 +0000 (18:53 +0000)]
- Add Event handle type.

svn path=/trunk/; revision=34935

15 years ago- Patch by Jeffrey Morlan: Fix bounds checking and change NtGdiDoPalette to use a...
James Tabor [Tue, 29 Jul 2008 18:11:18 +0000 (18:11 +0000)]
- Patch by Jeffrey Morlan: Fix bounds checking and change NtGdiDoPalette to use a temporary kmode buffer. See Bug 3383.

svn path=/trunk/; revision=34934

15 years ago- register network neighbourhood as a desktop namespace extension
Johannes Anderwald [Tue, 29 Jul 2008 18:03:23 +0000 (18:03 +0000)]
- register network neighbourhood as a desktop namespace extension

svn path=/trunk/; revision=34933

15 years ago- update polish translation by Olaf Siejka (Caemyr)
Johannes Anderwald [Tue, 29 Jul 2008 17:49:32 +0000 (17:49 +0000)]
- update polish translation by Olaf Siejka (Caemyr)

svn path=/trunk/; revision=34932

15 years ago- register shellink property sheet handler
Johannes Anderwald [Tue, 29 Jul 2008 17:42:35 +0000 (17:42 +0000)]
- register shellink property sheet handler
- should make shellink property page visible again

svn path=/trunk/; revision=34931

15 years ago- fix titles in folder property dialog
Johannes Anderwald [Tue, 29 Jul 2008 17:19:16 +0000 (17:19 +0000)]
- fix titles in folder property dialog
- translate title to native language when available

svn path=/trunk/; revision=34930

15 years ago- implement folder property dialog
Johannes Anderwald [Tue, 29 Jul 2008 16:52:39 +0000 (16:52 +0000)]
- implement folder property dialog
- sync chinese resource files

svn path=/trunk/; revision=34929

15 years ago- Remove unused hVScrollBar and hHScrollBar members in GUI_CONSOLE_DATA.
Jeffrey Morlan [Tue, 29 Jul 2008 16:10:38 +0000 (16:10 +0000)]
- Remove unused hVScrollBar and hHScrollBar members in GUI_CONSOLE_DATA.
- Remove ScreenBufferSize member from GUI_CONSOLE_DATA; when building the structure for console.dll, send the actual screen buffer size instead.
- GuiConsolePaint, GuiIntDrawRegion: Adjust coordinates based on buffer's scroll position.
- GuiConsolePaint: Use ConioCoordToPointer when finding attribute at top-left.
- GuiConsoleHandlePaint: Don't leak the DC when the paint rectangle is empty.
- GuiConsoleHandleScroll: Actually update the buffer's scroll position, not just the scrollbar's. Allow scrolling either horizontally or vertically. Fix typo in SB_THUMBTRACK case. Don't rely on GetScrollInfo for bound checking - any thread can sabotage the scrollbar ranges.
- CsrGetScreenBufferInfo: Return the visible area in srWindow.

svn path=/trunk/; revision=34928

15 years agoOdbccp32 dll doesn't have a DllMain function
Christoph von Wittich [Tue, 29 Jul 2008 07:30:49 +0000 (07:30 +0000)]
Odbccp32 dll doesn't have a DllMain function
reported by hto
See issue #3603 for more details.

svn path=/trunk/; revision=34924

15 years agoNtUserBeginPaint: Taking the bounding box of the update region first and clipping...
Jeffrey Morlan [Tue, 29 Jul 2008 02:08:56 +0000 (02:08 +0000)]
NtUserBeginPaint: Taking the bounding box of the update region first and clipping it to the client area afterwards was making rcPaint contain the entire client area when scrolling. It should be done the other way around: clip to the client area first, then box. Since there is already a clipped update region in the DC, this is easy; just use GdiGetClipBox.

svn path=/trunk/; revision=34923

15 years ago- Added more hook points, WH_FOREGROUNDIDLE and WH_KEYBOARD.
James Tabor [Tue, 29 Jul 2008 00:35:05 +0000 (00:35 +0000)]
- Added more hook points, WH_FOREGROUNDIDLE and WH_KEYBOARD.
- Fixed WH_CALLWNDPROC/RET, now the posted test program works as it should.
- Tested with Opera 9.51, FF, Seamonkey, Abiword, Miranda, Mirc and the rest of our applications.

svn path=/trunk/; revision=34922

15 years agoFix my error not noticing that queued spinlock functions return KIRQL through
Art Yerkes [Mon, 28 Jul 2008 22:33:11 +0000 (22:33 +0000)]
Fix my error not noticing that queued spinlock functions return KIRQL through
the actual function return, not through a parameter.

svn path=/trunk/; revision=34921

15 years ago- Reverse my previous (in retrospect) hack
Art Yerkes [Mon, 28 Jul 2008 22:05:56 +0000 (22:05 +0000)]
- Reverse my previous (in retrospect) hack
- Make MmProbeAndLockPages smart enough to work at DISPATCH_LEVEL
- At Alex' request, remove the stand alone spinlock for the page list, and
  use the queued spinlock in the prcb.

svn path=/trunk/; revision=34920

15 years ago- display volume label for disk drives. If there is no label, load default label
Johannes Anderwald [Mon, 28 Jul 2008 19:47:19 +0000 (19:47 +0000)]
- display volume label for disk drives. If there is no label, load default label

svn path=/trunk/; revision=34915

15 years ago- Don't strictly check NTDDI_VERSION to WINXP or WS03, since in case of e.g. NTDDI_WS...
Aleksey Bragin [Mon, 28 Jul 2008 18:38:11 +0000 (18:38 +0000)]
- Don't strictly check NTDDI_VERSION to WINXP or WS03, since in case of e.g. NTDDI_WS03SP1 the define would work incorrectly (skipping a structure member).

svn path=/trunk/; revision=34914

15 years ago- reenable drive properties dialog
Johannes Anderwald [Mon, 28 Jul 2008 18:23:42 +0000 (18:23 +0000)]
- reenable drive properties dialog

svn path=/trunk/; revision=34913

15 years agoShould fix the release build (sorry).
Art Yerkes [Mon, 28 Jul 2008 18:21:35 +0000 (18:21 +0000)]
Should fix the release build (sorry).

svn path=/trunk/; revision=34912