Commit graph

47609 commits

Author SHA1 Message Date
Alex Ionescu 27dfa433c4 [CSRSRV/KERNEL32]: Have CSRSS create a proper shared section (Based on code taken from the CSRSS rewrite in trunk) and attach it to every client.
[CSRSRV/KERNEL32]: Have CSRSS fill out the base server static data. Still a bit of a hack since we should have a basesrv to do this, but it'll fix the "can't install any drivers" bug as well as increase performance since we now cache a bunch of data system-wide.
[KERNEL32]: Remove all related hacks in kernel32.
[CSRSRV]: Only accept the incoming connection if we found CSR process data about it.

svn path=/trunk/; revision=53040
2011-08-03 03:09:02 +00:00
Cameron Gutman 8a7764ca2d [IP]
- Correct the error number comments for lwIP 1.4.0
- Translate ERR_WOULDBLOCK
- Translate ERR_IF and ERR_CONN to a more accurate status
[LWIP]
- Remove another debug print

svn path=/branches/GSoC_2011/TcpIpDriver/; revision=53039
2011-08-02 23:46:32 +00:00
Olaf Siejka ca2dc10f1b [CSRSRV]
- don't hack the dll entry point name. Patch by Thomas Faber

svn path=/trunk/; revision=53038
2011-08-02 22:54:30 +00:00
Cameron Gutman b0f4c80bdd [NETSHELL]
- Fix icon handle leaks in the network status taskbar icon

svn path=/trunk/; revision=53037
2011-08-02 22:18:57 +00:00
Eric Kohl 3d34260a62 [SERVICES]
- If a service will be started and another service is already running in the same image, send a start command instead of starting the process again.
This enables us to run multiple services within a single process, like svchost.exe.

svn path=/trunk/; revision=53036
2011-08-02 20:37:48 +00:00
Claudiu Mihail 5936438d83 [lwIP]
- Remove debug prints

svn path=/branches/GSoC_2011/TcpIpDriver/; revision=53035
2011-08-02 20:03:57 +00:00
Cameron Gutman 3684e4d392 [TCPIP]
- Remove some more debugging
[IP]
- Only print a message if the operation failed

svn path=/branches/GSoC_2011/TcpIpDriver/; revision=53034
2011-08-02 19:52:25 +00:00
Claudiu Mihail cb01eb2af4 [TCPIP]
- Remove debug prints
- Modify error code translations
[lwIP]
- Fix race conditions caused by checking the SocketContexts of connections from outside the lwIP main thread context
- Don't explicitly remove callbacks from pcbs (no reason to do apperently)
- Use pbuf_free_callback (which can be safely called from outside the lwIP main thread context) instead of pbuf_free

svn path=/branches/GSoC_2011/TcpIpDriver/; revision=53033
2011-08-02 19:20:40 +00:00
Rafal Harabien 657d4463e4 [WIN32K]
- Fix a typo. Spotted by Giannis Adamopoulos

svn path=/trunk/; revision=53032
2011-08-02 16:29:33 +00:00
Rafal Harabien b81d61b5e8 [WIN32K]
- Make UserDrawCaption much more simple and compatible with Windows. It supports now icon given in parameter places text and icon in valid position. Fixes Start button icon in explorer_new.
- Uncomment two function in win32k. I used one of them in UserDrawCaptionText and seems to work
- Add debug print to NtGdiPatBlt

svn path=/trunk/; revision=53031
2011-08-02 16:22:39 +00:00
Cameron Gutman 02b56ebcbc [AFD]
- Handle TDI receive completion better

svn path=/trunk/; revision=53028
2011-08-02 13:46:16 +00:00
Jérôme Gardou 6b39d13104 [CMAKE/GCC]
- fix entry point for native dlls

svn path=/trunk/; revision=53025
2011-08-02 06:11:12 +00:00
Jérôme Gardou 9d51236a9d [PSDK/WINNT.H]
- add DEFINE_ENUM_FLAG_OPERATORS macro

svn path=/trunk/; revision=53024
2011-08-02 06:10:15 +00:00
Rafal Harabien fef1661346 [NTOSKRNL]
- Fix *TRACE macros definition. See r53008 for more info.

