reactos.git
10 years ago[PSDK, MSAFD]
Cameron Gutman [Fri, 5 Feb 2010 07:16:50 +0000 (07:16 +0000)]
[PSDK, MSAFD]
 - Fix a typo
[NETSTAT]
 - Uncomment and fix displaying successful fragmentation data
 - Fix a typo

svn path=/branches/aicom-network-branch/; revision=45435

10 years ago[AFD]
Cameron Gutman [Wed, 3 Feb 2010 20:02:39 +0000 (20:02 +0000)]
[AFD]
 - Add more cases to TdiAddressSizeFromType
 - Return STATUS_INVALID_PARAMETER instead of bugchecking if somebody gives us a bad address type
 - Fixes Steam (confirmed by Geoz)
 - Will also be merged to trunk soon

svn path=/branches/aicom-network-branch/; revision=45400

10 years ago - Remove some unused junk code
Cameron Gutman [Sat, 30 Jan 2010 16:45:22 +0000 (16:45 +0000)]
 - Remove some unused junk code

svn path=/branches/aicom-network-branch/; revision=45349

10 years ago - ovbcopy is used when the source address and destination address overlap so definin...
Cameron Gutman [Sat, 30 Jan 2010 15:18:21 +0000 (15:18 +0000)]
 - ovbcopy is used when the source address and destination address overlap so defining it to memcpy was a horrible idea

svn path=/branches/aicom-network-branch/; revision=45347

10 years ago - Fix a potential buffer overrun and null pointer dereference
Cameron Gutman [Wed, 27 Jan 2010 08:49:48 +0000 (08:49 +0000)]
 - Fix a potential buffer overrun and null pointer dereference

svn path=/branches/aicom-network-branch/; revision=45284

10 years ago - Handle the case where a socket sends an event notification without being accepted...
Cameron Gutman [Wed, 27 Jan 2010 07:44:42 +0000 (07:44 +0000)]
 - Handle the case where a socket sends an event notification without being accepted first

svn path=/branches/aicom-network-branch/; revision=45283

10 years ago - Define OSKIT so we can use special oskit functions
Cameron Gutman [Tue, 26 Jan 2010 04:20:06 +0000 (04:20 +0000)]
 - Define OSKIT so we can use special oskit functions
 - Implement oskit buffer functions to track references and allocate buffers
 - Remove unneeded mbuf freeing hacks now that we track references (fixes random crashes would occur when an mbuf was freed inside ip_output)
 - Remove the "ACK hack" that we used to hack around our loopback implementation
 - Remove unneeded mbuf pool initialization
 - Remove unused code in sleep.c

svn path=/branches/aicom-network-branch/; revision=45257

