-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[CRT] Sync wcs.c to wine-1.5.26 #7955
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
tkreuzer
wants to merge
84
commits into
reactos:master
Choose a base branch
from
tkreuzer:crt/sync-wcs-wine-1.5.26
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+1,531
−170
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
files: | ||
dlls/msvcrt/wcs.c: sdk/lib/crt/string/wcs.c | ||
tags: | ||
wine: wine-1.5.26 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update
reactos/media/doc/WINESYNC.txt
Line 313 in e98bba2
sdk/lib/crt/string/wcs.c # Synced at 20080611 |
too.
HBelusca
approved these changes
May 2, 2025
For reviewers: this code has been |
The compilers complain about such sort of errors:
|
wcs.c is now almost prestine wine-1.0
wine commit id 6a77a36b242500966a6fdea1c087aafc01c492e1 by Eric Pouech <eric.pouech@orange.fr>
wine commit id 34f2487163790cb21b54f4eda0d9c9a71503f412 by Alexandre Julliard <julliard@winehq.org>
…args. wine commit id 07ca8f4f8fb410737cdb958fe67053cb3143e2f7 by Alexandre Julliard <julliard@winehq.org>
wine commit id a494b13abefbe39ae05b685a68fbd6de3f6fcba9 by Alexandre Julliard <julliard@winehq.org>
wine commit id 0803575fd310cb16a146f8723aaad5f0131271a9 by Hans Leidekker <hans@codeweavers.com>
wine commit id 1eb077567099197f39de13f8e2a3937bfc917051 by Andrew Nguyen <arethusa26@gmail.com>
wine commit id 4da51e087d922431651c9bdec7151336d8471c05 by Marcus Meissner <marcus@jet.franken.de>
wine commit id a2d4e5cb5da8d6ecef4427b860fcde1b8f47efad by Jason Edmeades <jason.edmeades@googlemail.com>
wine commit id 97194ec07094957241a36cb15e97e6dfc3e38d84 by Jason Edmeades <jason.edmeades@googlemail.com>
wine commit id b90320652d94f31d0e4d8722568ca2826cf929c9 by Piotr Caban <piotr@codeweavers.com>
wine commit id 903c524d43893c004764cef4fa84f2072de22529 by Piotr Caban <piotr@codeweavers.com>
…_vsnprintf. wine commit id 419f902546bf741d30bce47548550a96bfa54de0 by Piotr Caban <piotr@codeweavers.com>
…pf_vsnprintf. wine commit id 09a32152d557ed17797fe174a64aed8a1fb8b5dd by Piotr Caban <piotr@codeweavers.com>
wine commit id 85fa2ee53c781563bcc1199fb38501497734d7a4 by Piotr Caban <piotr@codeweavers.com>
…ily. wine commit id bfc2f5f2a538f3d6eff7e23c129571392705c560 by Piotr Caban <piotr@codeweavers.com>
wine commit id c09f9ef498c189394e358292540277a30e0a266a by Piotr Caban <piotr@codeweavers.com>
wine commit id 00182ca6d914dd716f9fd76201a7bc857091bae0 by Piotr Caban <piotr@codeweavers.com>
wine commit id 168909283c371f42a3b5074b96f1fe3e91c9a956 by Piotr Caban <piotr@codeweavers.com>
…nt_output implementation. wine commit id 6ecabf7cae3145931889eed5466b51740eddd1c7 by Piotr Caban <piotr@codeweavers.com>
…csrtombs_s_l() static. wine commit id ca268b199a76525742b7f5acbc1edf056a30e64f by Francois Gouget <fgouget@free.fr>
…tation. wine commit id 64cf208040f14f46d65b288272c8fabd93418af8 by Piotr Caban <piotr@codeweavers.com>
wine commit id 69ea5768a680590bba0b768d7608c72742ccdc51 by Piotr Caban <piotr@codeweavers.com>
…ons. wine commit id ddad22d037c23271a59e3a977e786136be852b5f by Piotr Caban <piotr@codeweavers.com>
wine commit id f9de4eef75ecfc074f726f39e54a77211eca2e7b by Piotr Caban <piotr@codeweavers.com>
…lementation (valgrind). wine commit id a8c6fda50170b4557a9dd66331b0e0ead344c56b by Piotr Caban <piotr@codeweavers.com>
wine commit id 62a55402596bc40119920935f434f38202f55bbc by Piotr Caban <piotr@codeweavers.com>
wine commit id 0c14dc53302eb0bd661547525598ff782aaf09b1 by Piotr Caban <piotr@codeweavers.com>
wine commit id af6fd252ef8d630be82b9dba3199d5990c80e2b3 by Piotr Caban <piotr@codeweavers.com>
wine commit id 8df606fea4c12f9e48626fd9bd5aef1e19be666a by Piotr Caban <piotr@codeweavers.com>
wine commit id 45b4b4205a2b1967726685242e3244c55cef5fc9 by Piotr Caban <piotr@codeweavers.com>
wine commit id 13aff6dc56278cd5323af0d7bee53b0ebc5a643e by Akihiro Sagawa <sagawa.aki@gmail.com>
wine commit id 08aa6ae52df861bfe790c27e838da0018f02d699 by Daniel Lehman <dlehman@esri.com>
wine commit id a80aec4c56bfc9b845e89bf55af4e638f153b4cd by Piotr Caban <piotr@codeweavers.com>
wine commit id dc830aa640f114bb6596d8bf23405be5d14df98b by Piotr Caban <piotr@codeweavers.com>
…e invalid parameter handler. wine commit id 06989a04834bfd8dc8bbf33bfd34485c2d8e8542 by Alexandre Julliard <julliard@winehq.org>
wine commit id 0409b9895ce48496e4391878a6e2ba7b594822e7 by Michael Stefaniuc <mstefani@redhat.de>
wine commit id 505e5a162fb94e5a3789191121e5b5fd32687d11 by Piotr Caban <piotr@codeweavers.com>
wine commit id c0ce611ebd3684dcc59fb4803dbd0fa2af87bf73 by Piotr Caban <piotr@codeweavers.com>
wine commit id 3acb238f1584256468bf592843bb55206d656a56 by Piotr Caban <piotr@codeweavers.com>
wine commit id 4c191378e9b43920a7786f736ea6d63b2bfd9a6b by Andrew Talbot <andrew.talbot@talbotville.com>
wine commit id 1f784a100125a4511729b3dae110f3893c638c6f by Piotr Caban <piotr@codeweavers.com>
wine commit id 0010ee021a6c79eb766b805f5fa1485f13bb51f2 by Akihiro Sagawa <sagawa.aki@gmail.com>
8e6a9a4
to
ad7f76b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
Sync wcs.c to wine-1.5.26. This is the revision that locale.c is at, so from there on they should be synced together.
This temporarily adds some unused code, a good portion of it will be removed (outsourced to a different file in wine) during the sync. I plan to sqash-merge to avoid adding this extra code to the repository.
It still adds some unused code, but a good part of it will be useful for NT6, or can replace some of our manually picked code pieces elsewhere (which were usually just extracted from some random wine version and never maintained). My plan is to sync everything up to wine 10 (wcs.c, locale.c and the other wine shared crt code) and then enable the code pieces that we need for NT6.
In the long term we might be able to replace some code with UCRT code, but is a PITA, because there are so many differences that are hard to fix. So there is no quick solution for that and for now we will have 2 CRTs, with some parts that are shared. Blame MS for creating a "universal CRT" that isn't really universal.
Proposed changes
Testbot runs (Filled in by Devs)
Regression tests