svn path=/trunk/; revision=53023
2011-08-01 22:59:44 +00:00
Rafal Harabien 12bdc5e8e3 [WIN32K]
- Fix possible thread reference leak when calling hook
- Fix possible memory corruption if hook is unexpectedly removed
- Cleanup hooks a bit
- Fixes bug #1567 (explorer ghost in taskmgr)

svn path=/trunk/; revision=53022
2011-08-01 22:30:21 +00:00
Claudiu Mihail 95cdb2c148 [TCPIP]
- merge r53017
- do some code cleanup
[lwIP]
- do some code cleanup

svn path=/branches/GSoC_2011/TcpIpDriver/; revision=53020
2011-08-01 20:10:55 +00:00
Cameron Gutman 489942bf51 [TCPIP]
- Remove the extra debug prints since the bug has been fixed

svn path=/trunk/; revision=53019
2011-08-01 13:50:00 +00:00
Cameron Gutman 96272d084e [AFD]
- Use the correct access mode

svn path=/trunk/; revision=53018
2011-08-01 12:41:31 +00:00
Cameron Gutman 6f80903f43 [TCPIP]
- Cancel the disconnect timer if the disconnect is cancelled

svn path=/trunk/; revision=53017
2011-08-01 04:06:55 +00:00
Cameron Gutman f34cad36e2 [AFD]
- Cancel the in-flight disconnect IRP during socket closure
[TCPIP]
- Make a disconnect IRP cancelable

svn path=/trunk/; revision=53016
2011-08-01 03:54:19 +00:00
Art Yerkes a90824eeae [RTL]
Implemenet SwapSplayLinks, return 'NewElement' correctly when inserting.
Thanks to Alex Ionescu for helping out with this patch.

svn path=/trunk/; revision=53015
2011-08-01 03:23:53 +00:00
Cameron Gutman f1f448e2ba [OSKITTCP]
- Force the connection to be closed immediately
- Hopefully will fix the random bind issues caused by oskit becoming out of sync with the rest of the IP library

svn path=/trunk/; revision=53014
2011-08-01 03:13:18 +00:00
Cameron Gutman 2ec386e0dc [TCPIP]
- Add a couple more debug prints

svn path=/trunk/; revision=53013
2011-07-31 23:32:38 +00:00
Rafal Harabien 7f28186e88 [INETCPL]
- Add missing security propsheet to Polish translation. Should be synced to WINE. Spotted by Adam Stachowicz.

svn path=/trunk/; revision=53012
2011-07-31 23:00:20 +00:00
Rafal Harabien 409a194d76 [INETCPL]
- Add Polish language to build. Spotted by Adam Stachowicz

svn path=/trunk/; revision=53011
2011-07-31 22:50:05 +00:00
Cameron Gutman d2cccf1dad [IP]
- Add some temporary debug prints to troubleshoot some seemingly random bind failures

svn path=/trunk/; revision=53010
2011-07-31 22:32:18 +00:00
Cameron Gutman e30f10e6b0 [AFD]
- Clear the sendable flag after a disconnect
- Don't set the sendable flag if send has been closed

svn path=/trunk/; revision=53009
2011-07-31 19:51:32 +00:00
Timo Kreuzer 623f93a9e3 [NTOSKRNL]
Fix OBTRACE definition.
the macro used __VA_ARGS__ and passes that to DPRINT(fmt, ...)
The preprocessor interpretes all arguments of __VA_ARGS__ as one token. This token was now passed as the first parameter of DPRINT1. This caused wrong parameters being used, resulting in a crash.

svn path=/trunk/; revision=53008
2011-07-31 19:26:11 +00:00
Cameron Gutman 9a1c9c3eb4 [FREELDR]
- Skip the floppy drive if the reset command failed

svn path=/trunk/; revision=53007
2011-07-31 19:16:48 +00:00
Cameron Gutman ba7c40ca5e [FLOPPY]
- Report recalibration failure if the EC flag is set after seeking to fix a hang while trying to read
- Thanks to igorko for testing

svn path=/trunk/; revision=53006
2011-07-31 18:47:35 +00:00
Cameron Gutman 85b2720526 [SERIAL]
- Update the I/O manager's global configuration table with the correct number of serial ports

