Alistair Leslie-Hughes
172c4daf33
msado15: Remove DECLSPEC_HIDDEN usage.
2023-07-12 10:55:10 +02:00
Francois Gouget
8caae7de4f
msado15: Fix the spelling of a comment.
2023-05-16 08:16:33 -05:00
Alistair Leslie-Hughes
f1594312fb
msado15: Initialize all SYSTEMTIME members.
2023-04-07 17:05:52 +02:00
Alistair Leslie-Hughes
3a1f5224fb
msado15: Handle DBTYPE_STR type when loading recordset data.
2023-03-30 20:53:21 +02:00
Alistair Leslie-Hughes
49f7059745
msado15: Store all data from provider.
2023-03-22 09:41:48 +01:00
Alistair Leslie-Hughes
4ae5d2537b
msado15: Bind fields in _Recordset Open.
2023-03-22 09:41:47 +01:00
Francois Gouget
6c6cc2cebc
msado15: Fix the spelling of a comment.
2023-03-07 17:25:08 +01:00
Akihiro Sagawa
e8bba58431
msado15: Free recordset filter on close.
...
Introduced by commit 669107f6c5
.
2023-02-28 09:44:20 +01:00
Alistair Leslie-Hughes
e5b1ddeab3
msado15: Support "Optimize" in Properties get_Item.
...
The Optimize property tells msado15 to create index maps
for lookups in Recordset Find. Just store the value for
now until Find is implemented.
2023-02-21 11:21:27 +01:00
Alistair Leslie-Hughes
493751197d
msado15: Field ActualSize return a default size.
2023-02-20 08:38:13 +01:00
Alistair Leslie-Hughes
669107f6c5
msado15: Semi-stub _Recordset get/put Filter.
2023-02-20 08:37:38 +01:00
Gerald Pfeifer
66f6cc5965
msado15: Avoid uninitialized variable warning in fields_get_Item.
...
This avoids the following warning by GCC 13:
dlls/msado15/recordset.c:790:32: warning: 'i' may be used uninitialized
2022-11-21 13:00:32 +01:00
Alex Henrie
c591687d82
msado15: Remove unused functions heap_realloc_zero and strdupW.
2022-11-17 09:58:59 +01:00
Alex Henrie
bb8d69d9c2
msado15: Use standard C functions for memory allocation in stream.c.
2022-11-17 09:58:59 +01:00
Alex Henrie
4899ff5828
msado15: Use standard C functions for memory allocation in recordset.c.
2022-11-17 09:58:59 +01:00
Alex Henrie
4108a3a9f9
msado15: Use standard C functions for memory allocation in connection.c.
2022-11-17 09:58:59 +01:00
Alex Henrie
f601c01529
msado15: Use standard C functions for memory allocation in command.c.
2022-11-17 09:58:59 +01:00
Alistair Leslie-Hughes
d106b3c450
msado15: Implement _Recordset get_EditMode.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-04 21:27:25 +02:00
Alistair Leslie-Hughes
8fbc1c1a09
msado15: Return valid object in Recordset::Clone.
...
This is just to stop a crash when Clone is called.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 21:25:17 +02:00
Eric Pouech
89440f5889
msado15/tests: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-01 10:37:40 +01:00
Eric Pouech
1a4ff1e823
msado15/tests: Use correct integral type.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-01 10:37:38 +01:00
Eric Pouech
2424f03a59
msado15: Enable compilation with long types.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-15 10:37:56 +01:00
Alexandre Julliard
1bf3ebdfc4
msado15: Fix some LONG/LONG_PTR mismatches.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-04 22:44:49 +01:00
Alexandre Julliard
f0cd33c69e
include: Add support for defining Win32 types as 'long' where possible.
...
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Alistair Leslie-Hughes
6a9eaa619c
msado15: Return early if Execute doesn't return a rowset.
...
Not all queries return a rowset, eg delete from ....
In these cases, there isn't anything else to be done.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-20 18:15:40 +01:00
Alexandre Julliard
088a787a2c
makefiles: Make -mno-cygwin the default.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Alistair Leslie-Hughes
f6fc0e2b77
msado15: Convert to Integer for field index.
...
Thanks Gabriel Ivăncescu.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-09 11:54:51 +02:00
Alistair Leslie-Hughes
38f01fe2cb
msado15: Support VT_I4/I2 for Fields Item property.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-08 22:28:44 +02:00
Alistair Leslie-Hughes
4522c54a13
msado15: Correct field reference value.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-07 21:22:04 +02:00
Alistair Leslie-Hughes
5a0dfa15ee
msado15/tests: Add Field tests.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-07 21:22:02 +02:00
Alistair Leslie-Hughes
9c5bb97465
msado15/test: Remove Reference count tests.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-07 21:22:00 +02:00
Alistair Leslie-Hughes
1b9c6227f3
msado15: Use Recordset_Open in Connection_Execute.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Alexandre Julliard
5d82baf974
winecrt0: Add a default implementation DllRegisterServer()/DllUnregisterServer().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Alexandre Julliard
bd6b53740c
winecrt0: Add a default implementation for DllCanUnloadNow().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Alistair Leslie-Hughes
d5aa637737
msado15: Support Properties interface on Field.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-27 17:43:16 +02:00
Alistair Leslie-Hughes
db509cf4fe
msado15: Implement _Recordset get/put Bookmark.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-26 16:48:30 +01:00
Alistair Leslie-Hughes
83b558c5f3
msado15: Clear interface point after release.
...
Since we clear the recordset pointer, we need to reassign it when retreiving Fields.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-18 22:04:01 +01:00
Alistair Leslie-Hughes
c93798bd56
msado15: Improve return when field cannot be found.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-18 22:04:01 +01:00
Francois Gouget
d4631ba675
msado15: Fix the name of the command_text variable.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-02 20:41:55 +01:00
Nikolay Sivov
971be2888b
msado15: Fix copy-paste typos in IDispatch methods.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-01 10:12:52 +01:00
Alistair Leslie-Hughes
6ed601ccba
msado15: Implement Dispatch functions in ADORecordsetConstruction.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-26 16:25:31 +01:00
Alistair Leslie-Hughes
d5113e5174
msado15: Implement Dispatch functions in _Recordset.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-26 16:25:29 +01:00
Alistair Leslie-Hughes
f8903ad5dc
msado15: Implement Dispatch functions in Fields.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-26 16:25:25 +01:00
Alistair Leslie-Hughes
5650d2b8f1
msado15: Implement Dispatch functions in Field.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-26 16:25:22 +01:00
Alistair Leslie-Hughes
9108ef5cfc
msado15: Implement Dispatch functions in _Stream.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-26 16:25:16 +01:00
Alistair Leslie-Hughes
7beb6e85e3
msado15: Implement Dispatch functions in _Command.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-26 16:25:04 +01:00
Alistair Leslie-Hughes
079a963a27
msado15: Implement Dispatch functions in _Connection.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=16676
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-26 16:24:55 +01:00
Alistair Leslie-Hughes
83cd24bb41
msado15: Semi-stub _Recordset Open.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-25 12:22:03 +01:00
Alistair Leslie-Hughes
0949cb4552
msado15: Add helper function to create CommandText interface.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-23 09:55:57 +01:00
Alistair Leslie-Hughes
b90cb3cf95
msado15: Semi-implement _Connection Execute.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-17 11:10:27 +01:00