Hervé Poussineau
d8b1ff9056
Disable some C++ code, which doesn't compile for me
2021-09-29 22:56:35 +02:00
Hermès Bélusca-Maïto
158a479a4e
[TRANSLATION] Replace '\r\n' by '\n' from displayed strings, when possible.
2021-09-13 03:52:23 +02:00
Hermès Bélusca-Maïto
9393fc320e
[FORMATTING] Remove trailing whitespace. Addendum to 34593d93
.
...
Excluded: 3rd-party code (incl. wine) and most of the win32ss.
2021-09-13 03:52:22 +02:00
Hermès Bélusca-Maïto
bbabe2489e
[FORMATTING][TRANSLATION] Remove trailing whitespace. Addendum to 34593d93
.
...
Excluded: 3rd-party code (incl. wine).
2021-09-13 03:52:21 +02:00
Süleyman Poyraz
53221834c5
[TRANSLATION] Add and improve Turkish (tr-TR) translation ( #3561 )
...
Reviewed-by: Can Taşan <ctasan99@hotmail.com>
Reviewed-by: Ercan Ersoy <ercanersoy@ercanersoy.net>
Signed-off-by: Süleyman Poyraz <zaryob.dev@gmail.com>
2021-09-12 00:34:11 +03:00
Gabriel Aguiar
b3a5eeb131
[TRANSLATION] Update Portuguese (pt-PT) translation ( #3876 )
...
Co-authored-by: Gabriel Aguiar <fgygh5804@gmail.com>
Reviewed-by: Joachim Henze <Joachim.Henze@reactos.org>
Reviewed-by: Jose Carlos Jesus <zecarlos1957@hotmail.com>
Reviewed-by: Stanislav Motylkov <x86corez@gmail.com>
Signed-off-by: Gabriel Aguiar <fgsoftwarestudio@gmail.com>
2021-09-07 16:12:01 +03:00
Timo Kreuzer
41bc57ddf0
[REACTOS] Silence warnings in 3r-party code
2021-07-23 22:03:48 +02:00
Jérôme Gardou
e961958823
[NSLOOKUP] Check WSAStartup return value
...
CORE-17637
2021-06-28 10:20:57 +02:00
Jérôme Gardou
6bf64780e4
[NET] Properly check return value of EnumServicesStatusW on first call
2021-06-28 10:20:57 +02:00
Victor Perevertkin
74ec94e12c
[CMAKE] Some options are only supported by GCC, don't use them for clang
...
These are (so far):
-Wno-format-overflow
-Wno-nonnull-compare
-Wno-old-style-declaration
-Wno-unused-but-set-variable
2021-04-09 03:58:19 +03:00
George Bișoc
b00ecdcab9
Replace my E-mail with the ReactOS org one ( #3475 )
...
From now on for ReactOS related contributions only the organization e-mail shall be used and also reverse the order of my real full name.
2021-02-22 18:26:55 +03:00
Hervé Poussineau
796a536a22
Revert "Disable some C++ code, which doesn't compile for me"
...
This reverts commit 83d9920cb9
.
2021-02-16 00:13:18 +01:00
Hervé Poussineau
83d9920cb9
Disable some C++ code, which doesn't compile for me
2021-02-16 00:12:25 +01:00
Aobi Chan CL
3692b5ff25
[TRANSLATION] Chinese Traditional (zh-TW) translation improvement ( #3430 )
...
- CACLS, FONTSUB, NOTEPAD, SOLITAIRE, VCDCONTROLTOOL, WORDPAD: Update Chinese Traditional translation.
- CALC, PING, SYSTEMINFO Add Chinese Traditional translation.
- PING, SYSTEMINFO: Update zh-TW.rc to make it less Windows like (maybe).
- WRITE, WINFILE: Translation sync to Wine.
+ Update media/doc/For_Chinese_Translation.txt
2021-02-07 22:14:19 +01:00
Eric Kohl
560b66a2d5
[NET] Remove the NAME, PRINT and SEND options because we will most likely never have a messenger service
2021-02-07 13:45:25 +01:00
Jérôme Gardou
6fcd9f3184
[FTP] Always link agains oldnames
2020-12-28 12:13:30 +01:00
Jérôme Gardou
ed61512236
[CMAKE] Get rid of add_compile_flags_language macro
...
in favor of add_compile_options and the like with generator expressions
Also take this as an opportunity to remove the C++11 standard hack, GCC 8 now defaults to C++14
2020-10-20 21:44:54 +02:00
Jérôme Gardou
d6ea8659c8
[CMAKE] Get rid of the set_cpp macro
...
Instead of messing with global variables and the like, we introduce two target properties:
- WITH_CXX_EXCEPTIONS: if you want to use C++ exceptions
- WITH_CXX_RTTI: if you need RTTI in your module
You can use the newly introduced set_target_cpp_properties function, with WITH_EXCEPTIONS and WITH_RTTI arguments
We also introduce two libraries :
- cpprt: for C++ runtime routines
- cppstl: for the C++ standard template library
NB: On GCC, this requires to create imported libraries with the related built-in libraries:libsupc++, limingwex, libstdc++
Finally, we manage the relevant flags with the ad-hoc generator expressions
So, if you don't need exceptions, nor RTTI, nor use any runtime at all: you simply have nothing else to do than add your C++ file to your module
2020-10-20 21:44:54 +02:00
Catalin Gabriel Draghita
0ab63f9590
[BASE] Improve Spanish (es-ES) translation ( #3088 )
2020-08-25 18:10:23 +03:00
Thomas Faber
44ae567e39
[TELNET] Don't build this for clang due to compiler errors. CORE-17202
2020-08-23 12:07:38 +02:00
Serge Gautherie
b509658280
[CMAKE] Remove obsolete 'CMAKE_CXX_COMPILER_VERSION' checks ( #2981 )
...
Following upgrade to RosBE 2.2.0 support and GCC 8.4.
2020-07-18 15:37:29 +02:00
Serge Gautherie
4292fdd8aa
[NET] cmdAccounts(): Set ProductType default value ( #2365 )
2020-07-04 15:16:22 +02:00
Katayama Hirofumi MZ
278f563e04
[FTP] Don't hardcode C: drive ( #2767 )
...
CORE-13235
2020-05-13 13:42:18 +09:00
Eric Kohl
592bafd60a
[ARP] Print a message when there is no relevant entry to be shown
2020-05-10 09:05:52 +02:00
Eric Kohl
5ebde7139a
[ARP] Coding style fixes only
2020-05-10 08:24:10 +02:00
Eric Kohl
e31069738f
[ARP] Improvements to ARP
...
- Print message on failed memory allocations.
- Functions return error code instead of exit code.
- Convert error code to exit code in the main function only.
- Always free the allocated memory.
- Fix bug from previous commit: Use _tprintf instead _putts to print messages.
2020-05-10 00:46:42 +02:00
Eric Kohl
ac01e4cd72
[ARP] Replace some hard-coded strings by message resources
2020-05-09 12:30:11 +02:00
Eric Kohl
16d136a63e
[NET][MC] Replace the last string resource by a message from netmsg.dll.
...
- Move translations to netmsg.dll.
- Keep italian translation as a comment because netmsg.dll does not have an italian translation yet.
- Remove obsolete resource files.
2020-05-01 10:27:26 +02:00
Eric Kohl
1ca7d5d948
[IPCONFIG] Improvements to ipconfig
...
- Simplify the cleanup-code in ShowInfo
- Print the 'Primary DNS suffix' and the 'DNS Suffix Search List'
- Move the /registerdns message into its own function
2020-04-13 11:25:50 +02:00
Serge Gautherie
94f6db22d1
[PING] Do not abort (as OoM) when request size = 0
2020-03-25 08:52:28 +03:00
Serge Gautherie
8532c3b6f6
[PING][TRACERT] Fully support Win64 ICMP_ECHO_REPLY32 ( #2427 )
2020-03-09 19:41:39 +01:00
Erdem Ersoy
0ddf0a06c3
[TRACERT] Fix undefined behavior by fixing ReplyBuffer size. ( #2422 )
...
CORE-16620
2020-03-08 19:36:07 +01:00
Serge Gautherie
92aabb07fb
[REACTOS] Fix remaining ' \n' typos, in *.rc ( #2393 )
...
Addendum to commit 554c41e4
(#2387 ).
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
2020-03-06 19:08:25 +01:00
Serge Gautherie
1fa2780796
[NETSTAT] Fix output formats and more ( #1709 )
...
* [NETSTAT] Restore expected output formats
"Revert" parts of bd3c852012
.
CORE-16119
* [NETSTAT] Improve default and ICMPv4 output formats
* [NETSTAT] Fix a few typos, in output strings
* [NETSTAT] Output usage to StdErr
* [NETSTAT] Be more explicit about unimplemented -b/-t/-v options
2019-11-29 08:26:19 +01:00
Serge Gautherie
0f92924a99
[REACTOS] Use explicit StringCb*W() ( #2069 )
2019-11-21 00:47:06 +01:00
Eric Kohl
50605143f6
[IPCONFIG] Display missing record types and record names
2019-11-17 13:24:25 +01:00
Eric Kohl
e196149b71
[IPCONFIG] Display non-zero type records only and improve error messages
2019-11-16 20:29:44 +01:00
Carlo Bramini
1f80221ce5
[NETWORK] Add italian translation for NET command. ( #2005 )
2019-10-31 19:28:50 +01:00
Eric Kohl
f63310b056
[IPCONFIG] Revert changes that were not meant to be published yet
2019-10-27 09:33:27 +01:00
Eric Kohl
789edebfac
[IPCONFIG][DNSAPI][SDK] Renamed DNSCACHEENTRY and fixed its type field(s)
...
Now, 'ipconfig /displaydns' displays A- and AAAA-records correctly.
2019-10-27 08:35:03 +01:00
Eric Kohl
b0d4763f2b
[IPCONFIG] Implement the /flushdns option and most of the /displaydns option
2019-10-20 23:24:28 +02:00
Adam Słaboń
c81af08f51
[TRANSLATION] Polish translation update ( #1916 )
...
Added translation for netstat, utilman and netplwiz. Updated translation of find, reg, rapps, regedit, sndvol32, usetup, hivesys, mmsys, openglcfg, powercfg, sysdm, shellext, browseui, devmgr, msgina, netcfgx, shell32, syssetup, shortcuts and vcdcontroltool.
2019-09-20 21:51:47 +02:00
Eric Kohl
5539ca8d7e
[IPCONFIG] Improve the 'Autoconfiguration Enabled' information
...
- Show 'Autoconfiguration Enabled' only if DHCP is enabled for the adapter.
- Retrieve and display the autoconfiguration state.
2019-09-20 09:25:49 +02:00
Serge Gautherie
af0d1d2f98
[NETSTAT] '-p UDP' depends on '-a'
2019-08-16 14:46:45 +02:00
Serge Gautherie
5e10c4ed32
[NETSTAT] ShowUdpTable(): Fix "tcp" copypasta
2019-06-30 13:55:05 +02:00
Hermès Bélusca-Maïto
b695971c7f
[NETSTAT] Simplify some code; don't use exit(); call WSACleanup() on exit.
2019-06-29 18:10:43 +02:00
Hermès Bélusca-Maïto
ab7dc56d6c
[NETSTAT] Formatting; use _wsystem() call; do not hardcode buffer lengths.
2019-06-29 17:32:53 +02:00
Alexey Gorgurov
f6f66fa987
[NETSTAT] Fix TCP/UDP output. ( #1696 )
...
CORE-16151
The underlying StringCchPrintfW() function must use %S for CHAR strings
and %s for wide chars.
See
https://docs.microsoft.com/en-us/cpp/c-runtime-library/format-specification-syntax-printf-and-wprintf-functions?view=vs-2019
for details.
2019-06-29 16:58:47 +02:00
Hermès Bélusca-Maïto
84c20018e6
[NETSTAT] Really fix the build.
2019-06-20 21:15:12 +02:00
Hermès Bélusca-Maïto
dda5ec44b0
[NETSTAT] Simplify DoFormatMessage(), and fix build.
2019-06-20 20:59:23 +02:00
Lee Schroeder
bd3c852012
[NETSTAT] Convert the netstat utility to Unicode, and localize it. ( #1657 )
...
CORE-16119
Also, change its resource file description to reflect that the utility isn't just for TCPv4.
2019-06-20 20:48:07 +02:00
Jose Carlos Jesus
285afe8851
[WLANCONF] Add Portuguese (neutral) translation. ( #1656 )
2019-06-17 15:12:12 +02:00
Eric Kohl
cd579382b5
[IPCONFIG] Indentation and coding style fixes. No code changes!
2019-06-13 02:35:53 +02:00
Eric Kohl
419fb423ce
[IPCONFIG] Show the Description and Physical Address for disconnected network adapters.
2019-06-12 18:04:50 +02:00
Eric Kohl
6734d4ca09
[IPCONFIG] Fix crash on 'ipconfig /all'
...
Ipconfig should not display invalid 'Lease Obtained' and 'Lease Expires' times because it did not yet receive any DHCP configuration.
Fixes CORE-11837
2019-06-12 17:48:35 +02:00
Eric Kohl
22df51edc2
[NET] Implement adding and deleting of network shares.
2019-06-04 10:11:22 +02:00
Eric Kohl
42bcdb15a3
[NET] Start work on the SHARE command. List shares and display their properties.
2019-05-31 22:46:44 +02:00
Eric Kohl
d0d7c5f045
[NET] Fix remaining issues with logon hours.
2019-05-28 17:23:43 +02:00
Eric Kohl
df31f870c8
[NET] Load the names of the days of week for the 'times' parser routine from the netmsg.dll.
2019-05-28 08:27:23 +02:00
Eric Kohl
e5b635ed10
[NET] Fix the timezone issue in the logon hours parser and display code of the USER command.
2019-05-27 17:00:56 +02:00
Timo Kreuzer
194180b1be
[TELNET] Add missing curly braces to for-statement
...
Fixes GCC 8 warning:
base/applications/network/telnet/src/tnmain.cpp:171:8: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
for (j = cursor; j >= 0; j--)
^~~
base/applications/network/telnet/src/tnmain.cpp:174:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for (k = --j; k >= 0; k--)
^~~
2019-05-27 13:54:08 +02:00
Timo Kreuzer
454745e48c
[TELNET] Add missing curly braces to while-statement
...
Fixes GCC 8 warning:
base/applications/network/telnet/src/tmapldr.cpp:70:3: error: this 'while' clause does not guard... [-Werror=misleading-indentation]
while (buf[len])
^~~~~
base/applications/network/telnet/src/tmapldr.cpp:74:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
if (len && (buf[len-1] == ' ')) {
^~
2019-05-27 13:54:08 +02:00
Timo Kreuzer
fdf221cb17
[TELNET] Add missing curly braces to if-statelent
...
Fixes GCC 8 warning:
base/applications/network/telnet/src/tnmain.cpp:171:8: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
for (j = cursor; j >= 0; j--)
^~~
base/applications/network/telnet/src/tnmain.cpp:174:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for (k = --j; k >= 0; k--)
^~~
2019-05-27 13:54:08 +02:00
Timo Kreuzer
85d7a38c41
[TELNET] disable restrict warnings
...
Fixes GCC 8 warning:
base/applications/network/telnet/src/tnmain.cpp:190:13: error: 'char* strcpy(char*, const char*)' accessing 1 byte at offsets [0, 2147483647] and [0, 2147483647] may overlap 1 byte at offset 0 [-Werror=restrict]
strcpy(&buf[cursor],&buf[cursor+1]);
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2019-05-27 13:54:07 +02:00
Eric Kohl
ccd95b9880
[NET] Implement a parser for the '/times' option of the 'user' command.
...
Work in progress:
- Does not obey to the users time zone.
- Accepts english abbreviations of the days of week only.
2019-05-27 09:27:53 +02:00
Eric Kohl
611e6d7d0e
[NET] Start parsing the /times option of the USER command.
...
Only '/times:' and '/times:all' are accepted yet.
2019-05-20 22:36:10 +02:00
Eric Kohl
23825149a2
[NET] Display the 'no logon hours' case in the USER command.
2019-05-18 21:21:39 +02:00
Eric Kohl
0ca929791a
[NET] Implement proper output of logon hour ranges in the USER command.
2019-05-18 14:46:54 +02:00
Eric Kohl
4cf5013a54
[NET] Print raw logon hour ranges in the USER command.
2019-05-18 11:27:00 +02:00
Eric Kohl
3acec58fb5
[NET] Replace remaining strings of the NET ACCOUNTS command by messages
2019-05-04 21:12:09 +02:00
Eric Kohl
29bf209767
[NET][MC] Move remaining generic strings from net.exe to netmsg.dll.
...
Translators, please check the translations!
2019-04-09 21:44:03 +02:00
Eric Kohl
88f899e132
[NET][MC] Move generic strings from net.exe to netmsg.dll.
...
Translators, please check the translations!
2019-04-08 22:48:06 +02:00
Eric Kohl
5563525ad4
[NET][MC] Move the remaining STATISTICS and USER strings from net.exe to netmsg.dll.
...
Translators, please check the translations!
2019-04-07 09:23:01 +02:00
Eric Kohl
cf16429c60
[NET][MC] Move STATISTICS SERVER strings from net.exe to netmsg.dll.
...
Translators, please check the translations!
2019-04-06 19:42:51 +02:00
Eric Kohl
050db4facb
[NET][MC] Move NET USER strings from net.exe to netmsg.dll.
...
Translators, please check the translations!
2019-04-06 15:42:10 +02:00
Eric Kohl
8120a5ec80
[NET][MC] Move NET CONFIG strings from net.exe to netmsg.dll.
...
Translators, please check the translations!
2019-04-06 13:39:42 +02:00
Eric Kohl
9f95e35ff3
[NET][MC] Replace strings for the ACCOUNTS, GROUP and LOCALGROUP commands by netmsg.dll messages.
2019-04-05 23:15:32 +02:00
Eric Kohl
08d3040377
[NET] Display the country along with the users country code.
2019-03-10 22:01:40 +01:00
Eric Kohl
e5904abf94
[NET] Move the remaining IDS_GENERIC_PAGE strings into the command messages and fix a size restriction of ConPrintf().
2019-03-10 09:55:15 +01:00
Eric Kohl
e2b8141eb6
[NET] Add help message for the NET USER command and move the IDS_GENERIC_PAGE string into the help messages.
2019-03-10 08:59:32 +01:00
Eric Kohl
eaee5e840b
[NET] Implement the NET SYNTAX pseudo command.
2019-03-10 01:04:26 +01:00
Eric Kohl
4d8859cfd8
[NET] Fix some 'net help' and 'net user' issues.
2019-03-10 00:30:27 +01:00
Julian Kirsch
42515190c5
[NSLOOKUP] Fix crash in case of no network connectivity ( #1354 )
...
Prevent nslookup.exe from crashing when executed in a ROS VM with no network
interfaces. This is due to a NULL pointer dereference occurring if
`GetNetworkParams` in `main` fails with an error other than
`ERROR_BUFFER_OVERFLOW`. In this case, `pNetInfo` remains initialized to
NULL, causing `strncpy` to crash.
2019-02-13 13:12:52 +01:00
Ștefan Fulea
211ad8c73d
[TRANSLATION] Update the existing romanian resources
...
This includes both newly added and previously left untranslated strings.
2019-01-29 13:48:48 +01:00
Eric Kohl
372363930f
[NET] Implement the /add and /del options of the computer command.
2019-01-05 15:04:09 +01:00
Luo Yufan
cfddf95d6f
[TRANSLATION] Update Chinese translation. ( #1205 )
...
[NET][DISKPART][WINLOGON][ACCESS][APPWIZ][DESK][JOY][MMSYS][POWERCFG][SYSDM][NETCFGX][NETID][SAMSRV][TAPIUI][INF] Update Chinese translation.
2018-12-31 18:47:37 +09:00
Eric Kohl
69ff796168
Fix the build
2018-12-24 17:03:00 +01:00
Eric Kohl
7a27dc8a55
[NET] Add (incomplete) COMPUTER command and rename help.c to cmdHelp.c.
2018-12-24 14:39:26 +01:00
Eric Kohl
4e28e65490
[NET] Move TIME, USE, USER, VIEW and NET command syntax and help texts into a message table and add the translators names to the message file.
2018-12-24 11:48:23 +01:00
Eric Kohl
4984e1b810
[NET] Move START, STATISTICS and STOP command syntax and help texts into a message table.
2018-12-24 10:20:44 +01:00
Eric Kohl
01af56140c
[NET] Move PAUSE, PRINT, SEND, SESSION and SHARE command syntax and help texts into a message table.
2018-12-24 01:25:30 +01:00
Eric Kohl
e560fa2741
[NET] Move HRELPMSG, LOVALGROUP and NAME command syntax and help texts into a message table.
2018-12-24 00:13:16 +01:00
Eric Kohl
e1824b5bd3
[NET] Move FILE, GROUP and HELP command syntax and help texts into a message table.
2018-12-23 21:42:49 +01:00
Eric Kohl
34e9290821
[NET] Move COMPUTER, CONFIG and CONTINUE command syntax and help texts into a message table.
2018-12-23 20:22:48 +01:00
Eric Kohl
7292af515d
[NET] Move ACCOUNTS command syntax and help text into a message table.
2018-12-23 16:50:25 +01:00
Eric Kohl
d5c74ae6fe
[NET] Load netmsg.dll right from the start and print some messages using netmsg.dll rather than local strings.
...
@Translators: Please start translating messages from netmsgmsg.mc and errorcodes.mc (located in sdk\include\reactos\mc). They will be used instead of local strings.
2018-12-23 14:18:51 +01:00
Luo Yufan
39a478d17b
[TRANSLATION] Update Simplified Chinese translation. ( #1096 )
2018-12-05 16:50:05 +01:00
Eric Kohl
f5bd2c1f8d
[NET] NET HLPMSG: Fill inserts with '***' and print a proper error message if the desired message could not be found.
2018-12-01 22:06:30 +01:00
Eric Kohl
17fa384a25
[NET] NET HELPMSG: Add support for network message from netmsg.dll.
2018-12-01 17:11:51 +01:00
Pierre Schweitzer
29c883e2a5
[NETSTAT] Add support for displaying UDP connections owning process
...
Our netstat can basically look like this now:
https://twitter.com/HeisSpiter/status/1066430887208919040
2018-11-24 21:41:11 +01:00