Commit graph

953 commits

Author SHA1 Message Date
Eric Kohl acc821e1ea [UMPNPMGR] PNP_SetHwProf is not implemented in Windows XP and returns CR_CALL_NOT_IMPLEMENTED. 2019-06-11 16:32:44 +02:00
Hermès Bélusca-Maïto 6afe79f361
[CMD] Fix typo in Norwegian translation. 2019-06-10 16:57:59 +02:00
Yaroslav Kibysh cc387650c2
[CMD] Update Ukrainian translation. (#1641) 2019-06-10 16:56:38 +02:00
Yaroslav Kibysh 5ec32ee5f8
[RAPPS] Update Ukrainian translation. (#1640) 2019-06-10 16:47:55 +02:00
Yaroslav Kibysh da340662c6
[EXPLORER] Update Ukrainian translation. (#1624) 2019-06-08 18:30:03 +02:00
Eric Kohl 5e3c8ce0c6 [UMPNPMGR] Implement PNP_GetClassInstance(). 2019-06-06 18:16:31 +02:00
Mas Ahmad Muhammad 77ac92d817
[RAPPS] Add Indonesian translation. (#1598) 2019-06-04 15:52:22 +02:00
Mas Ahmad Muhammad 3300a8353c
[EXPLORER] Add Indonesian translation. (#1598) 2019-06-04 15:52:20 +02:00
Mas Ahmad Muhammad c08ba07498
[FORMAT] Update Indonesian translation. (#1598) 2019-06-04 15:52:18 +02:00
Mas Ahmad Muhammad a0f8e3af28
[RUNDLL32] Update Indonesian translation. (#1598) 2019-06-04 15:52:16 +02:00
Mas Ahmad Muhammad df14cbe011
[SUBST] Add Indonesian translation. (#1598) 2019-06-04 15:52:14 +02:00
Mas Ahmad Muhammad a759d582c1
[SERVICES] Add Indonesian translation. (#1598) 2019-06-04 15:52:11 +02:00
Mas Ahmad Muhammad 8725d12db3
[RUNONCE] Add Indonesian translation. (#1598) 2019-06-04 15:52:09 +02:00
Mas Ahmad Muhammad ba4f067a5c
[FONTVIEW] Add Indonesian translation. (#1598) 2019-06-04 15:52:07 +02:00
Mas Ahmad Muhammad b5002b5f1f
[MSPAINT] Add Indonesian translation. (#1598) 2019-06-04 15:52:04 +02:00
Mas Ahmad Muhammad a945e621f7
[OSK] Add Indonesian translation. (#1598) 2019-06-04 15:52:01 +02:00
Mas Ahmad Muhammad 9e72073b59
[REGEDIT] Update Indonesian translation. (#1598) 2019-06-04 15:51:58 +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 fe3ae24369 [UMPNPMGR] Split the monolithic monster: service, rpc and installer. 2019-05-30 11:48:29 +02:00
Eric Kohl e71a94da20 [UMPNPMGR] PNP_QueryArbitratorFreeData and PNP_QueryArbitratorFreeSize don't do anything useful today. 2019-05-30 01:02:09 +02:00
Eric Kohl 78600cf223 [NETLOGON] Add the netlogon service. 2019-05-29 13:37:20 +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
Timo Kreuzer 9dc6c14eca [TFTPD] Disable format-overflow warnings 2019-05-27 13:22:40 +02:00
Timo Kreuzer 6129fbaf1e [USETUP] Use RtlStringCbPrintfA instead of sprintf
Fixes GCC 8 warning:
base/setup/usetup/usetup.c:3407:78: error: '%S' directive writing up to 521 bytes into a region of size 200 [-Werror=format-overflow=]
                 "Setup is currently unable to check a partition formatted in %S.\n"
                                                                              ^~
base/setup/usetup/usetup.c:3406:9: note: 'sprintf' output between 128 and 649 bytes into a destination of size 260
         sprintf(Buffer,
         ^~~~~~~~~~~~~~~
                 "Setup is currently unable to check a partition formatted in %S.\n"
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 "\n"
                 ~~~~
                 "  \x07  Press ENTER to continue Setup.\n"
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 "  \x07  Press F3 to quit Setup.",
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 PartEntry->FileSystem);
                 ~~~~~~~~~~~~~~~~~~~~~~
2019-05-27 13:22:40 +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
Jose Carlos Jesus e2f898aa94
[EXPLORER] Update Portuguese Translation 2019-05-26 21:19:35 +02:00
Jose Carlos Jesus 7f5e960e32
[TRANSLATIONS] Update/Add Portuguese translations.
Translations for: reactos/setup, usetup, syssetup, netshell, shell32.
2019-05-26 21:19:31 +02:00
Oleg Dubinskiy 3b0e093aba [SETUP] Fix controls position in 1st stage GUI setup for Russian translation 2019-05-23 23:29:46 +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
Jose Carlos Jesus 73d7fd1415
[TRANSLATIONS] Update/Add Portuguese translations. (#1564)
Translations for: deskadp, deskmon, reactos/setup, usetup, syssetup.

Co-Authored-By: Bișoc George <fraizeraust99@gmail.com>
2019-05-19 17:04:47 +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
Bișoc George 6a124ef38a
[MAGNIFY] Initialize the common controls as the program has a manifest 2019-05-14 20:49:36 +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
Jose Carlos Jesus 1a23f3c9df
[EXPLORER] Add Portuguese (Portugal) pt-PT.rc translation. CORE-15967 (#1558) 2019-05-11 22:31:00 +02:00
Oleg Dubinskiy 4172325559 [NOTEPAD] Duplicate notepad.exe in SystemRoot. CORE-16003 (#1555)
This is also done on Windows for backwards compatibility with Windows 3.x/9x.
But, it's also used (i.e. "required") by some installers, like Doom 3 Demo installer and Battlefield 1942 Single Player Demo installer, for successful opening of their Readme file at the end of their installation!
2019-05-05 19:48:37 +02:00
Eric Kohl 3acec58fb5 [NET] Replace remaining strings of the NET ACCOUNTS command by messages 2019-05-04 21:12:09 +02:00
Bișoc George f8b90805ff
[OSK] Hotfix for PR #1536 (#1549)
CORE-15965
2019-05-01 22:22:08 +02:00
Bișoc George f681bad246 [OSK] Make the buttons themed
Our On-Screen Keyboard has a manifest and the buttons (the ones with BS_ICON styles) aren't rendered with the specific theme as it should be but instead it takes the classic theme.

The code relies on NM_CUSTOMDRAW notification, which is more intuitive and efficient than doing owner-drawn operations as NM_CUSTOMDRAW allows the controls to use styles whereas you cannot do it on owner-drawn controls.

CORE-15965
2019-04-29 21:31:29 +02:00
Serge Gautherie cf48f8bf8a [REACTOS] Replace remnant legacy SPIF_SENDWININICHANGE by SPIF_SENDCHANGE (#1526)
No functional change otherwise.
2019-04-28 21:19:42 +02:00
Katayama Hirofumi MZ f2512254e0
[MSPAINT] Set default extension .bmp (#1515)
Set the default extension of mspaint to .bmp. CORE-7114
2019-04-23 14:25:18 +09:00