36 Commits

Author SHA1 Message Date
96e1882405 Copyright: Bump year
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-03-25 08:32:57 +01:00
7196b4298e Add UTF-8 BOM markers
MSVC needs them to use correct charset when Language for non-Unicode
programs is set to Windows-1252 or anything different than UTF-8.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-11-19 10:53:10 +01:00
7c5f20d756 Address code analysis warnings
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-13 10:55:23 +01:00
73619821ee Address code analysis warnings
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-12 19:27:07 +01:00
542d20fccb Update Copyright year
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-01-03 12:13:42 +01:00
f9e65c8a75 Remove UTF-8 BOM
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-11-28 15:51:14 +01:00
a5e47313f9 Allow null error messages in exceptions
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-06-14 17:05:25 +02:00
33e2ac3da4 Address code analysis warnings
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-06-14 14:54:42 +02:00
1ba18f48c6 Upgrade to compile with WIN32_LEAN_AND_MEAN
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-06-14 09:26:53 +02:00
f47faea71b Pull changes from downstream
- Drop Visual Studio 2010 support
- Update SAL
- New and updated classes and templates
- Copyright year update

Signed-off-by: Simon Rozman <simon@rozman.si>
2019-01-21 10:54:38 +01:00
aa7cd261f2 Resolve code analysis reported warnings 2018-12-18 12:27:10 +01:00
49a6d61695 Extend copyright year 2018-09-07 23:48:24 +02:00
567969bcfb Resolve overlapping variable name warnings 2018-08-31 13:24:21 +02:00
79b9ac4371 winstd::com_obj "QueryInterface" constructors added 2017-04-24 21:42:59 +02:00
0910917126 Copyright extended to 2017 2017-04-18 13:53:27 +02:00
90b60031df Incorrect CoCreateInstance() result evaluation fixed 2017-02-23 11:04:57 +01:00
85ad07ece5 Doxygen documentation updated & some minor issues stumbled upon fixed 2016-11-02 00:16:33 +01:00
cc090e89eb Aesthetic modifications 2016-10-13 10:27:47 +02:00
7b1863d8b2 variant::change_type() method introduced 2016-10-06 15:56:14 +02:00
c2ba38a524 Clean-up
- New macros introduced to simplify dplhandle<> and handle<> inherited classes default/copying/moving constructors and assignment operators
- com_obj and bstr are duplicetable now
- dplhandle<> children changed to assign a handle from constructor, not duplicate - for compliance with assignment operator
2016-09-23 14:42:40 +02:00
92f010b206 Doxygen annotation moved to forward declarations 2016-08-27 13:00:40 +02:00
986762649f com_runtime_error and sec_runtime_error expanded to full classes (from typedef) to allow correct run-time-type separation 2016-08-23 22:40:59 +02:00
bacf47ebbc win_runtime_error moved to WinStd, com_runtime_error introduced 2016-08-09 01:04:51 +02:00
5e10b905f9 winstd::com_initializer helper introduced 2016-06-22 16:24:03 +02:00
385986f704 Unnecessary BSTR NULL assert before SysStringLen() as the function handles NULL pointers well itself 2016-06-15 13:04:31 +02:00
bc0967edc3 .h/.cpp files converted to UTF-8 to allow rcgettext parsing 2016-06-09 15:47:27 +02:00
a2ae68b176 Doxygen documentation update 2016-06-02 08:20:51 +02:00
36f6a3cb34 winstd::bstr constructor template for building from std::basic_string added 2016-06-01 12:22:29 +02:00
38ac97e6da Constructors and move assignments fixed after porting from ATL
(Took some lessons of Standard C++)
2016-05-21 23:21:04 +02:00
f9d1df17ee QueryInterface() >> query_interface() for STL consistent naming 2016-05-21 19:47:01 +02:00
6f1d7c8ad5 Syntax error fixed
Amazing, how Visual C++ compiler does not detect syntax errors in templates until they are actually used?!
2016-05-21 19:15:16 +02:00
4981452359 winstd::bstr::length() method added 2016-05-21 17:33:06 +02:00
5519358291 - Code reorganized to move virtual methods and constructors to cpp
- winstd::bstr and winstd::variant helpers introduced
2016-05-20 16:22:25 +02:00
3167ef22d9 Sources are UTF-16 encoded now 2016-05-20 09:52:07 +02:00
5415dd9427 Aesthetic modifications 2016-05-18 13:44:14 +02:00
64961c0526 COM support added 2016-05-18 09:07:16 +02:00