Commit graph

31799 commits

Author SHA1 Message Date
Cameron Gutman 5345dbe2ae - Don't check Status so we don't quit looping after the first unsuccessful IRP
svn path=/branches/aicom-network-fixes/; revision=35152
2008-08-06 22:19:53 +00:00
Cameron Gutman 8856c4a5a2 - Use Status instead of IOSB.Status in some cases
svn path=/branches/aicom-network-fixes/; revision=35129
2008-08-05 16:32:56 +00:00
Cameron Gutman 1fccbafaed - Close the handle on failure
svn path=/branches/aicom-network-fixes/; revision=35116
2008-08-05 01:46:59 +00:00
Cameron Gutman 69ef129571 - 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
2008-08-04 21:06:39 +00:00
Cameron Gutman 107921e042 - Forgot to include one fix in my last commit
svn path=/branches/aicom-network-fixes/; revision=35110
2008-08-04 17:11:04 +00:00
Cameron Gutman c15c351f5d - Fix more memory leaks
svn path=/branches/aicom-network-fixes/; revision=35107
2008-08-04 16:46:53 +00:00
Cameron Gutman ac4f9f984d - Fix more leaks
svn path=/branches/aicom-network-fixes/; revision=35106
2008-08-04 16:20:08 +00:00
Cameron Gutman e3383af168 - Revert the rest of r35080
- The memory is freed in AfdAccept

svn path=/branches/aicom-network-fixes/; revision=35102
2008-08-04 15:19:23 +00:00
Cameron Gutman 23c7498a26 - Revert part of r35080
svn path=/branches/aicom-network-fixes/; revision=35101
2008-08-04 15:16:44 +00:00
Cameron Gutman 23cb7f30fa - Fix 2 more memory leaks
svn path=/branches/aicom-network-fixes/; revision=35080
2008-08-03 18:49:30 +00:00
Cameron Gutman 376173f679 - 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
2008-08-03 18:02:10 +00:00
Cameron Gutman fa8410c89c - Don't continue if OpenRegistryKey fails
svn path=/branches/aicom-network-fixes/; revision=35073
2008-08-03 17:27:16 +00:00
Cameron Gutman 6286fe5bb6 - Handle STATUS_REMOTE_NOT_LISTENING
svn path=/branches/aicom-network-fixes/; revision=35062
2008-08-03 09:52:22 +00:00
Cameron Gutman 221590c8f7 - Handle STATUS_INSUFFICIENT_RESOURCES
svn path=/branches/aicom-network-fixes/; revision=35061
2008-08-03 09:40:13 +00:00
Cameron Gutman 93abe83cd2 - Check to see if the ZwEnumerateKey call succeeded with the larger buffer and continue if possible
svn path=/branches/aicom-network-fixes/; revision=35055
2008-08-03 05:10:53 +00:00
Cameron Gutman 31bbc55cec - Add some more debug prints for memory allocation/freeing
svn path=/branches/aicom-network-fixes/; revision=35054
2008-08-03 03:05:39 +00:00
Cameron Gutman 312bb6657e - 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
2008-08-03 01:38:05 +00:00
Cameron Gutman f470e856b1 - Set Irp->IoStatus.Information to 0
- Set Irp->IoStatus.Status before returning

