reactos.git
12 months ago[WINSRV] Wait for the process to exit after calling NtTerminateProcess
Giannis Adamopoulos [Sun, 25 Nov 2018 18:13:56 +0000 (20:13 +0200)]
[WINSRV] Wait for the process to exit after calling NtTerminateProcess
NtTerminateProcess just queues an apc in every thread of the target process which in turn kills each thread. We need to wait so that all processes have enough time to exit before shutting down.

12 months ago[IPHLPAPI] Start handling certain flags in GetAdaptersAddresses()
Pierre Schweitzer [Mon, 26 Nov 2018 21:41:25 +0000 (22:41 +0100)]
[IPHLPAPI] Start handling certain flags in GetAdaptersAddresses()

For now, we only support the most useful ones: IP_ADAPTER_DDNS_ENABLED,
IP_ADAPTER_REGISTER_ADAPTER_SUFFIX, IP_ADAPTER_DHCP_ENABLED

12 months ago[MC] Add messages 4400-4440 to netmsg.dll.
Eric Kohl [Mon, 26 Nov 2018 20:07:34 +0000 (21:07 +0100)]
[MC] Add messages 4400-4440 to netmsg.dll.

12 months ago[INETCFG] Update Simplified Chinese translation. (#1076)
Luo Yufan [Mon, 26 Nov 2018 14:55:57 +0000 (22:55 +0800)]
[INETCFG] Update Simplified Chinese translation. (#1076)

12 months ago[NETAPI32] Implement DsGetDcNameA/W --> DsGetDcNameWithAccountA/W --> DsrGetDcNameEx2.
Eric Kohl [Sun, 25 Nov 2018 21:39:47 +0000 (22:39 +0100)]
[NETAPI32] Implement DsGetDcNameA/W --> DsGetDcNameWithAccountA/W --> DsrGetDcNameEx2.

12 months ago[MC] Add messages 4350-4399 to netmsg.dll.
Eric Kohl [Sun, 25 Nov 2018 21:18:39 +0000 (22:18 +0100)]
[MC] Add messages 4350-4399 to netmsg.dll.

12 months ago[APISETS] Update from wine-3.20-144-g2ef62f9085 1048/head
Mark Jansen [Sun, 18 Nov 2018 17:17:16 +0000 (18:17 +0100)]
[APISETS] Update from wine-3.20-144-g2ef62f9085

12 months ago[APISETS] Teach update.py how to generate a manifest
Mark Jansen [Tue, 20 Nov 2018 21:34:05 +0000 (22:34 +0100)]
[APISETS] Teach update.py how to generate a manifest

12 months ago[APISETS] Stubplement versioned forwarders
Mark Jansen [Sun, 18 Nov 2018 17:16:19 +0000 (18:16 +0100)]
[APISETS] Stubplement versioned forwarders

12 months ago[IPHLPAPI] In GetAdaptersAddresses(), return friendly name if asked for
Pierre Schweitzer [Sun, 25 Nov 2018 17:03:34 +0000 (18:03 +0100)]
[IPHLPAPI] In GetAdaptersAddresses(), return friendly name if asked for

12 months ago[HAL] Update the PCI hardware IDs database.
Hermès Bélusca-Maïto [Sun, 25 Nov 2018 16:21:00 +0000 (17:21 +0100)]
[HAL] Update the PCI hardware IDs database.

Extracted from the pci.ids database at https://pci-ids.ucw.cz/ from 2018-11-21 03:15:02 .
Maintained by Albert Pool, Martin Mares, Michal Vaner, and other volunteers from the PCI ID Project.

12 months ago[FREELDR] Check for any user keypress in menu even when the timeout is zero.
Hermès Bélusca-Maïto [Sun, 25 Nov 2018 16:01:54 +0000 (17:01 +0100)]
[FREELDR] Check for any user keypress in menu even when the timeout is zero.

Before taking any default action if there is no timeout, check whether
the supplied key filter callback function may handle a specific user
keypress. If it does, the menu timeout is cancelled.

This allows e.g. handling F8 press for displaying boot options even when
the timeout is zero.

CORE-14046

12 months ago[MC] Add messages 4300-4349 to netmsg.dll.
Eric Kohl [Sun, 25 Nov 2018 14:41:04 +0000 (15:41 +0100)]
[MC] Add messages 4300-4349 to netmsg.dll.

12 months ago[SETUPLIB] Re-enable the filesystem detection code based on recognition by FSDs.
Hermès Bélusca-Maïto [Mon, 12 Nov 2018 23:13:45 +0000 (00:13 +0100)]
[SETUPLIB] Re-enable the filesystem detection code based on recognition by FSDs.

12 months ago[SETUPLIB] Dismount a disk partition before deleting it.
Hermès Bélusca-Maïto [Fri, 16 Nov 2018 02:02:28 +0000 (03:02 +0100)]
[SETUPLIB] Dismount a disk partition before deleting it.

12 months ago[WIN32K][NTUSER] Specify constant name explicitly (#1067)
Andrew Boyarshin [Sun, 25 Nov 2018 13:31:23 +0000 (20:31 +0700)]
[WIN32K][NTUSER] Specify constant name explicitly (#1067)

Reduce confusion by specifying the omitted constant HWND_TOP == 0.

12 months ago[WIN32K][NTUSER] Tiny codestyle fix to NtUserLockWindowUpdate (#1066)
Andrew Boyarshin [Sun, 25 Nov 2018 13:31:04 +0000 (20:31 +0700)]
[WIN32K][NTUSER] Tiny codestyle fix to NtUserLockWindowUpdate (#1066)

Fix indentation (inconsistent with the rest of the file) and return actual BOOL.

12 months agoAdd .vscode folder to .gitignore file (#1060)
Andrew Boyarshin [Sun, 25 Nov 2018 13:28:45 +0000 (20:28 +0700)]
Add .vscode folder to .gitignore file (#1060)

Matching the existence of Eclipse CDT ignore rules, .vscode should also be added to .gitignore
Visual Studio Code is always eager to create settings.json file there.

12 months ago[IPHLPAPI] Implement AllocateAndGetUdpExTable2FromStack()
Pierre Schweitzer [Sun, 25 Nov 2018 12:32:52 +0000 (13:32 +0100)]
[IPHLPAPI] Implement AllocateAndGetUdpExTable2FromStack()

CORE-14391

12 months ago[IPHLPAPI] Implement AllocateAndGetTcpExTable2FromStack()
Pierre Schweitzer [Sun, 25 Nov 2018 12:29:26 +0000 (13:29 +0100)]
[IPHLPAPI] Implement AllocateAndGetTcpExTable2FromStack()

CORE-14391

12 months ago[IPHLPAPI] Implement AllocateAndGetUdpExTableFromStack()
Pierre Schweitzer [Sun, 25 Nov 2018 11:23:27 +0000 (12:23 +0100)]
[IPHLPAPI] Implement AllocateAndGetUdpExTableFromStack()

12 months ago[IPHLPAPI] Implement AllocateAndGetTcpExTableFromStack()
Pierre Schweitzer [Sun, 25 Nov 2018 11:19:44 +0000 (12:19 +0100)]
[IPHLPAPI] Implement AllocateAndGetTcpExTableFromStack()

12 months ago[NTOS:IO] Tiny improvement to debug message
Andrew Boyarshin [Sun, 25 Nov 2018 10:31:12 +0000 (17:31 +0700)]
[NTOS:IO] Tiny improvement to debug message

Add quotes around string, since it is often empty, thus confusing in log.

12 months ago[OPENGL32] Fix wglDescribePixelFormat
Bernhard Feichtinger [Tue, 13 Nov 2018 19:52:30 +0000 (20:52 +0100)]
[OPENGL32] Fix wglDescribePixelFormat

12 months ago[NTOS:MM] Handle unimplemeted case for MiCheckForUserStackOverflow
Bernhard Feichtinger [Tue, 13 Nov 2018 19:45:27 +0000 (20:45 +0100)]
[NTOS:MM] Handle unimplemeted case for MiCheckForUserStackOverflow

12 months ago[VFATLIB] Drop a hack no longer needed after f87d9ca
Pierre Schweitzer [Sun, 25 Nov 2018 09:40:53 +0000 (10:40 +0100)]
[VFATLIB] Drop a hack no longer needed after f87d9ca

12 months ago[MC] Add messages 5730-5769 to netmsg.dll.
Eric Kohl [Sat, 24 Nov 2018 23:27:44 +0000 (00:27 +0100)]
[MC] Add messages 5730-5769 to netmsg.dll.

12 months ago[TCPIP] In InfoTdiQueryGetConnectionTcpTable(), only return if there's a connection
Pierre Schweitzer [Sun, 25 Nov 2018 08:32:30 +0000 (09:32 +0100)]
[TCPIP] In InfoTdiQueryGetConnectionTcpTable(), only return if there's a connection

12 months ago[NTOS:IO] Finally remove the dreadful IopParseDevice() hack! \o/
Hermès Bélusca-Maïto [Sat, 24 Nov 2018 21:36:32 +0000 (22:36 +0100)]
[NTOS:IO] Finally remove the dreadful IopParseDevice() hack! \o/

12 months ago[FASTFAT] Improvements for volume dismount + minor bugfixing.
Hermès Bélusca-Maïto [Sun, 11 Nov 2018 16:17:48 +0000 (17:17 +0100)]
[FASTFAT] Improvements for volume dismount + minor bugfixing.

- Cache the RootFcb so that its cleanup can be handled separately
  during dismounting.

- Force volume dismount at cleanup if the VCB_DISMOUNT_PENDING flag
  is set.

- Actually dismount a volume if its VCB has been flagged as not good,
  or if we force dismounting.

NOTE: In their *CheckForDismount() function, our 3rd-party FS drivers
as well as MS' fastfat, perform a comparison check of the current VCB's
VPB ReferenceCount with some sort of "dangling"/"residual" open count.
It seems to be related to the fact that the volume root directory as
well as auxiliary data stream(s) are still opened, and only these are
allowed to be opened at that moment. After analysis it appears that for
the ReactOS' fastfat, this number is equal to "3".

- On dismounting, cleanup and destroy the RootFcb, VolumeFcb and the
  FATFileObject. Then cleanup the SpareVPB or the IoVPB members, and
  finish by removing the dismounted volume from the VolumeListEntry
  and cleaning up the notify synchronization object and the resources.

- During dismounting, and on shutdown, flush the volume before
  resetting its dirty bit.

- On shutdown, after volume flushing, try to unmount it without forcing.

- Release the VCB resources only when we actually dismount the volume
  in VfatCheckForDismount().

- Initialize first the notify list and the synchronization object,
  before sending the FSRTL_VOLUME_MOUNT notification.

- If we failed at mounting a volume but its VCB's FATFileObject was
  already initialized, first call CcUninitializeCacheMap() on it
  before dereferencing it.

- Send FSRTL_VOLUME_LOCK, FSRTL_VOLUME_LOCK_FAILED and
  FSRTL_VOLUME_UNLOCK notifications during volume locking (and failure)
  and volume unlocking.

- Flush the volume before locking it, and clean its dirty bit if needed.

NOTE: In addition to checking for VCB_CLEAR_DIRTY, we also check for the
presence of the VCB_IS_DIRTY flag before cleaning up the dirty bit: this
allows us to not re-clean the bit if it has been previously cleaned.
This is needed for instance in this scenario:
- The volume is locked (it gets flushed and the dirty bit is possibly cleared);
- The volume then gets formatted with a completely different FS, that
  possibly clears up the first sector (e.g. BTRFS ignores 1st sector);
- The volume is then dismounted: if we didn't check whether VCB_IS_DIRTY
  was set prior to resetting it, we could attempt clearing it again! But
  now that the volume's filesystem has been completely changed, we would
  then try to modify the dirty bit on an erroneous position on disk!
  That's why it should not be touched in this case during dismounting.
- The volume is unlocked (same comment as above), and later can be
  detected as being BTRFS.

12 months ago[PSDK] Add missing NELOG_ error codes to lmerrlog.h.
Eric Kohl [Sat, 24 Nov 2018 21:21:04 +0000 (22:21 +0100)]
[PSDK] Add missing NELOG_ error codes to lmerrlog.h.

12 months ago[TCPIP] Properly display local information for established connections
Pierre Schweitzer [Sat, 24 Nov 2018 21:25:32 +0000 (22:25 +0100)]
[TCPIP] Properly display local information for established connections

12 months ago[MC] Add message 5300-5381 to netmsg.dll.
Eric Kohl [Sat, 24 Nov 2018 14:12:09 +0000 (15:12 +0100)]
[MC] Add message 5300-5381 to netmsg.dll.

12 months ago[RDBSS] Fix a typo
Pierre Schweitzer [Sat, 24 Nov 2018 21:00:09 +0000 (22:00 +0100)]
[RDBSS] Fix a typo

Spotted by Hermès

12 months ago[NETSTAT] Add support for displaying UDP connections owning process
Pierre Schweitzer [Sat, 24 Nov 2018 20:36:00 +0000 (21:36 +0100)]
[NETSTAT] Add support for displaying UDP connections owning process

Our netstat can basically look like this now:
https://twitter.com/HeisSpiter/status/1066430887208919040

12 months ago[SDK] Add GetExtendedUdpTable()
Pierre Schweitzer [Sat, 24 Nov 2018 20:30:28 +0000 (21:30 +0100)]
[SDK] Add GetExtendedUdpTable()

12 months ago[IPHLPAPI] Reimplement GetUdpTable() using GetExtendedUdpTable()
Pierre Schweitzer [Sat, 24 Nov 2018 20:25:59 +0000 (21:25 +0100)]
[IPHLPAPI] Reimplement GetUdpTable() using GetExtendedUdpTable()

12 months ago[IPHLPAPI] Implement GetExtendedUdpTable()
Pierre Schweitzer [Sat, 24 Nov 2018 20:22:42 +0000 (21:22 +0100)]
[IPHLPAPI] Implement GetExtendedUdpTable()
We only support IPv4 and UDP_TABLE_BASIC, UDP_TABLE_OWNER_PID
for now

CORE-5126

12 months ago[IPHLPAPI] Implement getOwnerUdoTable(), to get UDP connections with owner PID
Pierre Schweitzer [Sat, 24 Nov 2018 20:12:44 +0000 (21:12 +0100)]
[IPHLPAPI] Implement getOwnerUdoTable(), to get UDP connections with owner PID

12 months ago[TCPIP] Implement enumerating UDP connections with owner PID
Pierre Schweitzer [Sat, 24 Nov 2018 20:09:17 +0000 (21:09 +0100)]
[TCPIP] Implement enumerating UDP connections with owner PID

12 months ago[NETSTAT] Add support for displaying TCP connections owning process
Pierre Schweitzer [Sat, 24 Nov 2018 20:04:20 +0000 (21:04 +0100)]
[NETSTAT] Add support for displaying TCP connections owning process

12 months ago[IPHLPAPI] Reimplement GetTcpTable() using GetExtendedTcpTable()
Pierre Schweitzer [Sat, 24 Nov 2018 19:41:16 +0000 (20:41 +0100)]
[IPHLPAPI] Reimplement GetTcpTable() using GetExtendedTcpTable()

12 months ago[IPHLPAPI] Don't leak memory
Pierre Schweitzer [Sat, 24 Nov 2018 19:34:20 +0000 (20:34 +0100)]
[IPHLPAPI] Don't leak memory

12 months ago[IPHLPAPI] Implement the IPv4 TCP_TABLE_OWNER_PID_* cases in GetExtendedTcpTable()
Pierre Schweitzer [Sat, 24 Nov 2018 19:32:55 +0000 (20:32 +0100)]
[IPHLPAPI] Implement the IPv4 TCP_TABLE_OWNER_PID_* cases in GetExtendedTcpTable()

12 months ago[IPHLPAPI] Implement getOwnerTcpTable(), to get TCP connections with owner PID
Pierre Schweitzer [Sat, 24 Nov 2018 19:23:29 +0000 (20:23 +0100)]
[IPHLPAPI] Implement getOwnerTcpTable(), to get TCP connections with owner PID

12 months ago[TCPIP] Implement enumerating TCP connections with owner PID
Pierre Schweitzer [Sat, 24 Nov 2018 19:22:00 +0000 (20:22 +0100)]
[TCPIP] Implement enumerating TCP connections with owner PID

12 months ago[TCPIP] Store creator PID in ADDRESS_FILE
Pierre Schweitzer [Sat, 24 Nov 2018 19:21:19 +0000 (20:21 +0100)]
[TCPIP] Store creator PID in ADDRESS_FILE

12 months ago[IPHLPAPI] Implement the IPv4 TCP_TABLE_BASIC_* cases in GetExtendedTcpTable()
Pierre Schweitzer [Sat, 24 Nov 2018 18:04:04 +0000 (19:04 +0100)]
[IPHLPAPI] Implement the IPv4 TCP_TABLE_BASIC_* cases in GetExtendedTcpTable()

12 months ago[MC] Add messages 3802-3969 and 5700-5729 to netmsg.dll.
Eric Kohl [Sat, 24 Nov 2018 12:51:50 +0000 (13:51 +0100)]
[MC] Add messages 3802-3969 and 5700-5729 to netmsg.dll.

12 months ago[SETUPLIB] Improve the Freeldr timeout INI setting hack-fix. Dedicated to Mark Jansen...
Hermès Bélusca-Maïto [Sat, 24 Nov 2018 01:39:58 +0000 (02:39 +0100)]
[SETUPLIB] Improve the Freeldr timeout INI setting hack-fix. Dedicated to Mark Jansen ;-) CORE-15193

12 months ago[TCPIP] When enumerating sockets, retrieve their state and return it
Pierre Schweitzer [Fri, 23 Nov 2018 21:49:53 +0000 (22:49 +0100)]
[TCPIP] When enumerating sockets, retrieve their state and return it

This fixes netstat not having any state when enumerating connections.
Basically, now, our netstat produces stuff like:
https://twitter.com/HeisSpiter/status/1065871999266955264

12 months ago[IP] Add a TCPGetSocketStatus() wrapper around LibTCPGetSocketStatus()
Pierre Schweitzer [Fri, 23 Nov 2018 21:48:34 +0000 (22:48 +0100)]
[IP] Add a TCPGetSocketStatus() wrapper around LibTCPGetSocketStatus()

12 months ago[LWIP] Implement a LibTCPGetSocketStatus() function in our LwIP glue
Pierre Schweitzer [Fri, 23 Nov 2018 21:39:14 +0000 (22:39 +0100)]
[LWIP] Implement a LibTCPGetSocketStatus() function in our LwIP glue

It is used to query a socket state (established, closed, and so on).

12 months ago[TRANSLATION] Update Simplified Chinese translation. (#1057)
Luo Yufan [Fri, 23 Nov 2018 15:24:47 +0000 (23:24 +0800)]
[TRANSLATION] Update Simplified Chinese translation. (#1057)

12 months ago[SHELL32] Improve CORE-15295 IDD_FILE_PROPERTIES
Joachim Henze [Fri, 23 Nov 2018 01:25:28 +0000 (02:25 +0100)]
[SHELL32] Improve CORE-15295 IDD_FILE_PROPERTIES

addendum to 0.4.11-dev-673-g
04e1263921c0a4ee9b5ec10bb02884146fcca47a

Actually this control must not statically consume width of 170.
There are two different versions of that dialog.
One has a "change"-button. In this case the edit must be only 100 wide.
In case we have the version without the change button, we resize it to have
170 width (same as its neighbor).

This commit is shared work of
Stanislav Motylkov, Giannis Adamopoulos and Joachim Henze.

Commit supersedes PR#1056.

12 months ago[TCPIP] Fix returned IP address when querying TCP connections
Pierre Schweitzer [Thu, 22 Nov 2018 20:50:21 +0000 (21:50 +0100)]
[TCPIP] Fix returned IP address when querying TCP connections

This gives something like that now: https://twitter.com/HeisSpiter/status/1065706156331606017 :-)

CORE-15363

12 months ago[README] Now that we got rid of ViewVC (see https://reactos.org/pipermail/ros-dev...
Hermès Bélusca-Maïto [Thu, 22 Nov 2018 00:00:07 +0000 (01:00 +0100)]
[README] Now that we got rid of ViewVC (see https://reactos.org/pipermail/ros-dev/2018-November/018970.html), update the SVN archive repo URL.

12 months ago[SYSDM][DXDIAG][SYSTEMINFO] Include only one user-mode DMI library (#1054)
Stanislav Motylkov [Wed, 21 Nov 2018 21:07:54 +0000 (00:07 +0300)]
[SYSDM][DXDIAG][SYSTEMINFO] Include only one user-mode DMI library (#1054)

Include only one user-mode DMI library. Addendum to baf2c0c.

12 months ago[DRWTSN32] Add SMBIOS data to the system information (#1017)
Stanislav Motylkov [Wed, 21 Nov 2018 20:49:15 +0000 (23:49 +0300)]
[DRWTSN32] Add SMBIOS data to the system information (#1017)

[DMILIB][UDMIHELP] Allow functions to be linked with C++ code.

12 months ago[KERNEL32] FlsAlloc - fiber local storage list was not initialized before using 1033/head
Denis Malikov [Tue, 13 Nov 2018 15:52:18 +0000 (22:52 +0700)]
[KERNEL32] FlsAlloc - fiber local storage list was not initialized before using

12 months ago[MC] Fix syntax errors in errcodes.mc 1053/head
William Kent [Tue, 20 Nov 2018 18:38:52 +0000 (13:38 -0500)]
[MC] Fix syntax errors in errcodes.mc

This was causing the MSVC build to fail.

12 months agoUpdate README.md (#1051)
Adam Stachowicz [Tue, 20 Nov 2018 22:59:18 +0000 (23:59 +0100)]
Update README.md (#1051)

Powered by markdownlint ;)

12 months ago[IPHLPAPI] Fix checking entity when enumerating TCP/UDP connections
Pierre Schweitzer [Tue, 20 Nov 2018 21:12:47 +0000 (22:12 +0100)]
[IPHLPAPI] Fix checking entity when enumerating TCP/UDP connections

This fixes the API not to return the current TCP connections while
enumerating them (and thus, netstat not displaying them).
It seems we return garbage for now though

12 months agoAdd support for latest VS2017 (15.0) compiler (#1050)
William Kent [Mon, 19 Nov 2018 16:34:08 +0000 (11:34 -0500)]
Add support for latest VS2017 (15.0) compiler (#1050)

Latest VS 2017 CL.EXE compiler (version 19.16...) wasn't being correctly detected by the configure.cmd script.

12 months ago[NETSHELL] Fix '0' typo, in a text
Serge Gautherie [Mon, 19 Nov 2018 01:06:48 +0000 (02:06 +0100)]
[NETSHELL] Fix '0' typo, in a text

12 months ago[MC] Add messages 3710-3790 to netmsg.dll.
Eric Kohl [Sun, 18 Nov 2018 22:58:12 +0000 (23:58 +0100)]
[MC] Add messages 3710-3790 to netmsg.dll.

12 months ago[SETUPLIB][USETUP] Additional partition validity checks.
Hermès Bélusca-Maïto [Sun, 18 Nov 2018 18:07:23 +0000 (19:07 +0100)]
[SETUPLIB][USETUP] Additional partition validity checks.

Always perform the partition validity checks when creating new
primary/extended/logical partitions, and also when a new partition
is automatically created when unpartitioned space is selected for
ReactOS installation.

CORE-12246

12 months ago[OLE32] The CoDisconnectContext() stub added in 6a2f9673 (PR #1044) is actually Vista...
Hermès Bélusca-Maïto [Sun, 18 Nov 2018 20:05:32 +0000 (21:05 +0100)]
[OLE32] The CoDisconnectContext() stub added in 6a2f9673 (PR #1044) is actually Vista+. Caught by Thomas Faber.

12 months ago[FILEBROWSER] Remove a duplicated include. Noticed by Manuel Oppermann (see ros-dev...
Hermès Bélusca-Maïto [Sun, 18 Nov 2018 19:58:31 +0000 (20:58 +0100)]
[FILEBROWSER] Remove a duplicated include. Noticed by Manuel Oppermann (see ros-dev ML).

12 months ago[CHKDSK] Fix italian translation, by Marco Savelli (addendum to cfff74da).
Hermès Bélusca-Maïto [Sun, 18 Nov 2018 19:57:23 +0000 (20:57 +0100)]
[CHKDSK] Fix italian translation, by Marco Savelli (addendum to cfff74da).

12 months ago[TCPIP] Properly handle listening sockets
Pierre Schweitzer [Sun, 18 Nov 2018 19:51:54 +0000 (20:51 +0100)]
[TCPIP] Properly handle listening sockets

We first check if a socket is listening before
checking whether it has connections. This allows
properly returning listening address.
Furthermore, if it's listening, properly return
status so that it displays nice in netstat.

Result: https://twitter.com/HeisSpiter/status/1064245622323200000 :-)

12 months ago[IPHLPAPI] Properly count UDP entries
Pierre Schweitzer [Sun, 18 Nov 2018 17:56:36 +0000 (18:56 +0100)]
[IPHLPAPI] Properly count UDP entries

Fixes crash when running netstat -a with
no TCP connections but with UDP connections

CORE-5401

12 months ago[TCPIP] Implement returning UDP connections
Pierre Schweitzer [Sun, 18 Nov 2018 15:21:24 +0000 (16:21 +0100)]
[TCPIP] Implement returning UDP connections

CORE-5401

12 months ago[TCPIP] Implement returning TCP connections
Pierre Schweitzer [Sun, 18 Nov 2018 15:17:50 +0000 (16:17 +0100)]
[TCPIP] Implement returning TCP connections

CORE-5401

12 months ago[IPHLPAPI] Implement getNumUdpEntries() and getUdpTable()
Pierre Schweitzer [Sun, 18 Nov 2018 15:06:44 +0000 (16:06 +0100)]
[IPHLPAPI] Implement getNumUdpEntries() and getUdpTable()

CORE-5401

12 months ago[IPHLPAPI] Implement getNumTcpEntries() and getTcpTable()
Pierre Schweitzer [Sun, 18 Nov 2018 15:00:54 +0000 (16:00 +0100)]
[IPHLPAPI] Implement getNumTcpEntries() and getTcpTable()

CORE-5401

12 months ago[TDILIB] Make tdiGetSetOfThings() return useful status
Pierre Schweitzer [Sun, 18 Nov 2018 14:57:58 +0000 (15:57 +0100)]
[TDILIB] Make tdiGetSetOfThings() return useful status

12 months ago[MC] Add messages 3000-3049, 3660-3695 and 5500-5517 to netmsg.dll.
Eric Kohl [Sun, 18 Nov 2018 15:18:52 +0000 (16:18 +0100)]
[MC] Add messages 3000-3049, 3660-3695 and 5500-5517 to netmsg.dll.

12 months ago[OLE32] Add stub for CoDisconnectContext function (#1044)
Denis Malikov [Sun, 18 Nov 2018 14:32:07 +0000 (21:32 +0700)]
[OLE32] Add stub for CoDisconnectContext function (#1044)

12 months ago[NETSHELL] Add some notes about how it can be tested in windows
Giannis Adamopoulos [Sun, 18 Nov 2018 10:06:04 +0000 (12:06 +0200)]
[NETSHELL] Add some notes about how it can be tested in windows

12 months ago[NETSHELL] CNetConnectionPropertyUi: Add a comment about how windows write the settings
Giannis Adamopoulos [Wed, 14 Nov 2018 20:38:39 +0000 (22:38 +0200)]
[NETSHELL] CNetConnectionPropertyUi: Add a comment about how windows write the settings

12 months ago[NETSHELL] Move the implementation of the Disable button of the status dialog to...
Giannis Adamopoulos [Mon, 12 Nov 2018 22:36:52 +0000 (00:36 +0200)]
[NETSHELL] Move the implementation of the Disable button of the status dialog to CNetConnection::Disconnect

12 months ago[NETSHELL] CNetConUiObject: Implement the Connect and Disconnect context menu items
Giannis Adamopoulos [Mon, 12 Nov 2018 22:09:46 +0000 (00:09 +0200)]
[NETSHELL] CNetConUiObject: Implement the Connect and Disconnect context menu items

12 months ago[NETSHELL] Optionally use the system's CLSID_ConnectionManager
Giannis Adamopoulos [Mon, 12 Nov 2018 22:08:18 +0000 (00:08 +0200)]
[NETSHELL] Optionally use the system's CLSID_ConnectionManager
Use a central compile option like we do in the rest of the shell so that when testing in windows we can switch using the one in the current dll or the one registered in the system.
Note that not only CLSID_ConnectionManager isn't implemented in netshell, it can't even be instantiated as CLSCTX_INPROC_SERVER because it is implemented by the netman service

12 months ago[NETSHELL] Rewrite how pidls are created and accessed.
Giannis Adamopoulos [Mon, 12 Nov 2018 20:52:57 +0000 (22:52 +0200)]
[NETSHELL] Rewrite how pidls are created and accessed.
What we did before was completely wrong as we stored pointers in the pidl.

12 months ago[NETSHELL] Use smart pointers and IID_PPV_ARG
Giannis Adamopoulos [Mon, 12 Nov 2018 14:46:45 +0000 (16:46 +0200)]
[NETSHELL] Use smart pointers and IID_PPV_ARG

12 months ago[NETSHELL] Use ATL
Giannis Adamopoulos [Mon, 12 Nov 2018 11:23:38 +0000 (13:23 +0200)]
[NETSHELL] Use ATL

12 months ago[NETSHELL] Add missing license headers
Giannis Adamopoulos [Fri, 16 Nov 2018 11:24:03 +0000 (13:24 +0200)]
[NETSHELL] Add missing license headers
Since one of the first files in the module (shfldr_netconnect.c) used the LGPL2.1+ license, all the other files have the same license

12 months ago[MC] Add messages 3301-3421 to netmsg.dll and renamed messages 3500-3547.
Eric Kohl [Sun, 18 Nov 2018 09:54:28 +0000 (10:54 +0100)]
[MC] Add messages 3301-3421 to netmsg.dll and renamed messages 3500-3547.

12 months ago[MPR] Drop a nasty ReactOS specific hack
Pierre Schweitzer [Sat, 17 Nov 2018 21:01:13 +0000 (22:01 +0100)]
[MPR] Drop a nasty ReactOS specific hack

That hack (cf. previous commit) was used to restore all
the saved connections. But, because it was implemented
in the wrong place, each time the MPR DLL was attached,
it was trying to restore connections.

With that commit and the previous one, now, ReactOS has
a correct behavior (it tries to bring back connections
only at session opening) and will reduce "workload" for
applications attaching MPR dll.

CORE-15310

12 months ago[WINLOGON] Restore saved connections on session opening
Pierre Schweitzer [Sat, 17 Nov 2018 20:58:04 +0000 (21:58 +0100)]
[WINLOGON] Restore saved connections on session opening

This avoids using a nasty hack in MPR.

CORE-15310

12 months ago[MPR] Implement remembered connection enumeration
Pierre Schweitzer [Sat, 17 Nov 2018 20:55:57 +0000 (21:55 +0100)]
[MPR] Implement remembered connection enumeration

Submitted upstream

CORE-15310

12 months ago[OSK] Implement the welcome box (#1007)
Bișoc George [Sat, 17 Nov 2018 20:27:33 +0000 (21:27 +0100)]
[OSK] Implement the welcome box (#1007)

In Windows XP, both in On-Screen Keyboard and in Magnify there is a welcome box which is shown upon startup of the application. This feature is already implemented for Magnify in ReactOS which however in On-Screen Keyboard is still unimplemented.

12 months ago[MC] Add messages 3051-3099 and 5600-5602. This completes the SERVICE and SERVICE2...
Eric Kohl [Sat, 17 Nov 2018 20:12:47 +0000 (21:12 +0100)]
[MC] Add messages 3051-3099 and 5600-5602. This completes the SERVICE and SERVICE2 message ranges from lmsvc.h.

12 months ago[NTOSKRNL] ExfReleaseRundownProtectionCacheAware*() functions don't return anything
Pierre Schweitzer [Sat, 17 Nov 2018 16:36:18 +0000 (17:36 +0100)]
[NTOSKRNL] ExfReleaseRundownProtectionCacheAware*() functions don't return anything

12 months ago[NTOSKRNL] Implement ExfReInitializeRundownProtectionCacheAware()
Pierre Schweitzer [Sat, 17 Nov 2018 15:41:09 +0000 (16:41 +0100)]
[NTOSKRNL] Implement ExfReInitializeRundownProtectionCacheAware()

We're done with cache-aware rundown protections!

12 months ago[NTOSKRNL] Implement ExfRundownCompletedCacheAware()
Pierre Schweitzer [Sat, 17 Nov 2018 15:38:36 +0000 (16:38 +0100)]
[NTOSKRNL] Implement ExfRundownCompletedCacheAware()

12 months ago[NTOSKRNL] Replace ExGetRunRefForCurrentProcessor() by a more generic function
Pierre Schweitzer [Sat, 17 Nov 2018 15:33:22 +0000 (16:33 +0100)]
[NTOSKRNL] Replace ExGetRunRefForCurrentProcessor() by a more generic function

12 months ago[NTOSKRNL] Implement ExfWaitForRundownProtectionReleaseCacheAware()
Pierre Schweitzer [Sat, 17 Nov 2018 15:28:17 +0000 (16:28 +0100)]
[NTOSKRNL] Implement ExfWaitForRundownProtectionReleaseCacheAware()

12 months ago[NTOSKRNL] Properly align runrefs on SMP in ExInitializeRundownProtectionCacheAware()
Pierre Schweitzer [Sat, 17 Nov 2018 14:49:50 +0000 (15:49 +0100)]
[NTOSKRNL] Properly align runrefs on SMP in ExInitializeRundownProtectionCacheAware()