Commit graph

6320 commits

Author SHA1 Message Date
Alexandre Julliard 7bffe6d68b makedep: Make the import library files architecture-generic. 2022-10-25 11:07:45 +02:00
Alexandre Julliard cb5268c729 makedep: Make the object files architecture-generic. 2022-10-25 11:04:30 +02:00
Alexandre Julliard 9795a01918 makedep: Make the installation directories architecture-generic. 2022-10-25 11:03:54 +02:00
Michael Stefaniuc 43eccadceb makedep: Use ARRAY_SIZE instead of open coding it. 2022-10-25 10:59:05 +02:00
Michael Stefaniuc 191bc277a1 wrc: Use ARRAY_SIZE instead of open coding it. 2022-10-25 10:59:05 +02:00
Michael Stefaniuc 534a3082ef wmc: Use ARRAY_SIZE instead of open coding it. 2022-10-25 10:59:05 +02:00
Michael Stefaniuc b46eef7e2a winegcc: Use ARRAY_SIZE instead of open coding it. 2022-10-25 10:59:05 +02:00
Michael Stefaniuc 7029bba31a widl: Use ARRAY_SIZE instead of open coding it. 2022-10-25 10:59:05 +02:00
Alexandre Julliard 25735da0de makedep: Make the extra C flags architecture-generic. 2022-10-24 16:19:47 +02:00
Alexandre Julliard 815e766d9d makedep: Make the delay load flags architecture-generic. 2022-10-24 16:19:47 +02:00
Alexandre Julliard 55e2335f64 makedep: Make the debug flags architecture-generic. 2022-10-24 16:19:47 +02:00
Alexandre Julliard afc286fb51 makedep: Make the target flags architecture-generic. 2022-10-24 16:19:47 +02:00
Alexandre Julliard 24d791e2e9 makedep: Pass a generic architecture value instead of the is_cross flag to various helpers. 2022-10-24 16:19:47 +02:00
Piotr Caban 9e74a249df winedump: Handle NULL in get_unicode_str. 2022-10-19 21:16:29 +02:00
Alexandre Julliard 4172c04826 nls: Allow specifying a locale's native digits.
Inspired by a patch from Nikolay Sivov.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53770
2022-10-19 18:48:30 +02:00
Alexandre Julliard b591b3167c nls: Update locales that have been added in recent Windows versions. 2022-10-17 12:56:47 +02:00
Piotr Caban 0e49547c7a winedump: Add support for EMRI_METAFILE_EXT records. 2022-10-17 11:26:51 +02:00
Piotr Caban 893ac00873 winedump: Add prefix when dumping EMF files. 2022-10-17 11:26:51 +02:00
Piotr Caban 4d649c6232 winedump: Dump metafiles in EMF spool files. 2022-10-17 11:26:51 +02:00
Piotr Caban d745c8d4a0 winedump: Don't use static offset in dump_emfrecord. 2022-10-17 11:26:51 +02:00
Piotr Caban cf78df3612 winedump: Fix buffer overflow in debugstr_wn helper. 2022-10-17 11:26:51 +02:00
Piotr Caban cfbe32d557 winedump: Add initial EMF spool files support. 2022-10-17 11:26:50 +02:00
Rémi Bernon c90e03e3cb makedep: Link with imported libs before delay imported libs.
In order to favor direct imports over delayed imports, for instance when
the delay imported module forwards symbols from the imported module.
2022-09-30 18:34:14 +02:00
Rémi Bernon 214223edc3 makedep: Link default imports separately from direct imports. 2022-09-30 18:34:14 +02:00
Rémi Bernon c1a0b74d98 makedep: Add an import type parameter to add_import_libs. 2022-09-30 18:34:14 +02:00
Zebediah Figura e654b631f2 widl: Generate "static inline" instead of "static FORCEINLINE" for COM inline wrappers.
mingw-w64 defines __forceinline (and therefore FORCEINLINE) as
"extern __inline__ __attribute__((__always_inline__,__gnu_inline__)). This means
that COM inline wrappers specify multiple storage classes and hence cannot be
compiled.

Wine defines FORCEINLINE simply as "inline" (and uses "static" everywhere), so
this is a non-issue for Wine. However, since Wine and mingw-w64 share the source
code of widl and of most IDL headers, this patch changes the definition for both
projects.

There's no reason to force inlining here, especially since the wrappers need to
be manually enabled, and we don't need to match PSDK semantics where these
wrappers don't even exist.

