Commit graph

207 commits

Author SHA1 Message Date
Doug Lyons
1a31d8222d
[FIND] Return from the utility the success value from the FindString() function in all cases.
CORE-16356

Therefore the ERRORLEVEL value will be correctly set in accordance on
return from the utility in cmd.exe, and conditional tests based on this
returned value will succeed as they should.
2019-08-31 18:48:12 +02:00
Mark Jansen
69cd1ebbbd
[TIMEOUT] Use Int32x32To64 instead of __emul 2019-08-20 22:31:55 +02:00
William Kent
d9daaed325 Add support for save and restore reg.exe subcommands (#1565)
* [REG] Add save and restore help strings
* [REG] Implement REG SAVE
* [REG] Assert the BACKUP privilege
With this change applied, reg.exe correctly saves a key on Windows 10.
* [REG] Use RegSaveKeyEx()
* [REG] Implement REG RESTORE
* [REG] Close the process token
* [REG] Remove duplicate string
* [REG] Add missing comma
* [REG] Copy new strings into translation files
* [REG] Update STRING_USAGE translations
"Should be submitted to wine" (tm)
2019-08-20 00:29:58 +02:00
Timo Kreuzer
58588b76e2 [REACTOS] Fix MSVC printf format warnings 2019-08-15 15:24:12 +02:00
Hermès Bélusca-Maïto
28ed2347ef
[HOSTNAME] Retrieve the DNS *host name* of the computer, and not the computer name.
CORE-16095, ROSTESTS-326
2019-06-16 01:00:40 +02:00
Hermès Bélusca-Maïto
7a133609e7
[FIND] Improvements / bug-fixes. (#1553)
- Only include the strictly necessary headers.
- Get rid of the dependency on shell and user DLLs.
- fgetws() gets the string buffer size in number of characters.
- We can use the CRT functions for lengths of the arguments etc.

- The cFileName member of the WIN32_FIND_DATAW structure does not
  contain the full PATH to the enumerated file, but only its name.
  In order to use _wfopen(), build a full file path out of the
  directory part of the file specification and the full file name.

- Simplify a ConPrintf() call to make it "atomic".
- Fix the "confusion" lLineCount vs. lLineNumber vocable in the code.
- Do not emit an extra newline after having displayed the results for
  a given file.
- Uppercase the switches for performing the comparisons.
- Send the errors to the StdErr stream.
- Remove trailing whitespace.
2019-05-14 20:37:46 +02:00
Paweł Cholewa
1bd330cd81
[FIND] Rewrite of the find utility. (#1553)
This commit contains a complete rewrite of find console utility.
The goal of it was to make the source code easier to maintain
and to add a missing feature (/offline switch).

Additional changes:
 * now the program operates on Unicode strings;
 * added conutils and shlwapi as program's libraries;
 * added IDS_INVALID_SWITCH string into resources;
 * modified IDS_USAGE string to include /offline switch
   description.

https://ss64.com/nt/find.html was used for reference.
2019-05-14 20:37:38 +02: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
Amine Khaldi
0399644a49 [WMIC] Sync with Wine Staging 4.0. CORE-15682 2019-01-25 13:06:19 +01:00
David Quintana
01e5cb0c04
Resource file strings cleanup (#581)
[CMDUTILS/AT] Fix missing translation strings in certain files.
[NOTEPAD] Fix SUBLANG code to brazillian.
[RAPPS] Fix missing translation strings in certain files.
[FDEBUG] Fix translation string ID.
[CPL/INPUT] Fix missing translation strings in certain files.
[ACPPAGE] Fix incorrect resource IDs.
[NETSHELL] Fix incorrect resource IDs.
[DEVMGR] Fix missing translation strings in certain files.
[LSASRV] Fix missing translation strings in certain files.
[RASDLG] Fix missing translation strings in certain files.
[SHELL32] Fix missing translation strings and incorrect resource IDs.
[TAPIUI] Fix missing translation strings in certain files.
[WINFILE] Fix incorrect resource IDs.
[NTVDM] Fix missing translation strings in certain files.
[USERSRV] Fix missing translation strings in certain files.
[BROWSEUI] One more missing string.
[FLTMC] Fix missing translation strings in certain files.

Detected using the TransDiffer tool (early alpha).
This doesn't include everything anymore, but I wanted to get the PR out of the way.
2019-01-05 15:44:16 +01:00
Luo Yufan
c34833390a [TRANSLATION] Update Traditional Chinese translation. (#1193) 2018-12-27 16:24:24 +09:00
Luo Yufan
d1de19002a [TRANSLATION] Update Traditional Chinese translation. (#1192) 2018-12-26 21:02:23 +01:00
Luo Yufan
0a3f6f3b47 [TRANSLATION] Update Chinese translation. (#1187)
[REG][REACTOS][EXPLORER][APPWIZ][CONSOLE][INETCPL][INPUT]
[INTL][OPENGLCFG][TIMEDATE][DEVCPUX][COMCTL32][COMDLG32]
[MSGINA][NETCFGX][NETID][SETUPAPI][SHELL32][SYSSETUP]
Update Simplified and Traditional Chinese translations.
2018-12-25 17:28:36 +09:00
Joann Mõndresku
cc439606a5 [TRANSLATIONS] Estonian for various base applications 2018-11-07 16:58:16 +01:00
Amine Khaldi
19eb7a62f9 [XCOPY] Sync with Wine Staging 3.17. CORE-15127 2018-10-01 00:16:20 +01:00
Amine Khaldi
5a217e3a6f [WMIC] Sync with Wine Staging 3.17. CORE-15127 2018-10-01 00:15:34 +01:00
Amine Khaldi
cb0f46bddf [TASKKILL] Sync with Wine Staging 3.17. CORE-15127 2018-10-01 00:14:52 +01:00
Amine Khaldi
5260a37425 [REG] Sync with Wine Staging 3.17. CORE-15127 2018-10-01 00:13:56 +01:00
Amine Khaldi
fd8ec79fd1 [CSCRIPT][WSCRIPT] Sync with Wine Staging 3.17. CORE-15127 2018-10-01 00:11:58 +01:00
Katayama Hirofumi MZ
31019e8c0c [TRANSLATION] Update Romanian translation (#851)
Translation from Stefan Fulea.
CORE-15023
2018-09-14 11:04:36 +02:00
Hermès Bélusca-Maïto
d056eb05f2
[TIMEOUT] Fix a typo. 2018-08-27 00:28:10 +02:00
Bișoc George
3c131c2393 [TRANSLATION][WMIC] Add Italian translation 2018-08-08 12:55:10 +02:00
Timo Kreuzer
6f13066647 [APPLICATIONS] Fix 64 bit issues 2018-08-04 19:19:34 +02:00
Bișoc George
adc2e99690 [TRANSLATION][TASKKILL] Add Italian translation (#717) 2018-08-03 12:12:29 +02:00
Bișoc George
5a637150f0 [TRANSLATION][CLIP] Implement Italian translation (#682) 2018-07-12 17:41:20 +02:00
Paweł Cholewa
ed4eb9c7c3 [TRANSLATION][TIMEOUT] Created Polish translation of timeout 2018-07-02 14:02:23 +02:00
Paweł Cholewa
a13890cd35 [TRANSLATION][WHOAMI] Add Polish translation (#653) 2018-07-01 23:20:57 +02:00
Paweł Cholewa
73194a8ea9 [TRANSLATION][TREE] Polish translation of tree utility (#654) 2018-07-01 16:04:14 +02:00
Bișoc George
089ff1511d [TRANSLATION][AT] Implement the Italian resource file (#641) 2018-06-27 23:09:56 +02:00
Bișoc George
d5440316fa [TRANSLATION][WHOAMI] Add Italian resource (#626)
Note: Supersedes PR #627
2018-06-24 19:49:47 +02:00
Adam Słaboń
565ce5e827 [TRANSLATION] Polish translation update (#611)
Polish translation update for MODE, USETUP and SHELL32.
2018-06-12 15:51:37 +02:00
Amine Khaldi
98cf80fbc5 [REG] Sync with Wine Staging 3.9. CORE-14656 2018-05-27 03:48:33 +01:00
Adam Słaboń
72ad0fe70b [TRANSLATION] Polish translation update (#554)
- Added translations for cmdutils (at, clip, comp, eventcreate, mode, taskkill, wmic) and zipfldr.
- Updated translations for cmdutils (reg), drwtsn32, mmc, eventvwr, shell32 and cpl applets (console, input).
2018-05-19 13:17:49 +02:00
Hermès Bélusca-Maïto
3055afce81
[MODE] Improve the way the DOS device statuses are enumerated via the "mode" command (without parameters). 2018-04-29 19:36:13 +02:00
Hermès Bélusca-Maïto
84e78e6a15
[MODE] Use more translated strings. CORE-12178 2018-04-29 16:57:11 +02:00
Hermès Bélusca-Maïto
bc826532e3
[MODE] Use ConUtils functions for printing to screen. 2018-04-18 00:45:32 +02:00
Hermès Bélusca-Maïto
22bf169288
[MODE] Improve few points in the MODE command. Adapted from a patch by Katayama Hirofumi MZ. CORE-12894 2018-04-18 00:45:28 +02:00
Amine Khaldi
9be4c1ba35 [XCOPY] Sync with Wine Staging 3.3. CORE-14434 2018-03-25 12:56:35 +01:00
Amine Khaldi
94b1980b6b [WMIC] Sync with Wine Staging 3.3. CORE-14434 2018-03-25 12:55:09 +01:00
Amine Khaldi
a8d963ab0d [TASKKILL] Sync with Wine Staging 3.3. CORE-14434 2018-03-25 12:54:34 +01:00
Amine Khaldi
4ce8df2ba6 [SCHTASKS] Sync with Wine Staging 3.3. CORE-14434 2018-03-25 12:53:36 +01:00
Amine Khaldi
80c45b1f06 [REG] Sync with Wine Staging 3.3. CORE-14434 2018-03-25 12:50:15 +01:00
Amine Khaldi
eae3333c2f [CSCRIPT][WSCRIPT] Sync with Wine Staging 3.3. CORE-14434 2018-03-25 12:48:58 +01:00
Li Keqing
5ddbd37371 [TRANSLATION] Update Simplified Chinese Translations (#417) 2018-03-21 22:27:04 +01:00
Bișoc George
7b71877676 [TRANSLATION] Romanian translation for FONTEXT and TIMEOUT (#363)
[FONTEXT]: At the moment there is a comment in the en-US.rc resource file that advises to not translate it. I only created this file as a basis for the future. The file will be updated later when there is the possibility for FONTEXT to be translated further.
2018-02-05 18:57:39 +01:00
Amine Khaldi
502927fd0e [XCOPY] Sync with Wine 3.0. CORE-14225 2018-01-21 22:08:40 +01:00
Amine Khaldi
f7f635d478 [TASKKILL] Sync with Wine 3.0. CORE-14225 2018-01-21 22:07:31 +01:00
Amine Khaldi
b50acff2bf [REG] Sync with Wine 3.0. CORE-14225 2018-01-21 22:04:40 +01:00
Erdem Ersoy
ba3f074320 [TRANSLATIONS] Update the email address and add a note in the Turkish translation document (#271) 2018-01-07 22:09:42 +01:00
Markus Gothe
e2e699118f Improve swedish translations and add new translations to swedish. 2017-12-25 11:31:22 +01:00
Hermès Bélusca-Maïto
0710eae780
[DOSKEY] Resource files: remove trailing whitespace. 2017-12-16 21:09:59 +01:00
Hermès Bélusca-Maïto
ae9702fcec
[DOSKEY] Improvements when importing aliases definition files.
- The aliases ("macros") definition files have the same format as what
  is output by DosKey when one displays the list of defined aliases with
  the /macros: command-line switch. It should then, in particular,
  understand the format where executable names are also specified:

[exename1]
    alias1=command1
    ...

[exename2]
    aliasN=commandN
    ...

  We now behave similarly as Windows' version of this utility in that
  regard.

- Use ARRAYSIZE() when needed.
- Take the opportunity to add a license header to the source file.
2017-12-16 21:07:39 +01:00
CNAmira
43e1d6f177 [TRANSLATION] Update Simplified Chinese translations. (#170)
- Add Simplified Chinese translation for EVENTCREATE.
- Update translations for 'dxdiag', 'fontview', 'magnify', 'mmc', 'rapps' and 'wordpad'.
Patch by Li Keqing.
2017-12-07 22:53:48 +01:00
Sergey Stopkin
c8d97709cb CORE-13875 Added russian translation for timeout util 2017-10-08 18:14:44 +02:00
Colin Finck
950c86fb4c Fix remaining text file line endings in the tree. (#18)
Based on https://stackoverflow.com/a/1511273

Also enforce CRLF for all *.xml files in our tree, because they are distributed with ReactOS.
2017-10-06 15:00:36 +02:00
Hermès Bélusca-Maïto
221ed4cefe Remove unwanted .gitignore files. 2017-10-04 10:28:36 +02:00
Colin Finck
c2c66aff7d Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00