Commit Graph

73 Commits

Author SHA1 Message Date
Eric Pouech 8008c7d7cf [cw]script: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-04 11:20:33 +01:00
Eric Pouech 63a9879aef wscript/tests: Enable compilation with long types.
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-02-03 17:19:41 +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 53b179dcc1 wscript: Use correct integral type.
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
Alexandre Julliard 04d8725080 makefiles: Directly generate resources also for non-registered typelibs.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-16 10:22:51 +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
Michael Stefaniuc 453c461095 wscript: Use a zero terminated wchar string.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-04 09:05:47 +01:00
Michael Stefaniuc 7f955f289a wscript: Zero terminate the host version string to avoid random garbage.
String is used only once and passed to SysAllocString() which assumes a
zero terminated string.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-04 09:05:39 +01:00
Michael Stefaniuc 4e3c4d6f1d wscript: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-04 09:05:28 +01:00
Jacek Caban f90be6e1ac wscript/tests: Get rid of mystrchr.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-03 20:48:04 +01:00
Jacek Caban 3324137f72 wscript/tests: Get rid of strcmp_wa.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-03 20:48:04 +01:00
Nikolay Sivov bfcf1703c5 wscript/tests: Fix test failures on Win10.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-23 18:53:04 +02:00
Alexandre Julliard 4432405ec5 wscript: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 11:08:17 +02:00
Michael Stefaniuc f140ad6e05 wscript: 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:01 +02:00
Francois Gouget fec1aca300 wscript/tests: Fix a typo in the WScript.BuildVersion check.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-01 19:42:39 +02:00
Michael Stefaniuc d72112eda8 wscript/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-29 09:28:48 +02:00
Michael Stefaniuc e68620c044 wscript: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-07 19:38:26 +01:00
Jacek Caban 853b4148dd psapi.h: Added support for PSAPI_VERSION version 2.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-03 13:25:08 +01:00
Jacek Caban 92f3e2d90d wscript/tests: Use case insensitive comparition for paths.
Fixes tests on win10.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-05 16:11:04 +01:00
Jacek Caban b0664560d4 wscript: Added WScript.Quit tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 23:07:22 +09:00
Thiago Barbato 341bb46fc6 wscript: Added WScript.Quit semi-stub implementation.
Signed-off-by: Thiago Barbato <thiagocbbt@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 23:07:21 +09:00
Thomas Faber ee698506c8 wscript: Correctly use CommandLineToArgvW. 2015-03-30 16:42:18 +09:00
Jacek Caban 748788f33e wscript/tests: Fixed buffer handling and leaks. 2015-02-10 00:31:10 +09:00
Jacek Caban d6f527af14 wscript: Added IHost::Echo implementation. 2015-02-02 22:26:31 +09:00
Jacek Caban e2fcd874e0 wscript: Added IActiveScriptSiteWindow implementation. 2014-07-23 21:24:26 +02:00
André Hentschel 979c4498df wscript: Fix function types. 2014-04-29 11:21:15 +02:00
Qian Hong a1f8395290 wscript: Don't fail silently for unsupported switches. 2014-04-21 10:38:54 +02:00
Nikolay Sivov 389992fdfa wscript: Ignore 'nologo' switch. 2014-04-18 10:47:32 +02:00
Jacek Caban 6617f27004 wscript: Added WScript.CreateObject implementation. 2014-04-15 21:03:54 +02:00
Jacek Caban e9aae93a6b cscript: Share sources with wscript. 2014-04-14 20:19:01 +02:00
Jacek Caban 59c934aadc wscript: Skip tests if we can't register ActiveX object. 2014-02-18 11:45:55 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 86b1f94d28 makefiles: Get rid of the MAKE_PROG_RULES variable. 2014-01-02 12:12:57 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Alexandre Julliard ca41acc1f9 makefiles: Automatically update the IDL_H_SRCS variable. 2013-12-15 10:23:06 +01:00
Qian Hong fa9fec618d wscript: Get extension name by strrchrW instead of strchrW. 2013-11-12 12:58:03 +01:00
Alexandre Julliard f8421142e7 makefiles: Add makedep pragmas for typelib idl files. 2013-11-05 20:38:18 +01:00
Michael Stefaniuc 2e1708dc1b tests: Readying some tests for the compilation with -D__WINESRC__. 2013-10-02 11:03:26 +02:00
Jacek Caban e02c33164d wscript: Use proper helpers for iface calls. 2012-08-13 16:28:47 +02:00
Austin English c02d0d85ea wscript: Remove an unused variable (LLVM/Clang). 2012-01-31 13:47:03 +01:00
Jacek Caban 9f7da94a3d wscript: Properly handle CreateProcess failure. 2012-01-27 18:05:51 +01:00
Alexandre Julliard c9eee73450 makefiles: Define __WINESRC__ when building programs. 2012-01-23 16:07:37 +01:00
Alexandre Julliard da35622b83 makefiles: Disable use of Unicode macros globally for all the programs. 2012-01-20 13:14:16 +01:00
Jacek Caban ec3d0e9b5c wscript: Added tests using vbscript. 2011-10-19 16:39:14 +02:00
Michał Ziętek 559547f21e wscript: Implemented Host_get_Application. 2011-08-25 14:18:01 +02:00
Michał Ziętek 154578d75c wscript: Implemented Host_put_Interactive. 2011-08-25 14:17:59 +02:00
Michał Ziętek 280dbcf84a wscript: Implemented Host_get_Interactive. 2011-08-25 14:17:56 +02:00
Michał Ziętek 4252bd8653 wscript: Implemented Arguments2_get_length. 2011-08-25 14:17:53 +02:00
Michał Ziętek 5079fe9839 wscript: Implemented Arguments2_Count. 2011-08-25 14:17:49 +02:00
Michał Ziętek 1c29375031 wscript: Implemented Arguments2_Item. 2011-08-25 14:17:44 +02:00