Commit Graph

68 Commits (master)

Author SHA1 Message Date
Alexandre Julliard 972ec1ac20 net: FormatMessage() now reports ERROR_NO_WORK_DONE error for empty string.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-13 22:07:31 +02:00
Alexandre Julliard ed6a5e97e0 programs: Make all program entrypoints cdecl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-17 17:05:47 +02:00
Alexandre Julliard cf391dc3e7 net: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 09:54:45 +02:00
Michael Stefaniuc beb464358e net: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 09:42:48 +02:00
Alexandre Julliard 399feae786 net: Use WINAPIV calling convention for variadic functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 10:21:10 +01:00
Huw Davies 3e7f0e685b net: Don't call CloseServiceHandle() with an invalid handle. 2015-07-16 21:20:52 +09:00
Hugh McMaster ba7d599b6f net: WriteFile should output the number of bytes in the char array, not the length of the WCHAR array. 2015-06-19 20:17:26 +09:00
Alexandre Julliard 86b1f94d28 makefiles: Get rid of the MAKE_PROG_RULES variable. 2014-01-02 12:12:57 +01:00
Alexandre Julliard 4f3d71cef3 makefiles: Get rid of the no longer used PO_SRCS variables. 2013-12-15 10:23:04 +01:00
Alexandre Julliard 5756ee09f3 makefiles: Add makedep pragmas for rc files that contain translations. 2013-11-05 20:38:19 +01:00
Frédéric Delanoy 06a66688a3 net: Use BOOL type where appropriate. 2013-10-15 14:28:20 +02:00
Alexandre Julliard da35622b83 makefiles: Disable use of Unicode macros globally for all the programs. 2012-01-20 13:14:16 +01:00
Francois Gouget f3f24fb5d4 net: Use FormatMessageW() for better internationalization support. 2011-10-21 12:31:18 +02:00
Francois Gouget df655b41a2 net: Add a full stop at the end of a sentence in the usage message. 2011-09-07 18:13:32 +02:00
Francois Gouget 16d77d2a0c net: Remove an untranslatable string from the resources.
Add some output_xxx() functions so we can print strings that don't come from resources.
Also protect against buffer overflows in output_vprintf() and constify the output_xxx() functions.
2011-08-30 12:09:10 +02:00
Francois Gouget a64f42b8d7 net: Add support for enumerating the running services with 'net start'. 2011-08-29 13:41:08 +02:00
Francois Gouget 175953563b net: Fix the parameter checking, /help handling and usage.
Also simplify and improve the usage messages.
2011-08-29 13:20:24 +02:00
Marcus Meissner a869964b31 net: LoadStringW incorrect size bytes vs characters. 2011-08-22 16:14:31 +02:00
Francois Gouget 0b2a67cffb net: Add a WriteConsole() fall back so things still works on Windows if the output is redirected. 2011-08-05 15:35:22 +02:00
Francois Gouget d8624c0445 net: Convert to Unicode. 2011-08-05 15:34:59 +02:00
Francois Gouget 89dcf229d0 net: Remove a debug trace. 2011-08-03 19:19:50 +02:00
Francois Gouget 9b29faae6a net: Make it possible to translate the connection status descriptions.
Also remove the description for USE_DISCONN as it is in fact a synonym 
for USE_SESSLOST.
2011-08-01 18:26:26 +02:00
Alexandre Julliard b8c80c995e net: Convert translations to po files. 2011-01-04 20:27:32 +01:00
Hwang YunSong ab4eb729fd net: Update Korean resource. 2010-12-29 17:00:22 +01:00
Davide Pizzetti ab3740afe6 net: Italian translation update. 2010-10-21 12:28:32 +02:00
Anders Jonsson 1dc1ba1414 net: Add Swedish translation. 2010-10-20 10:25:25 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard 6fb39dfe4a programs: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:37 +02:00
Igor Paliychuk 638aa31476 net: Add Ukrainian translation. 2010-07-20 16:29:46 +02:00
Gustavo Henrique Milaré cf229e7589 net: Update Portuguese (Brazilian) translation. 2010-07-01 10:09:31 +02:00
Michael Stefaniuc dbf5ec01ae net: Add the Romanian translation.
Translation by Claudia Cotună.
2010-06-23 15:26:48 +02:00
Davide Pizzetti e2e87ed228 net: Italian translation update. 2010-04-19 14:54:30 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Luca Bennati 9069faac68 net: Add Italian translation. 2010-02-02 11:47:19 +01:00
Alexandre Julliard 305fcef612 net: Use the explicit name for all A/W function. 2009-12-09 18:52:46 +01:00
Vladimir Pankratov 6e3ed38f6f net: Convert the Russian resources to UTF-8. 2009-07-20 13:35:04 +02:00
Michael Stefaniuc 0063b3e4a6 net: Build language resource files separately.
Do not include them from an other rc file.
2009-07-02 11:43:11 +02:00
Aurimas Fišeras c2815da5de net: Add Lithuanian translation. 2009-06-29 12:26:06 +02:00
Francois Gouget 7a71c5d3e3 net: Make output_string() and output_error_string() static. 2008-12-15 12:25:43 +01:00
Ricardo Filipe 42f63e0fac net: Added Portuguese translation. 2008-10-22 13:54:54 +02:00
Alexandre Julliard 0b85c35c70 net: Add missing #pragma codepage in utf-8 resources. 2008-06-11 20:32:08 +02:00
Francois Gouget 67e003676c net: Remove spaces before '\n' in resource strings. 2008-06-11 20:03:02 +02:00
Michael Stefaniuc a29c6d59ab net: Use consistent whitespace placement in the usage and help strings. 2008-06-06 10:27:57 +02:00
Michael Stefaniuc 17c9953a1f net: Add the USE subcommand to the translations that are missing it.
Spotted by Mikolaj Zalewski.
2008-06-06 10:27:53 +02:00
Rico Schüller 63e9c1ee09 net: Add German translation. 2008-06-05 11:25:06 +02:00
Jens Albretsen 7a57c23fc4 net: Added Danish translation. 2008-05-05 13:35:10 +02:00
ByeongSik Jeon 2440834b42 net: Update Korean translation. 2008-04-23 12:22:31 +02:00
Tomasz Nowiński df90b52627 Fixed typos in the Polish translations. 2008-04-21 20:34:47 +02:00
Rok Mandeljc 8bc61ed4d4 net: Added Slovenian Translation. 2008-04-08 11:56:23 +02:00
Rob Shearman e4c8d763c9 net: Display a more specific error message when a service command fails.
Use FormatMessage to get the message for the Win32 error.
2008-04-02 11:23:01 +02:00