Commit Graph

143 Commits

Author SHA1 Message Date
Eric Pouech 18f9d2dd9d start: Use OEM code page for output.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-02 11:47:36 +02:00
Eric Pouech 603d7f406c start: Remove workaround for /exec without console.
Rather use inheritance of SHELL_NO_WINDOW pseudo console in this case.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 20:19:33 +02:00
Eric Pouech c7e87b536e start: Force no console creation when using start /exec.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-17 21:06:10 +01:00
Eric Pouech e704f0372e start: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-07 10:59:19 +01:00
Alexandre Julliard f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Eric Pouech a1abb524fe start: Wrap child inside a job so it gets killed when start.exe terminates.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50869
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-25 20:50:49 +01:00
Eric Pouech ff7ff4d0b4 start: Ignore Ctrl-C and let the child decides what to do with it.
Based on a patch from Bernhard Übelacker

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51766
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-15 18:56:06 +01:00
Alexandre Julliard 088a787a2c makefiles: Make -mno-cygwin the default.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Alexandre Julliard 997ae6ddc9 start: Import the correct command-line building algorithm from ntdll.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50873
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-01 18:16:24 +02:00
Alexandre Julliard 15a6ee9440 start: Add a private /exec option to replicate the Wine command-line usage.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-25 11:46:01 +01:00
Alexandre Julliard 1b4b4a9bb5 start: Avoid duplicate backslashes in command line.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-24 20:43:48 +01:00
Michael Stefaniuc 6e8af61f10 start: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-12 11:15:24 +01:00
Damjan Jovanovic c5bceecb51 start.exe: STARTUPINFOW needs the STARTF_USESHOWWINDOW flag.
Fixes a regression introduced by 42fa293d48

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48170
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-26 15:38:32 +01: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
Damjan Jovanovic 42fa293d48 start.exe: Search PATH for the executable to launch.
We want to launch all executables through CreateProcess(), but need to
provide the full path, as the searching CreateProcess() does
internally when the application name is NULL is more limited: it only
searches for .EXE files.

Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 22:17:20 +02:00
Damjan Jovanovic 3c7501e8f0 start.exe: Launch all binaries through CreateProcess().
This lets us pass them the title, priority classes, and other
options unsupported by ShellExecuteEx().

Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 22:16:58 +02:00
Damjan Jovanovic f2fa7ec3c5 start.exe: Pass the "show window" flags to CreateProcess() too.
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 22:16:51 +02:00
Damjan Jovanovic 6ae919de81 start.exe: Unquote the title.
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-19 22:16:42 +02:00
Alexandre Julliard dae088939b start: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 10:40:12 +02:00
Isira Seneviratne 5d14f02f6a start: Correct capitalization of "Windows Explorer".
Signed-off-by: Isira Seneviratne <isirasen96@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-03 19:28:19 +02:00
Nikolay Sivov 1c93654885 start: Try cycling through extensions if original path failed to execute.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-24 17:12:44 +02:00
Michael Stefaniuc 414fe80aeb start: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-13 19:10:02 +02:00
Bas Weelinck 5b4f8a385b start: Ignore multiple quoted arguments as title.
Signed-off-by: Bas Weelinck <bas.weelinck@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-21 21:21:04 +01:00
Alex Henrie 660021d0fc cmd: Consistently wrap lines to 75 characters.
75 characters is the maximum length of a line before gettext breaks it,
so this convention will cause each translatable string to fit snugly
into the po files. It's also about what we were doing anyway, just not
consistently.

The biggest advantage to consistent line wrapping is that translators
will no longer have to guess where they should insert line breaks.

I have rewrapped the Catalan, Czech, Danish, German, Spanish, Finnish,
French, Croatian, Hungarian, Italian, Lithuanian, Norwegian, Dutch,
Polish, Portuguese, Romanian, Russian, Slovene, Swedish, Turkish, and
Ukranian translations so as to not burden their maintainers.

The Bulgarian, Greek, Esperanto, Farsi, Hindi, Malayalam, Oriya, Punjabi,
Romansh, Slovak, Serbian, Telugu, Thai, and Walloon translations did not
need to be rewrapped.

I removed Hebrew "translations" of cmd.rc that were just copies of the
English strings, and marked cmd.rc:142 as fuzzy if the translation
mentioned wine.conf.

Single-line translations that were 80 characters long or less were not
wrapped.

The Arabic, Japanese, Korean, and Chinese translations still need to be
rewrapped.
2015-07-06 14:49:40 +09:00
Vincent Povirk 9e0971e374 start: Don't use SEE_MASK_NO_CONSOLE. 2014-04-25 10:22:51 +02:00
Frédéric Delanoy c60e81b7c9 start: Use BOOL type where appropriate. 2014-02-27 09:33:06 -06:00
Alexandre Julliard 86b1f94d28 makefiles: Get rid of the MAKE_PROG_RULES variable. 2014-01-02 12:12:57 +01:00
Frédéric Delanoy a478c108e2 start: Constify a character string. 2013-12-20 10:50:40 +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
André Hentschel 76bc1d76a5 start: Fix mask for creation flags (coverity). 2012-11-08 15:37:51 +01:00
Francois Gouget 65f686c8cd start: Fix the name of the open verb for the /ProgIDOpen option. 2012-07-02 10:54:40 +02:00
Francois Gouget e0f4d5caf9 start: Fix the command line handling. 2012-06-28 01:38:40 +02:00
Francois Gouget da7e97bbe5 start: Remove the license and the /L option. 2012-03-01 17:29:10 +01:00
Alexandre Julliard c9eee73450 makefiles: Define __WINESRC__ when building programs. 2012-01-23 16:07:37 +01:00
Francois Gouget 47f45d793d Use a single space after a full stop to follow the Windows GUI guidelines. 2012-01-23 16:07:03 +01: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 c992ca277d Assorted spelling fixes. 2011-08-24 19:07:46 +02:00
Frédéric Delanoy 4ebbd0e596 start: Add support for /? command line parameter. 2011-07-11 19:55:31 +02:00
Alexandre Julliard 1d3ef6992f start: Convert translations to po files. 2011-01-04 20:27:33 +01:00
Luca Bennati 84b84f776a start: Fix Italian translation. 2010-09-23 17:50:12 +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
Frédéric Delanoy 3e3e59b10e start: Fix French translation. 2010-08-30 11:26:28 +02:00
Francois Gouget 299b416285 start: Remove spaces before '\n's in the Portuguese translation. 2010-08-27 12:30:52 +02:00
Anders Jonsson d59ae39dc9 start: Add Swedish translation. 2010-08-16 12:58:47 +02:00
Hwang YunSong 0379acc27d start: Update Korean resource. 2010-07-26 18:38:32 +02:00
Igor Paliychuk f784998bfa start: Add Ukrainian translation. 2010-07-24 11:18:59 +02:00
Michael Stefaniuc d2620029f2 start: Remove the ignored common resource attributes. 2010-07-22 11:41:40 +02:00
Alexandre Julliard 6fb39dfe4a programs: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:37 +02:00
Michael Stefaniuc f6ff7225b3 start: Remove the redundant per resource LANGUAGE settings.
The LANGUAGE is already set globally in the rc files.
2010-07-21 13:24:00 +02:00