Commit Graph

237 Commits

Author SHA1 Message Date
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
Amine Khaldi 978e22a85e inetcomm: Remove an unneeded variable. 2009-12-17 12:42:55 +01:00
Huw Davies bf93519a39 inetcomm: Fix memory leak.
Found by Valgrind.
2009-12-07 14:18:24 +01:00
Paul Vriens e7f4f3b69c inetcomm: Prevent possible dereferences (Coverity). 2009-05-14 11:14:31 +02:00
Alexandre Julliard 2e8d68d683 inetcomm: Include ws2tcpip.h before anything else. 2009-03-31 12:12:13 +02:00
Huw Davies 6660d1dc38 inetcomm/tests: AddRef on the stream doesn't return the ref count on win95. 2009-02-18 12:12:04 +01:00
Huw Davies a6d584cec9 inetcomm/tests: Object is a static singleton on win95. 2009-02-18 12:12:00 +01:00
Andrew Talbot cd0317f22d inetcomm: Remove unused function. 2009-02-05 13:13:49 +01:00
Paul Vriens cdabde7a04 inetcomm: Wrap a few traces in debugstr_a() (Coverity). 2009-01-26 15:13:37 +01:00
Michael Stefaniuc f21b436853 inetcomm: Remove superfluous pointer casts. 2009-01-19 13:36:25 +01:00
Hans Leidekker 8bd9a3aa09 janitorial: Don't depend on user32 for the self registration functions. 2008-12-17 11:38:32 +01:00
Alexandre Julliard 7d2993d24c inetcomm: Make a function static. 2008-12-04 12:47:32 +01:00
Francois Gouget 7c2f5f065a inetcomm: Fix compilation on systems that don't support nameless unions. 2008-11-17 15:08:59 +01:00
Hans Leidekker 2c594fb79c inetcomm: Get rid of the server info copy. 2008-11-11 11:41:28 +01:00
Hans Leidekker 55b086b24e inetcomm: Add an implementation of IVirtualStream. 2008-11-11 11:41:24 +01:00
Hans Leidekker b65d768343 inetcomm: Send a notification when disconnecting. 2008-11-10 11:06:31 +01:00
Hans Leidekker 1f87ec3a3c inetcomm: Support both forms of the UIDL and LIST commands. 2008-11-10 11:06:28 +01:00
Hans Leidekker ba1ae62bd2 inetcomm: Add an implementation of IPOP3Transport::CommandTOP. 2008-11-10 11:06:23 +01:00
Hans Leidekker 46c5c1a93a inetcomm: Add an implementation of IPOP3Transport::CommandRETR. 2008-11-10 11:06:19 +01:00
Hans Leidekker dcbe1a4214 inetcomm: Add an implementation of IPOP3Transport::CommandRSET. 2008-11-10 11:06:15 +01:00
Hans Leidekker 05312014fe inetcomm: Add an implementation of IPOP3Transport::CommandNOOP. 2008-11-10 11:06:11 +01:00
Hans Leidekker e2b173f1a9 inetcomm: Add an implementation of IPOP3Transport::CommandDELE. 2008-11-10 11:06:07 +01:00
Hans Leidekker 550033d203 inetcomm: Flesh out the pop3 command parser. 2008-11-10 11:06:01 +01:00
Hans Leidekker f039960586 inetcomm: CreateIMAPTransport, CreatePOP3Transport and CreateSMTPTransport are implemented. 2008-11-04 14:08:42 +01:00
Hans Leidekker 157d18bbf8 inetcomm: Advertise support for a couple more interfaces. 2008-11-04 14:08:36 +01:00
Hans Leidekker de8dd504d7 inetcomm: Add an implementation of ISMTPTransport2::CommandDATA. 2008-11-04 14:08:17 +01:00
Hans Leidekker d80d9b82f2 inetcomm: Add an implementation of IPOP3Transport::CommandPASS. 2008-11-04 14:08:12 +01:00
Hans Leidekker 954945cd2e inetcomm: Add an implementation of IPOP3Transport::CommandUSER. 2008-11-04 14:08:08 +01:00
Hans Leidekker 4707548adc inetcomm: Implement IPOP3Transport::Disconnect. 2008-10-31 14:58:06 +01:00
Hans Leidekker 0fce856d4a inetcomm: Add an implementation of IPOP3Transport::CommandUIDL. 2008-10-31 14:58:01 +01:00
Hans Leidekker f136c22b61 inetcomm: Add an implementation of IPOP3Transport::CommandSTAT. 2008-10-31 14:57:57 +01:00
Hans Leidekker d810887b05 inetcomm: Add an implementation of IPOP3Transport::CommandQUIT. 2008-10-31 14:57:48 +01:00
Hans Leidekker 9b8e2e20d5 inetcomm: Add an implementation of IPOP3Transport::CommandLIST. 2008-10-31 14:57:44 +01:00
Hans Leidekker 567b8cb3bf inetcomm: Add an implementation of the pop3 USER and PASS commands. 2008-10-31 14:57:36 +01:00
Rob Shearman 7b0bbc4dd6 inetcomm: Add an implementation of ISMTPTransport2::CommandRSET. 2008-10-31 14:57:28 +01:00
Rob Shearman a48b5387cf inetcomm: Add an implementation of ISMTPTransport2::CommandAUTH. 2008-10-31 14:57:15 +01:00
Rob Shearman d9c4f5fc50 inetcomm: Add an implementation of ISMTPTransport2::CommandHELO. 2008-10-31 14:57:06 +01:00
Rob Shearman c445e4f68e inetcomm: Add an implementation of ISMTPTransport2::CommandEHLO. 2008-10-31 14:56:57 +01:00
Rob Shearman f36c80a99b inetcomm: Add an implementation of ISMTPTransport2::CommandRCPT. 2008-10-31 14:56:46 +01:00
Rob Shearman 91c60c0cab inetcomm: Add an implementation of ISMTPTransport2::CommandMAIL. 2008-10-31 14:56:35 +01:00
Rob Shearman fe56d3195f inetcomm: Add an implementation of ISMTPTransport2::CommandQUIT. 2008-10-31 14:56:25 +01:00
Rob Shearman 01fcce49e1 inetcomm: Add an implementation of ISMTPTransport2::SendMessage. 2008-10-31 14:56:14 +01:00
Rob Shearman f34f9ba5b5 inetcomm: Add an implementation of the HELO/EHLO command. 2008-10-30 15:52:32 +01:00
Hans Leidekker aff6049180 inetcomm: Add a stub implementation of ISMTPTransport2. 2008-10-30 15:51:57 +01:00
Hans Leidekker 80cb3569af inetcomm: Add a stub implementation of IPOP3Transport. 2008-10-30 15:51:24 +01:00
Alistair Leslie-Hughes 5416057e79 inetcomm: Correct test under w2k8. 2008-10-29 13:43:04 +01:00
Alexandre Julliard 1e344db7a6 inetcomm: Add missing license header. 2008-10-02 10:30:55 -05:00
Hans Leidekker b0a069dcfb inetcomm: Add a stub implementation of IIMAPTransport. 2008-09-30 11:29:07 -05:00
Huw Davies 3093023979 inetcomm: Add wrapper functions MimeOleFindCharset and MimeOleGetDefaultCharset. 2008-09-23 14:03:19 +02:00
Huw Davies 59091374e8 inetcomm: Implement IMimeBody_IsType(IBT_EMPTY). 2008-09-23 12:12:53 +02:00
Huw Davies cfbd34cac7 inetcomm: Content-Disposition can have parameters. 2008-09-23 12:12:48 +02:00
Huw Davies ed8b219c68 inetcomm: Charset name comparison should be case insensitive. 2008-09-22 13:45:52 +02:00
Huw Davies 014fb479bc inetcomm: Start of IMimeBody_SetOption. 2008-09-22 13:45:18 +02:00
Huw Davies 1b8e99f514 inetcomm: Start of IMimeMessage_SetOption. 2008-09-22 13:45:13 +02:00
Huw Davies 2097387e04 inetcomm: Make variable static to fix crash on process detach. 2008-09-18 12:33:05 +02:00
Huw Davies bdc9440d65 inetcomm: Implement MimeOleGetCharsetInfo. 2008-09-17 11:04:38 +02:00
Huw Davies 5497ff016c inetcomm/tests: Add tests for IMimeInternational_ConvertString. 2008-09-17 11:04:33 +02:00
Huw Davies 0d04d7acb1 inetcomm: Implement IMimeInternational_ConvertString. 2008-09-17 11:04:24 +02:00
Huw Davies 4c7380b113 inetcomm/tests: Tests for IMimeInternational_ConvertBuffer. 2008-09-16 11:28:47 +02:00
Huw Davies 91599d5088 inetcomm: Implement IMimeInternational_ConvertBuffer. 2008-09-16 11:28:44 +02:00
Alexandre Julliard 9099c212d1 inetcomm: Avoid a compiler warning. 2008-09-12 17:09:07 +02:00
Huw Davies bba2221426 inetcomm: Fix some more idl. 2008-09-12 16:50:19 +02:00
Huw Davies 5d3b4a60f2 inetcomm: Implement IMimeInternational_CanConvertCodePages. 2008-09-11 14:36:06 +02:00
Huw Davies 2fa80dacde inetcomm: Add a missing function and fix some idl. 2008-09-11 14:36:03 +02:00
Huw Davies ef180ec3e7 inetcomm/tests: Add a test for IMimeInternational_SetDefaultCharset. 2008-09-11 14:35:54 +02:00
Huw Davies ed39ba4539 inetcomm: Implement IMimeInternational_SetDefaultCharset. 2008-09-11 14:35:51 +02:00
Huw Davies 4271524b8a inetcomm/tests: Add test for IMimeInternational_GetDefaultCharset. 2008-09-11 14:35:47 +02:00
Huw Davies 8b68a6296c inetcomm: Implement IMimeInternational_GetDefaultCharset. 2008-09-11 14:35:43 +02:00
Huw Davies 3fe7ea127c inetcomm/tests: Add tests for IMimeInternational_GetCodePageCharset. 2008-09-11 14:35:38 +02:00
Huw Davies f3a6b7a81d inetcomm: Implement IMimeInternational_GetCodePageCharset. 2008-09-11 14:35:34 +02:00
Huw Davies 3dd46c3606 inetcomm/tests: Add tests for IMimeInternational_GetCharsetInfo. 2008-09-11 14:35:29 +02:00
Huw Davies 12bb6e481f inetcomm: Implement IMimeInternational_GetCharsetInfo. 2008-09-11 14:35:24 +02:00
Huw Davies 9229c19d01 inetcomm/tests: Tests for IMimeInternational_FindCharset. 2008-09-11 14:35:18 +02:00
Huw Davies ed3ca13613 inetcomm: Implement IMimeInternational_FindCharset. 2008-09-11 14:35:14 +02:00
Huw Davies 913f17e290 inetcomm/tests: Start of IMimeInternational tests. 2008-09-11 14:35:01 +02:00
Huw Davies d1601eeeac inetcomm: Add a stub MimeInternational object. 2008-09-11 14:34:49 +02:00
Alexandre Julliard 79c64acc7b tests: Don't depend on the static uuid libraries in the tests.
This avoids trouble with the broken MingW libraries when
cross-compiling the tests.
2008-07-08 17:51:45 +02:00
Huw Davies d9bf3b5c4a inetcomm: Fully initialize start and length.
Should fix Valgrind warnings 'Conditional jump or move depends on
uninitialised value(s)' in inetcomm tests.
2008-06-21 11:14:10 +02:00
Andrew Talbot d684d5accb inetcomm: Remove unused variables. 2008-05-05 12:53:04 +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
James Hawkins b8ffcbc35b inetcomm: Fix a test that fails on all systems. 2008-04-21 13:20:07 +02:00
Andrew Talbot e27fe2d76a inetcomm: Void functions should not return a value. 2008-03-31 12:14:02 +02:00
Andrew Talbot 14987e4021 inetcomm: Assign to structs instead of using memcpy. 2008-03-24 20:41:57 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Rob Shearman c9b588b88b inetcomm: Add default case to sub_stream_Seek to avoid using uninitialised memory. 2008-02-29 12:39:33 +01:00
Francois Gouget 84acc6f9c1 inetcomm: Fix compilation on systems that don't support nameless unions. 2008-02-18 14:21:33 +01:00
Huw Davies cc0a458f92 inetcomm: Add IStream_CopyTo to the sub-stream implementation. 2008-02-15 11:03:22 +01:00
Huw Davies 5f8c766528 inetcomm: Improve some TRACEs. 2008-02-15 11:03:20 +01:00
Huw Davies e03f478aee inetcomm: Implement IMimeMessage_GetMessageSource. 2008-02-13 16:40:34 +01:00
Huw Davies b21b9c7372 inetcomm: Stub for MimeOleGetCharsetInfo. 2008-02-13 16:40:27 +01:00
Huw Davies 43958866a3 inetcomm: Stub IMime{Message, Body}_GetCharset to return a NULL charset. 2008-02-13 16:40:17 +01:00
Huw Davies 3f92c5b734 inetcomm: Implement IMimeBody_GetProp for the primary context type. 2008-02-13 16:40:07 +01:00
Huw Davies 02ceeef288 inetcomm: Implement IMimeMessage_GetAttachments. 2008-02-13 16:37:57 +01:00
Huw Davies 869b10b430 inetcomm: Implement IMimeMessage_GetTextBody. 2008-02-13 16:37:47 +01:00
Huw Davies a9287e3595 inetcomm: Forward a few IMimeMessage functions to the appropriate IMimeBody functions. 2008-02-13 16:37:32 +01:00
Huw Davies d56033eedf inetcomm: Implement IMimeMessage_Find{First,Next}. 2008-02-13 16:37:22 +01:00
Huw Davies 8be6df3434 inetcomm: Implement IMimeMessage_CountBodies. 2008-02-13 16:37:08 +01:00
Huw Davies e15ff2ef86 inetcomm: Implement IMimeMessage_GetBody. 2008-02-13 16:36:57 +01:00
Huw Davies db4881cfb6 inetcomm: Create a body tree for multipart messages. 2008-02-13 16:36:41 +01:00
Huw Davies 8760cf5aa4 inetcomm: Add a sub-stream implementation. 2008-02-13 16:35:43 +01:00
Huw Davies 8a6fa1bf8d inetcomm: Added missing initialization. 2008-02-13 16:27:34 +01:00
Huw Davies a14bb14dc5 inetcomm: Implement IMimeMessage_BindToObject. 2008-02-12 22:37:02 +01:00
Huw Davies 88df8e83dd inetcomm: Create the root body in IMimeMessage_Load. 2008-02-12 22:36:50 +01:00
Huw Davies c930fc70f5 inetcomm: Partial implementation of IMimeBody_GetData. 2008-02-12 22:36:34 +01:00
Huw Davies 4ba3aa5047 inetcomm: Add the beginnings of IMimeMessage_Load. 2008-02-12 22:36:24 +01:00
Huw Davies 3fa10f79f4 inetcomm: Implement IMimeBody_GetOffsets. 2007-12-21 12:40:24 +01:00
Huw Davies 979a43e49d inetcomm: Unquote parameter values. 2007-12-18 19:48:25 +01:00
Huw Davies e446351d4c inetcomm: Implement IMimeBody_GetParameters. 2007-12-18 19:48:22 +01:00
Huw Davies 2f83e46015 inetcomm: Fix spelling typo. 2007-12-18 13:30:17 +01:00
Huw Davies 5df59e29c9 inetcomm: Add IMimeAllocator implementation. 2007-12-18 13:30:14 +01:00
Francois Gouget b8ee557386 inetcomm/tests: Fix compilation on systems that don't support nameless unions. 2007-12-07 14:53:03 +01:00
Francois Gouget 842450e96b inetcomm: Fix compilation on systems that don't support nameless unions. 2007-12-07 14:53:00 +01:00
Huw Davies ef59756ace inetcomm: Implement IMimeBody:SetData. 2007-11-27 11:37:16 +01:00
Huw Davies dd66f04c21 inetcomm: Implement IMimeBody:[G|S]etCurrentEncoding. 2007-11-27 11:37:01 +01:00
Huw Davies 19cb4bcd36 inetcomm: Implement IMimeBody:IsContentType. 2007-11-27 11:36:55 +01:00
Huw Davies 0bcd30773e inetcomm: Store a header's parameters as a list. 2007-11-27 11:36:37 +01:00
Huw Davies 03ca389550 inetcomm: Unfold headers. 2007-11-27 11:36:19 +01:00
Huw Davies 31297b6a3b inetcomm: Parse headers into a list. 2007-11-27 11:35:55 +01:00
Huw Davies 98dfca50bb inetcomm: Copy RFC822 headers into a memory block for later parsing. 2007-11-27 11:35:13 +01:00
Gerald Pfeifer 173a8bb224 inetcomm: Fix error check in InternetTransport_Connect(). 2007-11-26 13:58:28 +01:00
Huw Davies 288196a49a inetcomm: Add a test for MimeBody. 2007-11-15 11:08:53 +01:00
Huw Davies cc3fcf0a2d inetcomm: Add a class factory for MimeBody. 2007-11-15 11:08:48 +01:00
Huw Davies c396411a5b inetcomm: Add a stub MimeBody implementation. 2007-11-15 11:08:40 +01:00
Huw Davies 98c74280bd inetcomm: Register a couple more classes. 2007-11-15 11:08:23 +01:00
Huw Davies 8ccf1066eb inetcomm: Add a stub implementation of the MimeSecurity object. 2007-11-07 11:57:16 +01:00
Huw Davies ba6b7e8ba5 inetcomm: Add a test for MimeOleCreateVirtualStream. 2007-11-06 13:01:00 +01:00
Huw Davies 381e48ec13 inetcomm: Add two missing member functions. 2007-11-05 12:09:27 +01:00
Rob Shearman 54ab69c4f5 inetcomm: Add a stub implementation of the IMimeMessage object returned from MimeOleCreateMessage. 2007-11-05 12:09:14 +01:00
Huw Davies 78c90082a5 inetcomm: Add a stub for MimeOleCreateVirtualStream. 2007-11-05 12:08:52 +01:00
Rob Shearman 70705829dd inetcomm: Include mimeole.h and fix the type of MimeOleCreateMessage. 2007-11-05 12:08:47 +01:00
Rob Shearman abd95840a5 inetcomm: Add stubs for MimeOleSetCompatMode and MimeOleCreateMessage. 2007-11-05 12:06:54 +01:00
Rob Shearman 3ace5e53d9 inetcomm: Call InternetTransport_RegisterClass and UnregisterClass on process attach and detach respectively, to register a window class and initialize Winsock. 2007-11-05 12:06:42 +01:00
Rob Shearman cef74e263f inetcomm: Use InternetTransport_ChangeStatus in InternetTransport_DropConnection so that the callback gets called. 2007-11-05 12:06:33 +01:00
Huw Davies a3a2789f66 inetcomm: Add self-registration code.
Based on a patch by Rob Shearman.
2007-11-05 12:06:21 +01:00
Rob Shearman 994014b15a inetcomm: Add a framework for connecting to a server and sending/receiving data asynchronously with callbacks being called in the context of the original thread, using window messages. 2007-11-05 12:05:17 +01:00
Rob Shearman beab2c17e9 inetcomm: Add stub implementation of inetcomm.dll. 2007-11-02 13:52:10 +01:00