Commit graph

73364 commits

Author SHA1 Message Date
Pierre Schweitzer 500a5151ea
[TCPIP] Fix returned IP address when querying TCP connections
This gives something like that now: https://twitter.com/HeisSpiter/status/1065706156331606017 :-)

CORE-15363
2018-11-22 21:52:11 +01:00
Hermès Bélusca-Maïto 2403dea9b4
[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. 2018-11-22 01:00:07 +01:00
Stanislav Motylkov c1195f5300 [SYSDM][DXDIAG][SYSTEMINFO] Include only one user-mode DMI library (#1054)
Include only one user-mode DMI library. Addendum to baf2c0c.
2018-11-21 22:07:54 +01:00
Stanislav Motylkov baf2c0cc2d [DRWTSN32] Add SMBIOS data to the system information (#1017)
[DMILIB][UDMIHELP] Allow functions to be linked with C++ code.
2018-11-21 21:49:15 +01:00
Denis Malikov d897e271a2
[KERNEL32] FlsAlloc - fiber local storage list was not initialized before using 2018-11-21 19:18:01 +01:00
William Kent c1b4d51f0b
[MC] Fix syntax errors in errcodes.mc
This was causing the MSVC build to fail.
2018-11-21 00:15:42 +01:00
Adam Stachowicz 3562339a88 Update README.md (#1051)
Powered by markdownlint ;)
2018-11-20 23:59:18 +01:00
Pierre Schweitzer 8a98c85c1f
[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
2018-11-20 22:14:25 +01:00
William Kent f6f1255cf7 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.
2018-11-19 17:34:08 +01:00
Serge Gautherie 154ed37062 [NETSHELL] Fix '0' typo, in a text 2018-11-19 09:57:42 +02:00
Eric Kohl 634192cccd [MC] Add messages 3710-3790 to netmsg.dll. 2018-11-18 23:58:12 +01:00
Hermès Bélusca-Maïto 70fa2e2eb4
[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
2018-11-18 21:13:36 +01:00
Hermès Bélusca-Maïto 2d320f5a8d
[OLE32] The CoDisconnectContext() stub added in 6a2f9673 (PR #1044) is actually Vista+. Caught by Thomas Faber. 2018-11-18 21:06:22 +01:00
Hermès Bélusca-Maïto e77ffe2c72
[FILEBROWSER] Remove a duplicated include. Noticed by Manuel Oppermann (see ros-dev ML). 2018-11-18 21:06:21 +01:00
Hermès Bélusca-Maïto 769280c520
[CHKDSK] Fix italian translation, by Marco Savelli (addendum to cfff74da). 2018-11-18 21:06:19 +01:00
Pierre Schweitzer f29016dabe
[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 :-)
2018-11-18 20:51:54 +01:00
Pierre Schweitzer d18b1fe24b
[IPHLPAPI] Properly count UDP entries
Fixes crash when running netstat -a with
no TCP connections but with UDP connections

CORE-5401
2018-11-18 18:56:36 +01:00
Pierre Schweitzer 007f43dd56
[TCPIP] Implement returning UDP connections
CORE-5401
2018-11-18 16:30:45 +01:00
Pierre Schweitzer 77d5f04f22
[TCPIP] Implement returning TCP connections
CORE-5401
2018-11-18 16:30:45 +01:00
Pierre Schweitzer e3cb9697a4
[IPHLPAPI] Implement getNumUdpEntries() and getUdpTable()
CORE-5401
2018-11-18 16:30:45 +01:00
Pierre Schweitzer 678204790c
[IPHLPAPI] Implement getNumTcpEntries() and getTcpTable()
CORE-5401
2018-11-18 16:30:45 +01:00
Pierre Schweitzer 7c0a8eb555
[TDILIB] Make tdiGetSetOfThings() return useful status 2018-11-18 16:30:45 +01:00
Eric Kohl d70e92fcd3 [MC] Add messages 3000-3049, 3660-3695 and 5500-5517 to netmsg.dll. 2018-11-18 16:25:04 +01:00
Denis Malikov 6a2f967302 [OLE32] Add stub for CoDisconnectContext function (#1044) 2018-11-18 15:32:07 +01:00
Giannis Adamopoulos a9d92a99c6 [NETSHELL] Add some notes about how it can be tested in windows 2018-11-18 14:01:54 +02:00
Giannis Adamopoulos f722ddac96 [NETSHELL] CNetConnectionPropertyUi: Add a comment about how windows write the settings 2018-11-18 14:01:54 +02:00
Giannis Adamopoulos 0654d60eef [NETSHELL] Move the implementation of the Disable button of the status dialog to CNetConnection::Disconnect 2018-11-18 14:01:54 +02:00
Giannis Adamopoulos 132463abf2 [NETSHELL] CNetConUiObject: Implement the Connect and Disconnect context menu items 2018-11-18 14:01:54 +02:00
Giannis Adamopoulos 7506198780 [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
2018-11-18 14:01:54 +02:00
Giannis Adamopoulos 21a5a559f2 [NETSHELL] Rewrite how pidls are created and accessed.
What we did before was completely wrong as we stored pointers in the pidl.
2018-11-18 14:01:54 +02:00
Giannis Adamopoulos 769b102e5f [NETSHELL] Use smart pointers and IID_PPV_ARG 2018-11-18 14:01:54 +02:00
Giannis Adamopoulos c73d8c64bb [NETSHELL] Use ATL 2018-11-18 14:01:54 +02:00
Giannis Adamopoulos 8d47872ea0 [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
2018-11-18 14:01:54 +02:00
Eric Kohl 0ab3a1f2d5 [MC] Add messages 3301-3421 to netmsg.dll and renamed messages 3500-3547. 2018-11-18 10:54:28 +01:00
Pierre Schweitzer 5e024bfeb6
[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
2018-11-17 22:13:34 +01:00
Pierre Schweitzer 4cf87fdb2c
[WINLOGON] Restore saved connections on session opening
This avoids using a nasty hack in MPR.

CORE-15310
2018-11-17 22:13:34 +01:00
Pierre Schweitzer 8b0a126445
[MPR] Implement remembered connection enumeration
Submitted upstream

CORE-15310
2018-11-17 22:13:25 +01:00
Bișoc George 34c812365f [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.
2018-11-17 21:27:33 +01:00
Eric Kohl 9ff64cfebb [MC] Add messages 3051-3099 and 5600-5602. This completes the SERVICE and SERVICE2 message ranges from lmsvc.h. 2018-11-17 21:13:31 +01:00
Pierre Schweitzer 4f1e9252f1
[NTOSKRNL] ExfReleaseRundownProtectionCacheAware*() functions don't return anything 2018-11-17 17:36:18 +01:00
Pierre Schweitzer 7ed17cd714
[NTOSKRNL] Implement ExfReInitializeRundownProtectionCacheAware()
We're done with cache-aware rundown protections!
2018-11-17 16:44:37 +01:00
Pierre Schweitzer 05cca64448
[NTOSKRNL] Implement ExfRundownCompletedCacheAware() 2018-11-17 16:44:37 +01:00
Pierre Schweitzer fed61c6305
[NTOSKRNL] Replace ExGetRunRefForCurrentProcessor() by a more generic function 2018-11-17 16:44:36 +01:00
Pierre Schweitzer 7e849470af
[NTOSKRNL] Implement ExfWaitForRundownProtectionReleaseCacheAware() 2018-11-17 16:44:36 +01:00
Pierre Schweitzer acdf74aa3b
[NTOSKRNL] Properly align runrefs on SMP in ExInitializeRundownProtectionCacheAware() 2018-11-17 16:44:36 +01:00
Pierre Schweitzer c5db202bdc
[NTOSKRNL] Properly align allocation on SMP in ExAllocateCacheAwareRundownProtection() 2018-11-17 16:44:36 +01:00
Pierre Schweitzer 36fadc2dca
[NTOSKRNL] Implement ExfAcquireRundownProtectionCacheAwareEx(), ExfReleaseRundownProtectionCacheAwareEx() 2018-11-17 16:44:35 +01:00
Pierre Schweitzer afb2214154
[NTOSKRNL] Simplify implementation of ExfAcquireRundownProtectionCacheAware(), ExfReleaseRundownProtectionCacheAware() 2018-11-17 16:44:35 +01:00
Pierre Schweitzer 010b9b5469
[NTOSKRNL] Implement ExGetRunRefForCurrentProcessor() to get runref for a proc 2018-11-17 16:44:35 +01:00
Pierre Schweitzer 7e36e76d5d
[NTOSKRNL] Implement ExfAcquireRundownProtectionCacheAware(), ExfReleaseRundownProtectionCacheAware() 2018-11-17 16:44:35 +01:00