In practice, use "__inline__" instead of "inline" for GNU C targets, to preserve
compatibility with C89 in mingw-w64 headers.
2022-09-28 15:27:51 +02:00
Eric Pouech a014f19bdd winedump: Dump PDB public symbols' stream.
Add relevant structures to include/mscvpdb.h.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-27 18:29:34 +02:00
Eric Pouech 805ffc8adb winedump: Dump global hash table out of PDB symbols' stream.
Introduce relevant structures in include/wine/msvcpdb.h.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-27 18:29:27 +02:00
Alexandre Julliard 9c5b2bd62c gitlab: Run the full test suite on merge requests. 2022-09-27 18:14:33 +02:00
Julian Klemann c8c7ff640a widl: Use "cinterface(IInspectable)" for IInspectable signature.
Fixes the UUID of ITypedEventHandler<DeviceWatcher*, IInspectable*> to
match MIDL.
2022-09-14 22:38:34 +02:00
Alexandre Julliard 7ab46c4f21 unicode: Update to Unicode 15.0.0. 2022-09-14 22:38:34 +02:00
Eric Pouech 76d97b6e8e winedump: Print signed integers with %d.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-13 22:07:22 +02:00
Alexandre Julliard 12bf088ac0 winetest: Don't require an email if we have a URL. 2022-09-13 16:22:21 +02:00
Rémi Bernon de95ee6c66 widl: Allow parameterized types in runtimeclass interfaces. 2022-09-13 16:22:21 +02:00
Eric Pouech 26f2b48a47 winedump: Harden reading PDB string table stream.
Introduce struct PDB_STRING_TABLE to describe string table's header.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-12 17:28:23 +02:00
Alexandre Julliard 30ec834cfe gitlab: Fetch the full git tree with all tags. 2022-09-09 12:37:32 +02:00
Alexandre Julliard 97302f7c9e gitlab: Always reset the git tree after a build. 2022-09-09 12:37:25 +02:00
Alexandre Julliard 1d0f66a3c6 gitlab: Run tests on Debian after the daily commit round. 2022-09-08 21:48:33 +02:00
Alexandre Julliard dbb55ed91a makefiles: Add install-test target to install winetest.exe. 2022-09-07 20:07:18 +02:00
Alexandre Julliard f9cad1bd19 makedep: Make the handling of install rules more generic. 2022-09-07 10:19:00 +02:00
Alexandre Julliard aeff5099fb unicode: Add data for high Unicode planes to the Arabic shaping table. 2022-09-05 18:41:47 +02:00
Alexandre Julliard 24da06789e unicode: Add data for high Unicode planes to the bidi direction table. 2022-09-05 18:41:47 +02:00
Alexandre Julliard ba58338b21 unicode: Add data for high Unicode planes to the linebreak table. 2022-09-05 18:41:47 +02:00
Alexandre Julliard c848f42aa0 unicode: Add data for high Unicode planes to the scripts table. 2022-09-05 18:41:47 +02:00
Alexandre Julliard 4f75dd8c44 gitlab: Run CI scripts as non-root user. 2022-08-31 18:19:04 +02:00
Alexandre Julliard 1a982894dd gitlab: Rename build-all job to build-linux.
For symmetry with build-mac.
2022-08-31 17:44:53 +02:00
Alexandre Julliard 5e0d56e7e7 gitlab: Add macOS build. 2022-08-25 11:51:42 -05:00
Alexandre Julliard a1af412482 Release 7.15.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-08-13 21:23:11 +02:00
Alexandre Julliard bfc73b0b80 gitlab: Disable building image in forks. 2022-08-05 20:14:41 +02:00
Rémi Bernon 660aead73f gitlab: Build every commit in a merge request. 2022-08-05 20:14:41 +02:00
Rémi Bernon f1a7a16b83 gitlab: Move build steps to the build-all script. 2022-08-05 20:14:41 +02:00
Alexandre Julliard e31276e9a2 makefiles: Look for source files in the makefile before trying to open them.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-28 17:46:51 +02:00
Alexandre Julliard 56fea67c53 makefiles: Work directly with Makefile.in names in make_makefiles. 2022-07-28 17:46:51 +02:00
Alexandre Julliard 6f4d1766a7 makefiles: Avoid adding the same source multiple times. 2022-07-28 17:46:50 +02:00
Alexandre Julliard 872dc83e81 makefiles: List all headers in the makefile.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-28 17:46:50 +02:00
Alexandre Julliard aa222ccd32 gitlab: Add CI script to create a release. 2022-07-26 22:37:48 +02:00
Hugh McMaster 3d0358fa54 gitlab: Build-Depend on libfreetype-dev.
libfreetype6-dev is a transitional package on Debian Bullseye.
2022-07-26 22:37:48 +02:00
Alexandre Julliard 889fe64d9f gitlab: Initial version of the Gitlab CI scripts.
Derived in part from the freedesktop.org config.
2022-07-25 23:06:57 +02:00
Alexandre Julliard 31d2a87ba0 winebuild: Add GNU stack note also to the undefined symbols file.
Recent ld complains about this.
2022-07-20 22:33:44 +02:00
Jinoh Kang fa005a6c90 include: Add definition for NtSetInformationVirtualMemory.
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-07-13 16:10:05 +02:00
Eric Pouech 437e73883b mscvpdb.h: Use bitfield for defrange's variable flag.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-07-12 22:51:29 +02:00
Rémi Bernon 837297c21f widl: Support namespaces for union declarations.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-07 19:10:02 +02:00
Rémi Bernon 25e1fb45db widl: Fix missing support for struct / union parameterized type replacement.
And we can just pass them through, as with other class types. This
fixes widl not accepting EventRegistrationToken method argument type
in a parameterized type.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-07 19:10:02 +02:00
Alexandre Julliard 194e09baec makefiles: Add separate variables for Unix flags and libraries.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-29 23:23:41 +02:00
Alexandre Julliard e2d96342df makefiles: Use the defined external lib variables also when building the libs themselves.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-29 23:23:41 +02:00
Eric Pouech eb14fad72a mscvpdb.h: Redefine property with bitfields.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-06-28 20:30:05 +02:00
Eric Pouech ba12b5ae88 winedump: Explore a bit more TPI hash elements.
Rename a couple of fields in PDB structures for clarity.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-06-28 20:24:18 +02:00
Alexandre Julliard b819b99562 makefiles: Never install external libraries.
Spotted by Kevin Puetz.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-24 22:38:40 +02:00
Alexandre Julliard 3ccb5f238e make_unicode: Verify checksums of downloaded files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-24 21:05:26 +02:00
Alexandre Julliard cfaa28933b make_unicode: Add a table of downloaded files and their URLs.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-24 21:05:26 +02:00
Alexandre Julliard 3ec7c467cd make_unicode: Generate the time zone registry keys.
Based on a script written by Giovanni Mascellani.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-24 21:05:26 +02:00
Alexandre Julliard 630f605c26 make_unicode: Make support of registry values more generic.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-24 21:05:25 +02:00
Connor McAdams ad8c61d897 include: Import IAccessible2 headers.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-15 21:48:08 +02:00
Alexandre Julliard 1e52895ef7 kernelbase: Implement IsNLSDefinedString().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-07 16:57:26 +02:00
Alexandre Julliard b956620d81 make_unicode: Add data for high Unicode planes in case mapping tables.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-06 13:38:55 +02:00
Jacek Caban f1549e7f6c winemac: Move driver implementation to unixlib.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-03 09:40:32 +02:00
Alexandre Julliard 66fb3bf631 make_unicode: Get rid of the old collation table.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-31 11:43:28 +02:00
Rémi Bernon d81589371d widl: Remove set but unused variable.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-25 11:58:57 +02:00
Nikolay Sivov f2ee6b7c31 winedump: Add support for dumping UnloadedModuleListStream.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-19 18:28:25 +02:00
Nikolay Sivov d50f7b02a9 winedump: Add support for ThreadInfoListStream stream.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 08:53:57 +02:00
Nikolay Sivov 0d89f67ea2 winedump: Add support for dumping handle data stream from minidumps.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 08:53:53 +02:00
Nikolay Sivov a9f9c1a696 winedump: Cleanup minidump output helpers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 08:53:49 +02:00
Nikolay Sivov 38d7ea5c6f winedump: Output minidump streams in order they appear in the file.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-18 08:53:46 +02:00
Jacek Caban 10f38c0600 winex11: Move user driver to unixlib.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-06 19:18:22 +02:00
Brendan Shanks f214d0c44e wrc: Support function macros where varargs are the only argument.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-04 22:10:50 +02:00
Nikolay Sivov 1ad2cb51c5 nls: Hardcode minus sign for all locales.
CLDR data for RTL locales includes LRM marker for minus sign text,
in addition to that some locales are using different dash character.
Windows seems to consistently use same character for all locales.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52866
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-27 13:24:22 +02:00
Alexandre Julliard f3b77b8027 kernelbase: Use the digit table from locale.nls in FoldStringW().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-25 11:53:53 +02:00
Alexandre Julliard 9e6d0e459f make_unicode: Generate the character mapping tables in locale.nls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-25 11:52:14 +02:00
Alexandre Julliard 4b865129a5 winedump: Build with nameless unions/structs.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-22 21:42:20 +02:00
Alexandre Julliard fdd0ad5939 winedump: Enable compilation with long types.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-22 21:42:20 +02:00
Alexandre Julliard 88c06077f8 winedump: Remove unused variables.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-22 21:42:20 +02:00
Alexandre Julliard af54377eb6 winedump: Avoid using DWORD in private definitions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-22 21:42:20 +02:00
Alexandre Julliard e1e6d18a61 winedump: Fix some incorrect uses of Unix 'long' type.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-22 16:49:46 +02:00
Alexandre Julliard 53ab4c5385 include: Avoid Windows types in CodeView structure definitions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-22 16:01:54 +02:00
Alexandre Julliard 6f04c33c04 winedump: Add support for dumping locale.nls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-22 15:33:56 +02:00
Alexandre Julliard 6644b6b667 make_unicode: Update to CLDR version 41.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Alexandre Julliard 65fc470dfe make_unicode: Generate the calendar table in locale.nls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 16:54:44 +02:00
Alexandre Julliard ad44edebde makedep: Add dependency on locale.nls for rc files.
wrc will load locale.nls if the rc file uses a non-English language.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 10:43:48 +02:00
Alexandre Julliard 701ed2591b wrc: Avoid loading locale.nls when not necessary.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 10:43:09 +02:00
Alexandre Julliard f445f21a38 wrc: Use the locale.nls data to determine a language's codepage.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 20:30:57 +02:00