10 years ago - Fix calculation of the maximum data size (it previously calculated 65519 (0xFFFF...
Cameron Gutman [Mon, 18 Jan 2010 00:52:31 +0000 (00:52 +0000)]
 - Fix calculation of the maximum data size (it previously calculated 65519 (0xFFFF - sizeof(ICMPv4Header) - sizeof(LARGE_INTEGER)) which was wrong because the real maximum was 65499  (0xFFFF - sizeof(IPv4Header) - sizeof(ICMPv4Header) - sizeof(LARGE_INTEGER)))
 - Implement -f and -i options
 - Note: This raises our max ping data size to 65507 (0xFFFF - sizeof(IPv4Header) - sizeof(ICMPv4Header)) so we match linux's (iputils) ping max size but Windows' max is 65500 and I'm not sure if we should change our code to match Windows or not

svn path=/branches/aicom-network-branch/; revision=45129

10 years ago - Fix a null-pointer dereference crash that happens when we complete a queued NDIS_R...
Cameron Gutman [Sat, 16 Jan 2010 14:59:54 +0000 (14:59 +0000)]
 - Fix a null-pointer dereference crash that happens when we complete a queued NDIS_REQUEST in MiniportWorker

svn path=/branches/aicom-network-branch/; revision=45102

10 years ago - Fix ECHO_REPLY_HEADER which was corrupting incoming packets (fixes displaying...
Cameron Gutman [Sat, 16 Jan 2010 03:30:10 +0000 (03:30 +0000)]
 - Fix ECHO_REPLY_HEADER which was corrupting incoming packets (fixes displaying reply time)
 - Fix a bug in the packet waiting code
 - Display the IP address if getnameinfo fails
 - tracert is actually useful now

svn path=/branches/aicom-network-branch/; revision=45094

10 years ago[TDILIB, IPHLPAPI, WSHTCPIP]
Cameron Gutman [Sat, 16 Jan 2010 00:05:15 +0000 (00:05 +0000)]
[TDILIB, IPHLPAPI, WSHTCPIP]
 - Move the TDI stuff from iphlpapi to a shared library called tdilib
[IP]
 - Implement tcpip side of IP_HDRINCL
[PSDK, WSHTCPIP, WSHIRDA]
 - Fix definition of WSHGetSocketInformation
[PSDK]
 - Add AO_OPTION_* defines
[WSHTCPIP]
 - Request notifications for bind also
 - Implement WSHSetSocketInformation
[MSAFD]
 - Implement event notifications (bonus: fixes a memory leak on socket closure due to unfreed helper context)
 - Store TdiConnectionHandle the same way we store TdiAddressHandle
 - Half-plement WSPSetSockOpt
 - Fix WSPGetSockOpt
[TCPIP]
 - Handle AO_OPTION_TTL, AO_OPTION_IP_DONTFRAGMENT (not working yet), AO_OPTION_BROADCAST (not working yet), and AO_OPTION_IP_HDRINCL
 - Add new members of ADDRESS_FILE for the preceding AO options
[AFD]
 - Return the connection handle in the Information of the IOSB (same as we do with the address file handle)
[GENERAL]
 - Tracert works now

svn path=/branches/aicom-network-branch/; revision=45093

10 years ago - Fix a bug with our tei_instance selection (we could end up with the same tei_insta...
Cameron Gutman [Fri, 15 Jan 2010 21:00:50 +0000 (21:00 +0000)]
 - Fix a bug with our tei_instance selection (we could end up with the same tei_instance value on different entities of the same type if an entity of our type in the middle of the list was deleted previously)

svn path=/branches/aicom-network-branch/; revision=45090

10 years ago - Restore the worker in the loopback code because we can enter the loopback code...
Cameron Gutman [Fri, 15 Jan 2010 18:01:52 +0000 (18:01 +0000)]
 - Restore the worker in the loopback code because we can enter the loopback code from TCPPacketSend at a raised IRQL
 - Fixes a crash with TCP over loopback

svn path=/branches/aicom-network-branch/; revision=45087

10 years ago - Unlock the address file before calling IPSendDatagram
Cameron Gutman [Sat, 9 Jan 2010 16:25:11 +0000 (16:25 +0000)]
 - Unlock the address file before calling IPSendDatagram
 - We don't need to be locked anymore at that point and it also causes problems with loopback packets
 - Use the TTL value stored in the address file for ICMP packets

svn path=/branches/aicom-network-branch/; revision=45016

10 years ago - Store the address file handle in the IOSB
Cameron Gutman [Sat, 9 Jan 2010 15:49:39 +0000 (15:49 +0000)]
 - Store the address file handle in the IOSB
 - MSAFD relies on this behavior to store the address file handle

svn path=/branches/aicom-network-branch/; revision=45015

10 years ago - Rewrite request queuing
Cameron Gutman [Fri, 8 Jan 2010 19:15:03 +0000 (19:15 +0000)]
 - Rewrite request queuing
 - We now use the documented members of NDIS_MINIPORT_BLOCK
 - It also fixes the issue of determining if the miniport is currently processing a request
 - Remove unneeded IRQL raises
 - Half-plement MiniSendResourcesAvailable (NdisMSendResourcesAvailable)
 - Comment out the code inside ProSendPackets (only used by protocols, not miniports)

svn path=/branches/aicom-network-branch/; revision=45009

10 years ago - Remove some incorrect IRQL checks (needed for the NDIS fixes coming soon)
Cameron Gutman [Fri, 8 Jan 2010 18:36:59 +0000 (18:36 +0000)]
 - Remove some incorrect IRQL checks (needed for the NDIS fixes coming soon)
 - Change some NdisDprAcquireSpinLock/NdisDprReleaseSpinLock calls to NdisAcquireSpinLock/NdisReleaseSpinLock

svn path=/branches/aicom-network-branch/; revision=45007

10 years ago - Use a spin lock to protect the port bitmap instead of a fast mutex
Cameron Gutman [Fri, 8 Jan 2010 18:21:52 +0000 (18:21 +0000)]
 - Use a spin lock to protect the port bitmap instead of a fast mutex

svn path=/branches/aicom-network-branch/; revision=45006

10 years ago - Add locking to ICMPSendDatagram
Cameron Gutman [Fri, 8 Jan 2010 18:10:05 +0000 (18:10 +0000)]
 - Add locking to ICMPSendDatagram

svn path=/branches/aicom-network-branch/; revision=45004

10 years ago[IP]
Cameron Gutman [Fri, 1 Jan 2010 05:58:37 +0000 (05:58 +0000)]
[IP]
 - Fix a small locking issue in TCPClose

svn path=/branches/aicom-network-branch/; revision=44845

10 years ago[TCPIP, IP]
Cameron Gutman [Thu, 31 Dec 2009 23:33:24 +0000 (23:33 +0000)]
[TCPIP, IP]
 - Completely rewrite (again) the locking code and use references to ensure that the connection doesn't get freed while completing requests (the most frequent cause of crashes)
 - Remove DrainSignals and complete requests inside HandleSignalledConnection instead of doing them in a separate thread (increases speed a lot)
[OSKITTCP]
 - Don't clear the socket context in OskitTCPClose because we would end up in HandleSignalledConnection without a connection (which we don't support anymore after eliminating DrainSignals)
 - Change the check performed to see if a socket is dying so we support connection dying after calling OskitTCPClose
[AFD]
 - Remove leftover ASSERTs which fail after the changes to tcpip (they were wrong in the first place because we call into tcpip at DISPATCH_LEVEL sometimes)

svn path=/branches/aicom-network-branch/; revision=44839

10 years ago - Forgot this file
Cameron Gutman [Wed, 30 Dec 2009 12:53:47 +0000 (12:53 +0000)]
 - Forgot this file

svn path=/branches/aicom-network-branch/; revision=44811

10 years ago[IP]
Cameron Gutman [Wed, 30 Dec 2009 12:46:14 +0000 (12:46 +0000)]
[IP]
 - Bind to the address specified in AddressFile instead of always binding to the outgoing interface's unicast address
 - Get the NCE using the local address (if specified) so we don't end up sending from one interface using another interface's  address as the source

svn path=/branches/aicom-network-branch/; revision=44810

10 years ago[OSKITTCP]
Cameron Gutman [Wed, 16 Dec 2009 04:45:43 +0000 (04:45 +0000)]
[OSKITTCP]
 - Add ROS-specific MSS code
 - We don't mirror our route cache with oskittcp so we can't rely on routes to get the MTU

svn path=/branches/aicom-network-branch/; revision=44619

10 years ago[OSKITTCP]
Cameron Gutman [Wed, 16 Dec 2009 02:41:39 +0000 (02:41 +0000)]
[OSKITTCP]
 - Fix broken MTU code (MTU was assumed to always be 1500)

svn path=/branches/aicom-network-branch/; revision=44618

10 years ago - Use RouteGetRouteToDestination instead of FindOnLinkInterface so we can get an...
Cameron Gutman [Sun, 13 Dec 2009 16:22:17 +0000 (16:22 +0000)]
 - Use RouteGetRouteToDestination instead of FindOnLinkInterface so we can get an interface for remote addresses

svn path=/branches/aicom-network-branch/; revision=44565

10 years ago[TCPIP]
Cameron Gutman [Sat, 5 Dec 2009 16:29:41 +0000 (16:29 +0000)]
[TCPIP]
 - Implement TDI_QUERY_MAX_DATAGRAM_INFO

[AFD]
 - Send TDI_QUERY_MAX_DATAGRAM_INFO to set our send/receive windows properly
 - Don't create a send window for a datagram socket because it is never used
 - Fixes dropping all packets with length > 16384

svn path=/branches/aicom-network-branch/; revision=44412

10 years ago - Implement IOCTL_AFD_GET_CONNECT_DATA, IOCTL_AFD_SET_CONNECT_DATA, IOCTL_AFD_SET_CO...
Cameron Gutman [Wed, 2 Dec 2009 23:57:57 +0000 (23:57 +0000)]
 - Implement IOCTL_AFD_GET_CONNECT_DATA, IOCTL_AFD_SET_CONNECT_DATA, IOCTL_AFD_SET_CONNECT_DATA_SIZE, IOCTL_AFD_GET_DISCONNECT_DATA, IOCTL_AFD_SET_DISCONNECT_DATA, IOCTL_AFD_SET_DISCONNECT_DATA_SIZE, IOCTL_AFD_SET_CONNECT_OPTIONS, IOCTL_AFD_GET_CONNECT_OPTIONS, IOCTL_AFD_SET_CONNECT_OPTIONS_SIZE, IOCTL_AFD_SET_DISCONNECT_OPTIONS, IOCTL_AFD_GET_DISCONNECT_OPTIONS, IOCTL_AFD_SET_DISCONNECT_OPTIONS_SIZE
 - Check that the socket allows connections in AfdDisconnect and AfdStreamSocketConnect
 - Allocate the receive window in connectionless sockets when the socket is bound instead of at FCB creation
 - Remove a horrible hack in UnlockRequest
 - Remove an incorrect call to MmUnmapLockedPages (the pages aren't mapped!)
 - Replace the recursive mutex with a KMUTEX for now (eventually I want to move to a fast mutex)
 - Fix a leak in LockRequest in failure case

svn path=/branches/aicom-network-branch/; revision=44370

10 years ago - Allocate send and receive buffers from paged pool (saves 32KB of non-paged pool...
Cameron Gutman [Wed, 2 Dec 2009 22:38:10 +0000 (22:38 +0000)]
 - Allocate send and receive buffers from paged pool (saves 32KB of non-paged pool per socket)

svn path=/branches/aicom-network-branch/; revision=44369

10 years ago - Revert 44301
Cameron Gutman [Wed, 2 Dec 2009 03:29:17 +0000 (03:29 +0000)]
 - Revert 44301

svn path=/branches/aicom-network-branch/; revision=44354

10 years ago - Create another branch for networking fixes
Cameron Gutman [Wed, 2 Dec 2009 03:23:19 +0000 (03:23 +0000)]
 - Create another branch for networking fixes
 - TSVN choked repeatedly when attempting to merge ~9000 revs into the branch (tried 3 times on 2 different computers)
 - If someone wants to delete aicom-network-fixes, they are welcome to
 - Lesson learned: Letting a branch get thousands of revs out of date is a horrible idea

svn path=/branches/aicom-network-branch/; revision=44353

10 years ago[ntoskrnl/cc]
Aleksey Bragin [Tue, 1 Dec 2009 21:32:50 +0000 (21:32 +0000)]
[ntoskrnl/cc]
- Don't create zero sized cache segments. By Dmitry Gorbachev.
See issue #4100 for more details.

svn path=/trunk/; revision=44349

10 years ago[ntoskrnl/se]
Aleksey Bragin [Tue, 1 Dec 2009 21:26:40 +0000 (21:26 +0000)]
[ntoskrnl/se]
- Add a hack which prints an annoying message and grants access when it should not be. Callers/bugs should be fixed and this commit reverted after that.
See issue #4169 for more details.

svn path=/trunk/; revision=44348

10 years ago[inf] Fix fdc driver version entry (highlighted by bug #4917)
Gregor Schneider [Tue, 1 Dec 2009 19:51:51 +0000 (19:51 +0000)]
[inf] Fix fdc driver version entry (highlighted by bug #4917)

svn path=/trunk/; revision=44347

10 years agoAdd the msvc10 makefile changes
Ged Murphy [Tue, 1 Dec 2009 18:56:05 +0000 (18:56 +0000)]
Add the msvc10 makefile changes

svn path=/trunk/; revision=44346

10 years ago[kernel]
Gregor Schneider [Tue, 1 Dec 2009 18:53:01 +0000 (18:53 +0000)]
[kernel]
- Fail in DosDateTimeToFileTime if prior time conversion was unsuccessful
- Should fix the NetStats installation, bug #4917, part 2

svn path=/trunk/; revision=44345

10 years ago[ntdll]
Gregor Schneider [Tue, 1 Dec 2009 18:46:13 +0000 (18:46 +0000)]
[ntdll]
- Logic change of r37554 is correct, RtlTimeFieldsToTime doesn't normalize invalid input values - remove these codes
- Related to bug #4917, part 1

svn path=/trunk/; revision=44344

10 years ago- Include support for makefile configurations.
Ged Murphy [Tue, 1 Dec 2009 18:44:16 +0000 (18:44 +0000)]
- Include support for makefile configurations.
- Add a new makefile config to the global configuration called RosBuild
- Use the new makefile config to process and external batch file which make use of rbuild.
- Split and partially rewrite _generate_vcproj. Configurations are now written in support functions.
- Remove the creation of .vcproj.user files. They're rather pointless for our needs
- Start to add support for VS2010 (make msvc10), it's very incomplete at the moment so don't bother trying it.

After this commit, you can now use Visual Studio to build individual reactos components. Run 'make msvc9', open up any vcproj file, select the RosBuild config and hit the build/rebuild button. Working build features are 'build', 'rebuild' and 'clean'

svn path=/trunk/; revision=44343

10 years agoAdd a root level batch file which allows building reactos without invoking RosBE.
Ged Murphy [Tue, 1 Dec 2009 18:39:49 +0000 (18:39 +0000)]
Add a root level batch file which allows building reactos without invoking RosBE.
It won't currently work without RosBE as it relies in the gcc toolset installed along with RosBE to go about its business.
It currently checks for RosBE existence with a rather hackish ^H^H^H^H ... elaborate string parser using the 'reg' command line util output. I'd be happy for anyone to improve on this.

svn path=/trunk/; revision=44342

10 years ago[kernel32]
Michael Martin [Tue, 1 Dec 2009 11:48:06 +0000 (11:48 +0000)]
[kernel32]
- Fix broken code inside SXS_SUPPORT_ENABLED define and add some DPRINTs. Still unused.

svn path=/trunk/; revision=44341

10 years ago- [Win32k] Make DispatchMessage call direct to WinProc callback. Add more thread...
James Tabor [Tue, 1 Dec 2009 05:35:05 +0000 (05:35 +0000)]
- [Win32k] Make DispatchMessage call direct to WinProc callback. Add more thread death checks.

svn path=/trunk/; revision=44340

10 years agoUpdate log2lines to version 1.4. Jan Roeloffzen, bug #4342.
Dmitry Gorbachev [Mon, 30 Nov 2009 21:49:18 +0000 (21:49 +0000)]
Update log2lines to version 1.4. Jan Roeloffzen, bug #4342.

svn path=/trunk/; revision=44335

10 years ago- [Win32k] Test thread death before posting to queue.
James Tabor [Mon, 30 Nov 2009 20:13:05 +0000 (20:13 +0000)]
- [Win32k] Test thread death before posting to queue.

svn path=/trunk/; revision=44334

10 years ago- [Win32k] Remove debug prints from classes.
James Tabor [Mon, 30 Nov 2009 19:24:23 +0000 (19:24 +0000)]
- [Win32k] Remove debug prints from classes.

svn path=/trunk/; revision=44333

10 years ago- [Win32k] Use PostMessage to send broadcast messages to the queues. co_IntPostOrSend...
James Tabor [Mon, 30 Nov 2009 19:21:27 +0000 (19:21 +0000)]
- [Win32k] Use PostMessage to send broadcast messages to the queues. co_IntPostOrSendMessage does not support it.

svn path=/trunk/; revision=44332

10 years ago- First version of ReactOS Sound Record Application by Marco Pagliaricci (IRC: rendar)
Johannes Anderwald [Mon, 30 Nov 2009 18:54:41 +0000 (18:54 +0000)]
- First version of ReactOS Sound Record Application by Marco Pagliaricci (IRC: rendar)

svn path=/trunk/; revision=44331

10 years agoApply font changes from r44305 to mainline.
Dmitry Gorbachev [Mon, 30 Nov 2009 17:00:12 +0000 (17:00 +0000)]
Apply font changes from r44305 to mainline.

svn path=/trunk/; revision=44330

10 years agoFix build breakage
Johannes Anderwald [Mon, 30 Nov 2009 14:55:20 +0000 (14:55 +0000)]
Fix build breakage

svn path=/trunk/; revision=44329

10 years agoUpdated the rapps Software list.
Daniel Reimer [Mon, 30 Nov 2009 01:50:47 +0000 (01:50 +0000)]
Updated the rapps Software list.
AbiWord from 2.6.4 to 2.6.8
MinGW from 5.1.4 to 5.1.6
MirandaIM from 0.8.9 to 0.8.10
Opera from 9.6.4 to 10.10 (YES, this works!)
SDL Mixer from 1.2.9 to 1.2.11
SeaMonkey from 1.1.18 to 2.0 (YES, that too!)
UltraVNC from 1.0.6.5 to 1.0.8.0
uTorrent from 1.8.4 to 1.8.5
vlc from 1.0.2 to 1.0.3

svn path=/trunk/; revision=44328

10 years ago[WDMAUD.DRV]
Johannes Anderwald [Sun, 29 Nov 2009 22:58:33 +0000 (22:58 +0000)]
[WDMAUD.DRV]
- Implement support for resetting a stream (not yet used)
- Don't translate the error again in QueryMixerInfo as SyncOverlappedDeviceIoControl has already translated the error
- Don't touch the cbSize member when opening a wave device, as the caller might have passed a WAVEFORMAT struct instead a WAVEFORMATEX struct. Fixes winmm_winetest wave / mixer crashs
- Query all available events when an mixer event is fired

svn path=/trunk/; revision=44326

10 years ago[MMEBUDDY]
Johannes Anderwald [Sun, 29 Nov 2009 21:17:15 +0000 (21:17 +0000)]
[MMEBUDDY]
- Return correct error code
- Fixes last 4 four winmm_winetest mixer test failures

svn path=/trunk/; revision=44325

10 years ago- Partly revert 44309 as it sometimes causes problems
Johannes Anderwald [Sun, 29 Nov 2009 19:29:52 +0000 (19:29 +0000)]
- Partly revert 44309 as it sometimes causes problems

svn path=/trunk/; revision=44324

10 years ago[WDMAUD_KERNEL]
Johannes Anderwald [Sun, 29 Nov 2009 18:56:56 +0000 (18:56 +0000)]
[WDMAUD_KERNEL]
- Always set Mute control on first channel
[PORTCLS]
- Rewrite node property handling. Fixes lots of bugs and fixes all winmm_winetest mixer failures

svn path=/trunk/; revision=44323

10 years ago[setupapi] Sync SetupGetIntField to Wine, fixes six setupapi:parser tests
Gregor Schneider [Sun, 29 Nov 2009 18:07:14 +0000 (18:07 +0000)]
[setupapi] Sync SetupGetIntField to Wine, fixes six setupapi:parser tests

svn path=/trunk/; revision=44322

10 years ago[ntdll]
Michael Martin [Sun, 29 Nov 2009 10:53:39 +0000 (10:53 +0000)]
[ntdll]
- Implement LdrLockLoaderLock and LdrUnlockLoaderLock.

svn path=/trunk/; revision=44318

10 years ago- Try fix increase of winmm:mixer tests failure
Johannes Anderwald [Sat, 28 Nov 2009 22:15:20 +0000 (22:15 +0000)]
- Try fix increase of winmm:mixer tests failure
- Found by Gregor Schneider (DosX)

svn path=/trunk/; revision=44315

10 years agoNevermind.
KJK::Hyperion [Sat, 28 Nov 2009 20:09:07 +0000 (20:09 +0000)]
Nevermind.

svn path=/trunk/; revision=44314

10 years ago[msvcrt]
Gregor Schneider [Sat, 28 Nov 2009 19:35:47 +0000 (19:35 +0000)]
[msvcrt]
- Validate the process heap
- Remove validation as soon as this function is tested

svn path=/trunk/; revision=44313

10 years ago- [Win32k] Add comments to text functions.
James Tabor [Sat, 28 Nov 2009 19:34:45 +0000 (19:34 +0000)]
- [Win32k] Add comments to text functions.

svn path=/trunk/; revision=44312

10 years ago- Implement IOCTL_RESET_STREAM which is required for waveInReset waveOutReset
Johannes Anderwald [Sat, 28 Nov 2009 17:06:22 +0000 (17:06 +0000)]
- Implement IOCTL_RESET_STREAM which is required for waveInReset waveOutReset

svn path=/trunk/; revision=44311

10 years ago- Silence debug print
Johannes Anderwald [Sat, 28 Nov 2009 17:05:06 +0000 (17:05 +0000)]
- Silence debug print

svn path=/trunk/; revision=44310

10 years ago[PORTCLS]
Johannes Anderwald [Sat, 28 Nov 2009 17:01:46 +0000 (17:01 +0000)]
[PORTCLS]
- Store KSOBJECT_HEADER as the first member in a struct, which ks can use to access object header. Fixes initialization of ReactOS portcls in WinXP
- Partly implement power querying / setting. Fixes bsod when shutting down the system in WinXP with ReactOS portcls
- Change the pin state at PASSIVE_LEVEL
- Implement IOCTL_KS_RESET for CPinWaveCyclic

svn path=/trunk/; revision=44309

10 years ago[gdiplus]
Gregor Schneider [Sat, 28 Nov 2009 15:26:02 +0000 (15:26 +0000)]
[gdiplus]
- Update to current Wine sources
- Now routes BMP drawing to gdi instead of doing ole32 magic (bug #3412)

svn path=/trunk/; revision=44308

10 years ago[msvcrt]
Gregor Schneider [Sat, 28 Nov 2009 15:16:36 +0000 (15:16 +0000)]
[msvcrt]
- Fix buffer calculation in argvtoW, missed unicode character size
- Fixes another crash during GIMP startup, now GIMP starts (bug #3503, part 2)
- Fix same problem in valisttoA/W

svn path=/trunk/; revision=44307

10 years ago[msvcrt]
Gregor Schneider [Sat, 28 Nov 2009 15:13:18 +0000 (15:13 +0000)]
[msvcrt]
- Use the process heap for malloc and friends
- Fixes a crash during GIMP startup (bug #3503, part 1)

svn path=/trunk/; revision=44306

10 years ago[msvcrt] Update scanf family with a patch that also went to Wine (http://source.wineh...
Gregor Schneider [Sat, 28 Nov 2009 15:01:40 +0000 (15:01 +0000)]
[msvcrt] Update scanf family with a patch that also went to Wine (source.winehq.org/git/wine.git/?a=commit;h=2043035e1749e40e23853d751ac1410d39fc8d27):
Calculate floating point decimals in internally used long double precision.
Fixes bug #4092 (calculator imprecision)

svn path=/trunk/; revision=44304

10 years ago[ntoskrnl/config]
Michael Martin [Sat, 28 Nov 2009 14:54:34 +0000 (14:54 +0000)]
[ntoskrnl/config]
- CmpFindSubKeyInName: CmpFindSubKeyInRoot is useless in finding the correct leaf with the key name that is being searched for when keys are not sorted. Loop and search each leaf of the root index for the key name. See bug #4895 for more info.

svn path=/trunk/; revision=44303

10 years agoRemoved documentation about a build system feature that's no longer supported
KJK::Hyperion [Sat, 28 Nov 2009 14:51:52 +0000 (14:51 +0000)]
Removed documentation about a build system feature that's no longer supported
I give thanks for the opportunity to improve ReactOS by removing, instead of adding code

svn path=/trunk/; revision=44302

10 years ago- Revert the oskit locking rewrite in trunk, it's better to test/debug it in the...
Aleksey Bragin [Sat, 28 Nov 2009 14:45:21 +0000 (14:45 +0000)]
- Revert the oskit locking rewrite in trunk, it's better to test/debug it in the branch first. Reverted revisions numbers: 44268, 44267, 44266, 44250, 44199, 44166-163, 44021, 44010, 43926, 43922, 43883.

svn path=/trunk/; revision=44301

10 years ago[rpcrt4]
Aleksey Bragin [Wed, 25 Nov 2009 19:36:10 +0000 (19:36 +0000)]
[rpcrt4]
- Revert rpcrt4 back to 1.1.31-partial. Fixes various RPC related regressions.

svn path=/trunk/; revision=44287

10 years ago - Initialize SocketError to 0 to prevent a bogus error from GCC
Cameron Gutman [Wed, 25 Nov 2009 18:08:43 +0000 (18:08 +0000)]
 - Initialize SocketError to 0 to prevent a bogus error from GCC

svn path=/trunk/; revision=44286

10 years ago[ntoskrnl/cm]
Aleksey Bragin [Tue, 24 Nov 2009 22:56:43 +0000 (22:56 +0000)]
[ntoskrnl/cm]
- CmpSelectLeaf fixes: looking into an incorrect cell, returning wrong cell, slightly simplify code and add more comments for clarity. Thanks to Michael Martin for spotting these bugs.

svn path=/trunk/; revision=44285

10 years ago[WIDL]
Aleksey Bragin [Tue, 24 Nov 2009 22:42:40 +0000 (22:42 +0000)]
[WIDL]
- Update widl to Wine-1.1.33.

svn path=/trunk/; revision=44284

10 years ago[IDL]
Aleksey Bragin [Tue, 24 Nov 2009 22:39:25 +0000 (22:39 +0000)]
[IDL]
- Make our IDLs files to not specify a [range] tag for string datatypes, and 0,256 range for an unsigned type. Fixes compiling with newer WIDL and (probably) MIDL.

svn path=/trunk/; revision=44283

10 years ago[rosautotest]: Find the last underscore instead of the first one when building a...
Gregor Schneider [Tue, 24 Nov 2009 20:36:53 +0000 (20:36 +0000)]
[rosautotest]: Find the last underscore instead of the first one when building a module name, hurray for twain_32_winetest and ws2_32_winetest
See issue #4929 for more details.

svn path=/trunk/; revision=44282

10 years ago - Fix a race condition that occurs when an IRP gets cancelled after it is inserted...
Cameron Gutman [Sun, 22 Nov 2009 02:32:47 +0000 (02:32 +0000)]
 - Fix a race condition that occurs when an IRP gets cancelled after it is inserted into the completion queue but before it is completed

svn path=/trunk/; revision=44267

10 years ago - Remove memtrack and use tags instead (ExAllocatePoolWithTag/ExFreePoolWithTag)
Cameron Gutman [Sat, 21 Nov 2009 23:53:43 +0000 (23:53 +0000)]
 - Remove memtrack and use tags instead (ExAllocatePoolWithTag/ExFreePoolWithTag)
 - Cleanup DriverEntry
 - Remove DEFINE_TAG
 - Remove checkpoints in TiCreateFileObject

svn path=/trunk/; revision=44266

10 years ago[kernel32]
Aleksey Bragin [Sat, 21 Nov 2009 20:41:24 +0000 (20:41 +0000)]
[kernel32]
- Don't export unnecessary stub. Fixes Firefox 3.5.5 startup.

svn path=/trunk/; revision=44261

10 years ago[ntoskrnl/se]
Aleksey Bragin [Sat, 21 Nov 2009 17:58:33 +0000 (17:58 +0000)]
[ntoskrnl/se]
- Factor out working code from SeAccessCheck into SepAccessCheck, taking out addition parameter - LowerImpersonationLevel. The lowest level for SeAccessCheck remains SecurityImpersonation, but for NtAccessCheck it's lowered to SecurityIdentification. Name of this patch's author has been lost.
See issue #4169 for more details.

svn path=/trunk/; revision=44260

10 years ago - Disassociate the socket context before closing so we don't get signalled with...
Cameron Gutman [Sat, 21 Nov 2009 13:00:37 +0000 (13:00 +0000)]
 - Disassociate the socket context before closing so we don't get signalled with a freed context (major cause of crashes)
 - Signal the connection directly from TCPSocketState
 - Remove some unused code
 - Queue completion requests on a separate list so we don't have to keep locking and unlocking while completing
 - Add better locking to tcpip (not the lib)
 - Remove some unused variables
 - Don't hold the cancel spin lock longer than necessary
 - Check that we successfully got the device description

svn path=/trunk/; revision=44250

10 years ago[wininet]
Aleksey Bragin [Fri, 20 Nov 2009 16:50:05 +0000 (16:50 +0000)]
[wininet]
- Revert 44236 (sync wininet to Wine-1.1.33) and 43948 (sync wininet to Wine-1.1.32). Part 1/3 of rapps unregressing.
See issue #4934 for more details.

svn path=/trunk/; revision=44239

10 years ago[wininet]
Aleksey Bragin [Fri, 20 Nov 2009 14:22:05 +0000 (14:22 +0000)]
[wininet]
- Update wininet to Wine-1.1.33.

svn path=/trunk/; revision=44236

10 years agoFixed typo
Pierre Schweitzer [Wed, 18 Nov 2009 18:15:49 +0000 (18:15 +0000)]
Fixed typo
(lost patch found in the dust)

svn path=/trunk/; revision=44227

10 years ago[rapps]
Aleksey Bragin [Wed, 18 Nov 2009 14:37:31 +0000 (14:37 +0000)]
[rapps]
Andrey Yastrebov <menone7@gmail.com>
- Fix app uninstallation feature (wrong lparam usage - it's pointer to PINSTALLED_INFO and not an hkey).
See issue #4961 for more details.

svn path=/trunk/; revision=44225

10 years ago- Properly convert mswsock.def to mswsock.spec (we have all functions properly stubbed).
Aleksey Bragin [Wed, 18 Nov 2009 14:16:34 +0000 (14:16 +0000)]
- Properly convert mswsock.def to mswsock.spec (we have all functions properly stubbed).
- Remove WSPStartup from ws2_32, it doesn't belong there. Spotted by Gabriel Ilardi.
See issue #4956 for more details.

svn path=/trunk/; revision=44224

10 years agoGoodbye win32k_base, you won't be missed
KJK::Hyperion [Tue, 17 Nov 2009 17:00:01 +0000 (17:00 +0000)]
Goodbye win32k_base, you won't be missed

svn path=/trunk/; revision=44216

10 years agoReapplying r44182. Thanks to r44208, it should actually work this time
KJK::Hyperion [Tue, 17 Nov 2009 16:18:34 +0000 (16:18 +0000)]
Reapplying r44182. Thanks to r44208, it should actually work this time

svn path=/trunk/; revision=44215

10 years agomodified Makefile
KJK::Hyperion [Tue, 17 Nov 2009 02:54:29 +0000 (02:54 +0000)]
modified   Makefile
   $(ECHO_DLLTOOL) -> $(ECHO_IMPLIB)
   New status line ECHO_RSP for built-in response file generator rule
   $(NL) variable that expands to a newline -- only known way to escape the newline character in GNU make

modified   tools/rbuild/backend/mingw/linkers/ld.mak
   $(ECHO DLLTOOL) -> $(ECHO_DLLTOOL) -> $(ECHO_IMPLIB)
   Generate a response file with the list of object files, instead of passing every single object file on the linker command line. Our really long linker command lines should no longer be an issue

modified   tools/rbuild/backend/mingw/modulehandler.cpp
   Clean files generated by externally-defined rules

Build issues fix 1/2 (1/3?)

svn path=/trunk/; revision=44208

10 years agoRevert yesterday's fix for now.
Daniel Reimer [Mon, 16 Nov 2009 18:32:30 +0000 (18:32 +0000)]
Revert yesterday's fix for now.

svn path=/trunk/; revision=44203

10 years ago- Build fix by Pigglesworth
Johannes Anderwald [Mon, 16 Nov 2009 18:24:36 +0000 (18:24 +0000)]
- Build fix by Pigglesworth

svn path=/trunk/; revision=44202

10 years ago- Various bugfixes found by Amine48rz
Johannes Anderwald [Mon, 16 Nov 2009 18:13:56 +0000 (18:13 +0000)]
- Various bugfixes found by Amine48rz

svn path=/trunk/; revision=44201

10 years ago - Implement OskitTCPGetSocketError which retreives so->so_error
Cameron Gutman [Mon, 16 Nov 2009 07:39:52 +0000 (07:39 +0000)]
 - Implement OskitTCPGetSocketError which retreives so->so_error
 - Use OskitTCPGetSocketError to get the actual socket error which occurred when get SEL_FIN
 - Add more cases to TCPTranslateError

svn path=/trunk/; revision=44199

10 years agoRemove MmVerifierData.
Dmitry Gorbachev [Mon, 16 Nov 2009 01:57:59 +0000 (01:57 +0000)]
Remove MmVerifierData.

svn path=/trunk/; revision=44198

10 years agoFix a bug, silence GCC 4.5.x warnings.
Dmitry Gorbachev [Mon, 16 Nov 2009 01:57:24 +0000 (01:57 +0000)]
Fix a bug, silence GCC 4.5.x warnings.

svn path=/trunk/; revision=44197

10 years agoBreak long expressions, fix formatting.
Dmitry Gorbachev [Mon, 16 Nov 2009 01:56:48 +0000 (01:56 +0000)]
Break long expressions, fix formatting.

svn path=/trunk/; revision=44196

10 years agosync kernel32 winetest with wine 1.1.33
Christoph von Wittich [Mon, 16 Nov 2009 01:37:38 +0000 (01:37 +0000)]
sync kernel32 winetest with wine 1.1.33

svn path=/trunk/; revision=44195

10 years agopartial FormatMessage wine sync
Christoph von Wittich [Mon, 16 Nov 2009 01:37:12 +0000 (01:37 +0000)]
partial FormatMessage wine sync

svn path=/trunk/; revision=44194

10 years agoadd MUI error codes from wine
Christoph von Wittich [Mon, 16 Nov 2009 01:23:20 +0000 (01:23 +0000)]
add MUI error codes from wine

svn path=/trunk/; revision=44193

10 years agosync msi winetest to wine 1.1.33
Christoph von Wittich [Mon, 16 Nov 2009 01:15:54 +0000 (01:15 +0000)]
sync msi winetest to wine 1.1.33

svn path=/trunk/; revision=44192

10 years agosync msi to wine 1.1.33
Christoph von Wittich [Mon, 16 Nov 2009 01:13:42 +0000 (01:13 +0000)]
sync msi to wine 1.1.33

svn path=/trunk/; revision=44191