svn path=/trunk/; revision=53005
2011-07-31 17:18:50 +00:00
Eric Kohl e4b89070d6 [SERVICES]
- ScmCreateOrReferenceServiceImage: Link the SERVICE_IMAGE struct to the SERVICE struct in the create and the reference case. Otherwise only the first service started from an image gets a valid pImage pointer.
- Add some debug code. 

svn path=/trunk/; revision=53004
2011-07-31 10:29:41 +00:00
Timo Kreuzer c325addac5 [ISOBOOT]
Use a high segment and 0 offset when loading setupldr.
This fixes problems with an award bios.
Thanks to Igor Paliychuk (igorko) for his help and patience burning / testing dozens of isos
Fixes boot regression of cmake builds on real hw.

svn path=/trunk/; revision=53003
2011-07-30 20:34:55 +00:00
Sylvain Petreolle d4a9777f27 [FULLFAT]
Add missing bugcodes dependency, spotted by elhoir.

svn path=/trunk/; revision=53001
2011-07-29 16:36:48 +00:00
Alex Ionescu 59ccf2a927 [KERNEL32]: Cleanup and fix multiple bugs in the Version APIs. Code is neater, more efficient, and more compatible.
svn path=/trunk/; revision=52990
2011-07-28 23:58:29 +00:00
Cameron Gutman 72904b8f1f [KERNEL32]
- Temporarily comment out FLS APIs which are unimplemented to fix FF 5 and Opera setup

svn path=/trunk/; revision=52989
2011-07-28 22:58:05 +00:00
Alex Ionescu db3a9402f0 [GLU32]: Unfortunately, you can't just stick PCH on top of ANY header. Source changes have to be made.
svn path=/trunk/; revision=52988
2011-07-28 20:56:13 +00:00
Amine Khaldi d8d265ce72 [LIBS]
* Introduce PCH to the remaining libs when possible, using their main headers.

svn path=/trunk/; revision=52986
2011-07-28 16:23:25 +00:00
Amine Khaldi 3e20601b21 [EPSAPI]
* Add a PCH.

svn path=/trunk/; revision=52985
2011-07-28 16:21:48 +00:00
Amine Khaldi 2525881109 [SOUNDBLASTER]
* Add a PCH.

svn path=/trunk/; revision=52984
2011-07-28 16:19:09 +00:00
Amine Khaldi 7000348187 [MMENT4]
* Add a PCH.

svn path=/trunk/; revision=52983
2011-07-28 16:17:45 +00:00
Amine Khaldi 935598ba6f [MMEBUDDY]
* Add a PCH.

svn path=/trunk/; revision=52982
2011-07-28 16:17:04 +00:00
Amine Khaldi 5d6fa88775 [IP]
* Add a PCH.

svn path=/trunk/; revision=52981
2011-07-28 16:16:18 +00:00
Amine Khaldi 2419e4895b [DRIVERS]
* Introduce PCH to the remaining drivers when possible, using their main headers.

svn path=/trunk/; revision=52980
2011-07-28 16:13:00 +00:00
Amine Khaldi b3b76f610b [URLMON]
* Use urlmon_main.h as a PCH.

svn path=/trunk/; revision=52979
2011-07-28 15:57:31 +00:00
Amine Khaldi 813c1f831e [SYSSETUP]
* Add a PCH.

svn path=/trunk/; revision=52978
2011-07-28 15:57:04 +00:00
Amine Khaldi 33869114eb [SETUPAPI]
* Use setupapi_private.h as a PCH.

svn path=/trunk/; revision=52977
2011-07-28 15:56:35 +00:00
Amine Khaldi be4f89d5a9 [MSI]
* Use msipriv.h as a PCH.

svn path=/trunk/; revision=52976
2011-07-28 15:56:04 +00:00
Amine Khaldi 29db79e1e0 [JSCRIPT]
* Use jscript.h as a PCH.

svn path=/trunk/; revision=52975
2011-07-28 15:55:42 +00:00
Amine Khaldi 5c0b8039c7 [GLU32]
* Use gluos.h as a PCH.

svn path=/trunk/; revision=52974
2011-07-28 15:55:20 +00:00