Commit Graph

219 Commits

Author SHA1 Message Date
Iván Matellanes c969efcaf2 msvcirt: Implement ostream::operator<< for integers.
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 23:55:26 +09:00
Iván Matellanes 65935c4c88 msvcirt: Implement ostream::operator<< for strings.
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 23:55:22 +09:00
Iván Matellanes 81cf0b2c48 msvcirt: Implement ostream::operator<< for characters.
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 23:55:08 +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 025c543442 msvcirt: Fix implementation of strstreambuf::underflow.
Spotted while testing for ostream printing.

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-21 00:23:57 +09:00
Iván Matellanes d5f445511e msvcirt: Implement ostream::writepad.
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 20:42:41 +09:00
Iván Matellanes 3f32455f01 msvcirt: Implement ostream::tellp.
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 20:42:38 +09:00
Iván Matellanes d77342ff96 msvcirt: Implement ostream::seekp.
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 20:42:35 +09:00
Iván Matellanes c4a5730ec3 msvcirt: Implement ostream::write.
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 20:42:31 +09:00
Iván Matellanes e1b3a52902 msvcirt: Implement ostream::put.
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 20:42:27 +09:00
Iván Matellanes 28d400be63 msvcirt: Implement ostream::osfx.
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 20:42:24 +09:00
Iván Matellanes 327cada0f1 msvcirt: Implement ostream::opfx.
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 20:42:21 +09:00
Iván Matellanes 6fedfa6128 msvcirt: Implement ostream::flush.
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 20:42:17 +09:00
Iván Matellanes cf1f23379b msvcirt: Implement ostream constructors/destructors.
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 20:42:12 +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 8852734146 msvcirt: Avoid superfluous comparison in some compilers.
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-03-29 20:22:22 +09:00
Nikolay Sivov 472f4acb06 msvcirt: Use proper printf format for pointers (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 18:40:33 +09:00
Iván Matellanes b34b65e462 msvcirt: Improve implementation of streambuf::pbackfail.
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>
2015-10-08 20:16:25 +09:00
Iván Matellanes 6aa589e854 msvcirt: Implement stdiobuf::seekoff.
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>
2015-10-08 20:16:18 +09:00
Iván Matellanes 66ff2e3bad msvcirt: Implement stdiobuf::setrwbuf.
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>
2015-10-08 20:16:10 +09:00
Iván Matellanes c5480a8810 msvcirt: Implement stdiobuf::stdiofile.
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2015-10-07 13:00:36 +09:00
Iván Matellanes c16e4f5cc5 msvcirt: Implement stdiobuf::sync.
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2015-10-07 13:00:33 +09:00
Iván Matellanes 7754619128 msvcirt: Implement stdiobuf::underflow.
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2015-10-07 13:00:30 +09:00
Iván Matellanes 608aa13672 msvcirt: Implement stdiobuf::overflow.
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2015-10-07 13:00:27 +09:00
Iván Matellanes a9ad6e88d7 msvcirt: Implement stdiobuf constructors and destructor.
Signed-off-by: Iván Matellanes <matellanesivan@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2015-10-07 13:00:23 +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 24d57405ac msvcirt: Implement strstreambuf::seekoff. 2015-10-01 00:02:05 +09:00
Iván Matellanes 60d1d6f595 msvcirt: Implement strstreambuf::overflow. 2015-09-18 15:00:23 +02:00
Iván Matellanes 2f70aba8d9 msvcirt: Implement strstreambuf::underflow. 2015-09-18 15:00:21 +02:00
Iván Matellanes ea953271de msvcirt: Implement strstreambuf::sync. 2015-09-18 15:00:17 +02:00
Iván Matellanes 675ad97a69 msvcirt: Implement strstreambuf::setbuf. 2015-09-18 15:00:15 +02:00
Iván Matellanes 0257ebc838 msvcirt: Implement strstreambuf::doallocate. 2015-09-18 15:00:10 +02:00
Iván Matellanes 222cd629a3 msvcirt: Implement strstreambuf::str. 2015-09-18 15:00:05 +02:00
Iván Matellanes a8b26a96b4 msvcirt: Implement strstreambuf::freeze. 2015-09-18 15:00:00 +02:00
Iván Matellanes aa4e2740b7 msvcirt: Implement strstreambuf constructors and destructor. 2015-09-18 14:59:56 +02:00
Iván Matellanes 37de534352 msvcirt: Add stub of class strstreambuf. 2015-09-18 14:59:49 +02:00
Iván Matellanes d5229aeec5 msvcirt: Implement filebuf::seekoff. 2015-08-17 18:19:28 +09:00
Iván Matellanes 0ed82afe9e msvcirt: Implement filebuf::underflow. 2015-08-17 18:19:24 +09:00
Iván Matellanes ed5f60e46f msvcirt: Implement filebuf::overflow. 2015-08-17 18:19:19 +09:00
Iván Matellanes 5ebf8cfc40 msvcirt: Implement filebuf::sync. 2015-08-17 18:19:16 +09:00
Iván Matellanes 28c61981ad msvcirt: Implement filebuf::setbuf. 2015-08-17 18:19:11 +09:00
Iván Matellanes 43bb816373 msvcirt: Implement filebuf::setmode. 2015-08-17 18:19:07 +09:00
Iván Matellanes cac27a40d8 msvcirt: Allocate a buffer if necessary when a file is opened. 2015-08-17 18:18:31 +09:00
Iván Matellanes d669e74527 msvcirt: Implement filebuf status functions. 2015-08-06 21:05:25 +09:00
Iván Matellanes 95fd3af190 msvcirt: Implement filebuf::open/close. 2015-08-06 21:05:15 +09:00
Iván Matellanes e2659db454 msvcirt: Implement filebuf::attach. 2015-08-05 23:45:37 +09:00
Iván Matellanes 2f702e3dd6 msvcirt: Implement filebuf constructors and destructor. 2015-08-05 23:45:25 +09: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 3c5328dca8 msvcirt: Implement ios manipulators. 2015-07-20 11:41:10 +02:00
Iván Matellanes bc90e1c8bc msvcirt: Add ios format flag masks. 2015-07-20 11:41:01 +02:00
Iván Matellanes 19bce9272c msvcirt: Implement ios operators. 2015-07-20 11:40:53 +02:00
Iván Matellanes 8413edb696 msvcirt: Implement ios status-testing functions. 2015-07-20 11:40:48 +02:00
Iván Matellanes 9abffde3bc msvcirt: Implement ios::delbuf. 2015-07-20 11:40:41 +02:00
Iván Matellanes 0fa257924d msvcirt: Implement ios::rdbuf. 2015-07-20 11:40:38 +02:00
Iván Matellanes 5fea620399 msvcirt: Implement ios::tie. 2015-07-20 11:40:34 +02:00
Iván Matellanes c21fa9c532 msvcirt: Implement ios::width. 2015-07-20 11:40:30 +02:00
Iván Matellanes 80f5fd5361 msvcirt: Implement ios::precision. 2015-07-20 11:40:26 +02:00
Iván Matellanes 9b42f88e49 msvcirt: Implement ios::fill. 2015-07-20 11:40:22 +02:00
Iván Matellanes c8368cf43b msvcirt: Implement ios::unsetf. 2015-07-17 19:27:43 +09:00
Iván Matellanes 968d07dd7b msvcirt: Implement ios::setf. 2015-07-17 19:27:38 +09:00
Iván Matellanes 6f89103b72 msvcirt: Implement ios::flags. 2015-07-17 19:27:31 +09:00
Iván Matellanes 277da0ea5d msvcirt: Implement ios static locking. 2015-07-17 19:27:00 +09:00
Iván Matellanes 22f28d2923 msvcirt: Implement ios stream locking. 2015-07-15 23:20:08 +09:00
Iván Matellanes 57fb458774 msvcirt: Implement ios object locking. 2015-07-15 23:19:58 +09:00
Iván Matellanes 9d0b679c1b msvcirt: Implement ios locking control. 2015-07-15 23:19:54 +09:00
Piotr Caban 4406762dc2 msvcirt: Fix leak in ~ios and ios::init implementation. 2015-07-08 19:12:14 +09:00
Iván Matellanes bc01af8f8e msvcirt: Implement ios constructors and assignment. 2015-07-07 14:25:03 +09:00
Iván Matellanes 0dcb382a4e msvcirt/tests: Add initial tests for ios. 2015-07-07 14:24:59 +09:00
Iván Matellanes e2119fb854 msvcirt: Add stub of class ios. 2015-07-07 14:24:45 +09:00
Alexandre Julliard 853d0f34ff msvcirt/tests: Fix comparison with EOL. 2015-07-06 20:08:00 +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 6cca77bf2a msvcirt: Add implementation of streambuf::pbackfail. 2015-06-29 19:07:53 +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 f71186b645 msvcirt: Add implementation of streambuf::xsputn. 2015-06-23 19:34:01 +09:00
Iván Matellanes a507132cdc msvcirt: Add implementation of streambuf::xsgetn. 2015-06-23 19:33:56 +09:00
Iván Matellanes 7a89251c2f msvcirt: Print error messages in unimplemented functions. 2015-06-17 20:01:16 +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 c69ac67206 msvcirt: Fix implementation of streambuf::sync. 2015-06-12 21:22:43 +09:00
Iván Matellanes b36a526f5a msvcirt/tests: Add more streambuf tests. 2015-06-12 21:22:43 +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 6b6dc42d61 msvcirt: Add implementation of streambuf::seekoff/seekpos. 2015-06-11 15:56:44 +09:00
Iván Matellanes 1f1cf8a68e msvcirt: Add implementation of streambuf::sync. 2015-06-11 15:56:41 +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 4cd21cf727 msvcirt/tests: Add initial tests for streambuf. 2015-06-05 14:45:20 +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 3e40fea9d6 makefiles: Automatically add the necessary msvcrt flags to the generated rules. 2014-01-08 14:34:15 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01: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
Alexandre Julliard 9c76ed18b7 msvcrt: Add stubs for the 64-bit msvcirt entry points. 2011-05-01 20:37:18 +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
Alexandre Julliard 52aac5aba7 msvcrt: Export the 64-bit version of the C++ mangled names for all implemented functions. 2010-08-24 22:22:09 +02:00
Alexandre Julliard c4f673fb63 msvcrt: List the this pointer as an additional argument for thiscall functions. 2010-08-24 19:29:27 +02:00
Alexandre Julliard 14072676a6 msvcrt: Use a __thiscall macro where appropriate to make the calling convention clearer. 2010-08-24 16:31:25 +02:00
Alexandre Julliard b21e28ca11 msvcrt: Use the thiscall type on appropriate entry points. 2010-08-24 16:24:01 +02:00
Jeff Latimer 1510698b56 msvcirt: Add some stubs. 2010-08-02 17:38:51 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Jerome Leclanche de1b44892d msvcirt: Make sure a FIXME doesn't overflow. 2009-11-03 21:20:37 +01:00
Jerome Leclanche 370873f974 msvcirt: Implement MSVCIRT_operator_sl_callback. 2009-10-26 11:19:45 +01:00
Alexandre Julliard 5af33ee06f msvcrt: Use strict function prototypes. 2009-10-06 16:12:39 +02:00
Alexandre Julliard 2b012c9886 msvcrt: Add appropriate stdcall decorations to assembly functions. 2009-06-15 13:41:51 +02:00
Christian Costa f2b0e3168a msvcirt: Implement some ostream stubs. 2008-08-20 14:09:03 +02:00
Alexandre Julliard 455a4994d5 msvcirt: Added stub implementation of msvcirt.dll. 2007-09-28 20:43:43 +02:00