Commit Graph

46 Commits

Author SHA1 Message Date
Francois Gouget b908ec2294 infosoft/tests: Fix refilling the text buffer.
Up to Windows 10 1507 BreakText() would increment iCur but later Windows
versions leave it unchanged. So assume all characters up to iEnd have
been processed.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50844
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-10 20:33:34 +02:00
Francois Gouget 8ac9f334b4 infosoft/tests: Fix the pfnFillTextBuffer() return value.
Windows Vista to Windows 10 1507 expect pfnFillTextBuffer() to return
WBREAK_E_END_OF_TEXT to signal the end of the string. Returning
unexpected values such as E_FAIL causes BreakText() to abort and report
them to the caller.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50843
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-10 20:33:34 +02:00
Francois Gouget b2985803c2 infosoft/tests: Improve the failure messages.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-10 20:33:34 +02:00
Francois Gouget 86edbc8b14 infosoft/tests: Fix the infinite loop and crash on Windows 10 1607+.
The test only has expected data for the first four words. So abort if
more are found.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-10 20:33:34 +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
Alexandre Julliard e00035f982 infosoft: Use --prefer_native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-02 10:54:25 +01:00
Michael Stefaniuc 449d269470 infosoft/tests: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-02 09:58:07 +02:00
Alexandre Julliard 691fe54512 infosoft: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-06 09:02:08 +02:00
Nikolay Sivov d71672eb4c infosoft: Properly return interface pointers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 18:50:11 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Frédéric Delanoy ab159ead21 infosoft/tests: Constify a character string. 2013-12-24 11:22:44 +01:00
Alexandre Julliard ca41acc1f9 makefiles: Automatically update the IDL_H_SRCS variable. 2013-12-15 10:23:06 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Alexandre Julliard 55e44092bd makefiles: Remove useless definitions of COM_NO_WINDOWS_H. 2013-10-14 16:05:31 +02:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Alexandre Julliard b56dc9a6f7 winecrt0: Remove the clsid parameter in __wine_(un)register_resources. 2011-08-02 20:47:49 +02:00
Michael Stefaniuc a3a09cd3f2 infosoft/tests: COM cleanup in infosoft.c. 2011-06-01 15:15:24 +02:00
Marcus Meissner ac1550bdaa infosoft: Mark internal symbol with hidden visibility. 2011-05-19 10:05:32 +02:00
Francois Gouget 87d76cc2ab infosoft: Export DllUnregisterServer(). 2011-05-03 14:38:06 +02:00
Michael Stefaniuc 38b4a4d7d7 infosoft: Use an iface instead of a vtbl pointer in wordbreaker_impl. 2010-12-09 12:25:14 +01:00
Alexandre Julliard 79bab49904 infosoft: Convert dll registration to the IRegistrar mechanism. 2010-12-07 15:59:41 +01:00
Michael Stefaniuc 751a4fe945 infosoft: Use an iface instead of a vtbl pointer in IClassFactoryImpl. 2010-12-05 16:43:56 +01: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 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
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Reece Dunn a2c41b72f8 Don't generate FIXME warnings for DllCanUnloadNow. 2010-01-06 10:59:51 +01:00
Andrew Talbot fa07687034 infosoft: Remove unneeded address-of operator from function name. 2008-07-07 12:31:40 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
Alexandre Julliard ad9396302d Removed some unneeded imports. 2007-12-06 21:24:24 +01:00
Andrew Talbot fff0ed2602 infosoft: Exclude unused header. 2007-05-07 20:34:17 +02:00
Francois Gouget b2656633a6 Add some documentation headers to make winapi_check happy. 2006-11-13 13:01:15 +01:00
Michael Stefaniuc 15765dd953 The Data1 member of the GUID struct needs to be an unsigned int too for Win64 compatibility. 2006-10-16 10:53:04 +02:00
Michael Stefaniuc 05a4f7e9e3 infosoft: Win64 printf format warning fixes. 2006-10-04 20:55:41 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard 5cf75e615a makefiles: Only run test and documentation targets in directories that need them. 2006-08-28 13:37:44 +02:00
Mike McCormack b5871fa512 infosoft: Add a test for the language neutral word breaker. 2006-08-15 19:24:43 +02:00
Mike McCormack d7371fc49d include: Rename indexsvr.idl to indexsrv.idl. 2006-08-11 14:47:30 +02:00
Mike McCormack c4c35d33b5 infosoft: Use the pfnFillTextBuffer function to refresh the buffer. 2006-08-11 14:45:53 +02:00
Mike McCormack 510fc118dd infosoft: Implement and register the language neutral wordbreaker, not the English_US one. 2006-08-11 14:45:44 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Mike McCormack 4d3877b649 infosoft: Add a word breaker for English. 2006-07-11 17:17:03 +02:00