Commit Graph

58 Commits

Author SHA1 Message Date
Gijs Vermeulen d18a9b9630 msvcirt: Implement ofstream class.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=31342
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-22 21:35:35 +02:00
Arkadiusz Hiler a8266a9ba2 msvcirt: Implement a part of fstream.
This patch make it possible to play Tron 2.0.

Signed-off-by: Arkadiusz Hiler <ahiler@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-08 21:20:39 +02:00
Arkadiusz Hiler d25e7429cc msvcirt: Implement _mtlock() and _mtunlock().
Looks like they are just cdecl wrappers around stdcall EnterCriticalSection()
and LeaveCriticalSection().

The game TRON 2.0 was crashing on the stubs. Now it makes it a bit further.

Signed-off-by: Arkadiusz Hiler <ahiler@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-07 21:07:25 +02:00
Arkadiusz Hiler ad7fa2396e msvcirt: Implement ifstream::setbuf().
Signed-off-by: Arkadiusz Hiler <ahiler@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-04 15:41:49 +02:00
Arkadiusz Hiler a0faee89e0 msvcirt: Implement most of ifstream.
Based on semi-stubs by Gijs Vermeulen.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=22616
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=30014
Signed-off-by: Arkadiusz Hiler <ahiler@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-03 14:52:55 +02:00
Alexandre Julliard e79b0fd752 msvcirt: Rename clog variable to avoid conflict with builtin function.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-11 16:46:41 +02:00
Iván Matellanes 384e74cd75 msvcirt: Add a partial implementation of class stdiostream.
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-23 17:31:31 +02:00
Iván Matellanes 4df13fff82 msvcirt: Add a partial implementation of class strstream.
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-23 17:31:24 +02:00
Iván Matellanes 56c5e42109 msvcirt: Add a partial implementation of class istrstream.
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-20 07:03:15 -07:00
Iván Matellanes 1c1df68724 msvcirt: Add a partial implementation of class ostrstream.
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-20 07:03:06 -07:00
Iván Matellanes 9be41b5b6b msvcirt: Implement ios::sync_with_stdio.
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 20:38:11 +09:00
Iván Matellanes 5a2bac8d12 msvcirt: Add predefined streams.
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 20:38:11 +09:00
Iván Matellanes 5981a3279b msvcirt: Add a partial implementation of class Iostream_init.
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 00:09:37 +09:00
Iván Matellanes adf3763e46 msvcirt: Add stub for class iostream.
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-10 22:20:50 +09:00
Iván Matellanes 3ecb295e42 msvcirt: Add a partial implementation of class istream_withassign.
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-09 21:59:59 +09:00
Iván Matellanes 4f6f2eb91b msvcirt: Add a partial implementation of class ostream_withassign.
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-08 12:35:50 +09:00
Iván Matellanes 59f232e1c1 msvcirt: Add stubs for istream::operator>>.
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-02 09:08:40 -05:00
Iván Matellanes d420bf18c0 msvcirt: Get rid of specific functions for signed and unsigned chars.
Signed-off-by: Iván Matellanes <matellanes.ivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-25 23:15:47 +09:00
Iván Matellanes db90b19a62 msvcirt: Add stub for class istream.
Signed-off-by: Iván Matellanes <matellanes.ivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-15 19:56:07 +09:00
Iván Matellanes faf7a2701d msvcirt: Add stubs for ostream::operator<<.
Signed-off-by: Iván Matellanes <matellanes.ivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-22 00:58:55 +09:00
Iván Matellanes 849163b1ed msvcirt: Add stub for class ostream.
Signed-off-by: Iván Matellanes <matellanes.ivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-15 00:35:38 +09:00
Iván Matellanes 8f5e817d84 msvcirt: Add stub of class stdiobuf.
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2015-10-07 13:00:15 +09:00
Iván Matellanes 37de534352 msvcirt: Add stub of class strstreambuf. 2015-09-18 14:59:49 +02:00
Iván Matellanes 30e33a406c msvcirt: Add filebuf static fields. 2015-08-05 23:45:21 +09:00
Iván Matellanes aa11357dfa msvcirt: Add stub of class filebuf. 2015-08-05 23:45:11 +09:00
Iván Matellanes 6812bb7469 msvcirt: Add ios instance counter. 2015-07-20 11:41:59 +02:00
Iván Matellanes b6c5bd15c4 msvcirt: Add support for ios state variables. 2015-07-20 11:41:36 +02:00
Iván Matellanes f2037e2e96 msvcirt: Implement ios::bitalloc. 2015-07-20 11:41:19 +02:00
Iván Matellanes bc90e1c8bc msvcirt: Add ios format flag masks. 2015-07-20 11:41:01 +02:00
Iván Matellanes 277da0ea5d msvcirt: Implement ios static locking. 2015-07-17 19:27:00 +09:00
Iván Matellanes e2119fb854 msvcirt: Add stub of class ios. 2015-07-07 14:24:45 +09:00
Piotr Caban 9249f393c2 msvcirt: Fix ostrstream::ostrstream() constructor stub. 2015-06-29 19:07:55 +09:00
Iván Matellanes 6096dfe6d9 msvcirt: Add implementation of streambuf::dbp. 2015-06-29 19:07:54 +09:00
Iván Matellanes 56f150b1c4 msvcirt: Add implementation of streambuf::sputbackc. 2015-06-29 19:07:54 +09:00
Iván Matellanes d553a0883f msvcirt: Add implementation of streambuf::stossc. 2015-06-26 20:35:06 +09:00
Iván Matellanes 346a8e1cbf msvcirt: Add implementation of streambuf::sbumpc. 2015-06-26 20:35:06 +09:00
Iván Matellanes fac4fdb56f msvcirt: Add implementation of streambuf::snextc. 2015-06-26 20:35:06 +09:00
Iván Matellanes 7b877fbce8 msvcirt: Add implementation of streambuf::sgetn/sputn. 2015-06-23 19:34:10 +09:00
Iván Matellanes 540f644ceb msvcirt: Add implementation of streambuf::sputc. 2015-06-17 20:01:16 +09:00
Iván Matellanes b08d0bc75d msvcirt: Add implementation of streambuf::sgetc. 2015-06-17 20:01:16 +09:00
Iván Matellanes 44fbaf3342 msvcirt: Add implementation of streambuf::in_avail/out_waiting. 2015-06-11 15:56:49 +09:00
Iván Matellanes a3150b95df msvcirt: Add implementation of streambuf::gbump/pbump. 2015-06-09 22:09:56 +09:00
Iván Matellanes 70b447d078 msvcirt: Add implementation of streambuf locking. 2015-06-09 22:09:56 +09:00
Iván Matellanes 2e880feaab msvcirt: Add implementation of streambuf::unbuffered. 2015-06-09 22:09:56 +09:00
Iván Matellanes 43b9cb7180 msvcirt: Add implementation of streambuf buffer getters. 2015-06-09 22:09:56 +09:00
Iván Matellanes 77dbfc8979 msvcirt: Add implementation of streambuf::allocate. 2015-06-09 22:09:56 +09:00
Iván Matellanes ee28dbf542 msvcirt: Add initial implementation of streambuf. 2015-06-05 14:44:49 +09:00
Iván Matellanes e35e107e5e msvcirt: Share exceptions implementation with msvcp. 2015-05-29 16:43:53 +09:00
Alexandre Julliard 799731f4b9 msvcrt: Synchronize spec files. 2013-03-14 13:21:47 +01:00
Alexandre Julliard 5ac184cad5 msvcrt: Update spec files using the make_specfiles script. 2011-05-03 12:44:14 +02:00