svn path=/branches/aicom-network-fixes/; revision=35046
2008-08-02 20:53:32 +00:00
Cameron Gutman ca91433bbc - 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
2008-08-02 14:52:19 +00:00
Cameron Gutman dfd8d6b0c0 - Fix a bug where Irp->IoStatus wasn't set if Status == STATUS_PENDING
svn path=/branches/aicom-network-fixes/; revision=35024
2008-08-02 03:51:17 +00:00
Cameron Gutman 80709d7858 - Make sure to set Irp->IoStatus.Status to the correct status
svn path=/branches/aicom-network-fixes/; revision=35023
2008-08-02 03:17:53 +00:00
Cameron Gutman 928b81e97f - 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
2008-08-01 17:21:52 +00:00
Cameron Gutman 606652ca08 * 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
2008-08-01 12:19:18 +00:00
Cameron Gutman 0940a5b301 * 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
2008-08-01 12:06:19 +00:00
Art Yerkes c501d8112c Create a branch for network fixes.
svn path=/branches/aicom-network-fixes/; revision=34994
2008-08-01 11:32:26 +00:00
Matthias Kupfer 0e213bbc00 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
2008-08-01 10:17:41 +00:00
Pierre Schweitzer 415228662a Updated French translation for shell32. Also fixed typo, even if I thought I already did it!?
svn path=/trunk/; revision=34991
2008-08-01 09:14:56 +00:00
James Tabor 3e6656c48c - 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
2008-07-31 23:48:35 +00:00
James Tabor 30d2593564 - Support relative callback proc with module base.
svn path=/trunk/; revision=34985
2008-07-31 22:48:59 +00:00
Jeffrey Morlan 717a13e2d7 Fix handle leaks in RtlCreateUserThread and SmExecPgm.
svn path=/trunk/; revision=34984
2008-07-31 21:33:17 +00:00
Matthias Kupfer ffad542df1 Mario Kacmar <kario AT szm DOT sk>
- Key remapping for qwertz applied.

svn path=/trunk/; revision=34983
2008-07-31 19:53:49 +00:00
Jeffrey Morlan 173a8d6c7a In exit and _cexit, call atexit routines. (Bug 3432_)
svn path=/trunk/; revision=34980
2008-07-31 17:46:50 +00:00
Stefan Ginsberg 41ad8e0c80 - Change an infinite loop to an assert to simplify debugging
svn path=/trunk/; revision=34979
2008-07-31 14:25:35 +00:00
ReactOS Portable Systems Group f492f5a8cd - 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
2008-07-31 07:31:55 +00:00
ReactOS Portable Systems Group ddaf47dec3 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
2008-07-31 07:09:28 +00:00
ReactOS Portable Systems Group e1d4f7bdf2 dont include i386 headers in arm mmu manager headers.
svn path=/trunk/; revision=34975
2008-07-31 07:07:00 +00:00
ReactOS Portable Systems Group 6abcb17d2a implement kiuserinitializeapc, and begin writing test code for kiswapprocess.
svn path=/trunk/; revision=34974
2008-07-31 07:06:19 +00:00
ReactOS Portable Systems Group ef7ceb62bb fix formatting of i386 mmu code.
svn path=/trunk/; revision=34973
2008-07-31 07:04:58 +00:00
Matthias Kupfer dd7dc24c8d Patch by Gregor Schneider a.k.a DosX
- use line breaks in debug output

svn path=/trunk/; revision=34966
2008-07-30 21:16:03 +00:00
Matthias Kupfer aabe1e5462 - center window only once
- get path from executable module instead of current directory

svn path=/trunk/; revision=34964
2008-07-30 18:54:05 +00:00
Johannes Anderwald 17131c2512 - don't display network propery dialog since it is not yet implemented
svn path=/trunk/; revision=34963
2008-07-30 16:55:45 +00:00
Matthias Kupfer 70b5975a50 uniform distribution of memory progress bars
svn path=/trunk/; revision=34962
2008-07-30 15:12:09 +00:00
Jeffrey Morlan 92680636ef 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
2008-07-30 15:00:57 +00:00
Colin Finck 8c33c79951 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
2008-07-30 14:15:41 +00:00
Aleksey Bragin 8db0ed2181 - 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
2008-07-30 13:24:05 +00:00
Johannes Anderwald e0acf025bc - dont double free an irp
- patch by bugboy
- bug 3530

svn path=/trunk/; revision=34958
2008-07-30 13:13:52 +00:00
Johannes Anderwald b3ca3dbbd0 - fix a bug which made the label display 2x times the drive letter
svn path=/trunk/; revision=34957
2008-07-30 13:09:49 +00:00
Matthias Kupfer 6e77c40907 - fix wrong "ss" in German (Germany) ressource
- Swiss German version need own ressource file

svn path=/trunk/; revision=34956
2008-07-30 12:34:00 +00:00
Aleksey Bragin 19a25c0671 - SVN maintenance.
svn path=/trunk/; revision=34955
2008-07-30 12:22:10 +00:00
Matthias Kupfer 9b8755513d 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
2008-07-30 12:14:30 +00:00