Piotr Caban
5ab0d1443c
mshtml: Don't use strncasecmp.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-02 19:23:34 +02:00
Jacek Caban
892be572cb
mshtml: Access document object via browser object in nsIChannel::AsyncOpen.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:52:59 +01:00
Jacek Caban
eca21a38c1
mshtml: Rename NSContainer to GeckoBrowser.
...
Long term plan is to move parts of HTMLDocumentObj to GeckoBrowser and
split them in a way allowing them to run in different threads. This is
needed to move Gecko-related tasks into a separated thread to workaround
Gecko main thread limitation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:54:40 +01:00
Jacek Caban
e50ab8d6f4
mshtml: Simplify handling origin URI charset.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:24:06 +01:00
Jacek Caban
9c8162dba2
mshtml: Get rid of no longer needed is_doc_uri from nsWineURI.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:24:04 +01:00
Jacek Caban
24603b011a
mshtml: Move TranslateUrl call to before_async_open.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:24:02 +01:00
Jacek Caban
73cca44bf4
mshtml: Use channel_bsc from URI for child documents as well.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:23:59 +01:00
Jacek Caban
fc66d0ecc3
mshtml: Get rid of no longer needed windowref_t.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:23:57 +01:00
Jacek Caban
406d66f8c6
mshtml: Always use get_channel_window to get window in nsIChannel::AsyncOpen.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:23:55 +01:00
Jacek Caban
4accd13d92
mshtml: Get nsIWebProgress from notification callback if load group has no observer.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:23:52 +01:00
Jacek Caban
2678126f95
mshtml: Use load_flags instead of is_doc_uri in nsChannel implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-08 16:23:49 +01:00
Jacek Caban
842207e260
mshtml: Don't store NSContainer in nsWineURI.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-06 18:28:20 +01:00
Jacek Caban
317d8c1674
mshtml: Expose nsIFormPOSTActionChannel interface from nsChannel object.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-15 18:54:57 +01:00
Michael Stefaniuc
12b85004aa
mshtml: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban<jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-24 10:28:28 +02:00
Jacek Caban
f39c6c3cbd
mshtml: Silence some noisy FIXMEs.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 19:07:20 +01:00
Jacek Caban
b9f0ac40b9
mshtml: Set referrer in load_nsuri.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 16:10:26 +02:00
Jacek Caban
3296a18c3e
mshtml: Always create load info object in load_nsuri.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 16:10:24 +02:00
Jacek Caban
fcd136e1a2
mshtml: Set correct load type in load_nsuri.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 16:10:23 +02:00
Michael Stefaniuc
d8f6e3ef7c
mshtml: Avoid a cast from a COM object to an interface.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-25 19:49:07 +01:00
Nikolay Sivov
f45d82eb4c
mshtml: Fix uri builder leak on nsIFileURL release (Valgrind).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-14 11:07:07 -06:00
Nikolay Sivov
15a07c0725
mshtml: Fix BSTR leak in SetReferrerWithPolicy() (Valgrind).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban<jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-14 11:07:07 -06:00
Andrew Eikum
22783dfef8
mshtml: Don't crash creating a URI if we have no document.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 12:42:15 +09:00
Jacek Caban
0ff1b0c382
mshtml: Set referer HTTP header in nsIHttpChannel::SetReferrerWithPolicy.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-03 09:56:19 -05:00
Jacek Caban
3cb45c4c8d
mshtml: Don't send https referrer to non-https channel.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-03 09:56:19 -05:00
Jacek Caban
ed7dc73ca5
mshtml: Forward nsIHttpChannel::SetReferrer to SetReferrerWithPolicy.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-03 09:56:19 -05:00
Jacek Caban
d69ae891d5
mshtml: Pass correct name length to set_http_header in nsUploadChannel_SetUploadStream.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-17 22:57:31 +09:00
Jacek Caban
3a16c8bbca
mshtml: Wine Gecko 2.47 release.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-14 13:43:54 +09:00
Jacek Caban
0eba20def8
mshtml: Fixed copy&paste typo in GetAsciiHostPort implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-17 21:58:01 +09:00
Jacek Caban
db105f08d2
mshtml: Wine Gecko 2.44 release.
...
Includes fixes by Sebastian Lackner.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-01 17:53:39 +09:00
Jacek Caban
86c097142b
mshtml: Added nsIChannel::Cancel implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 19:50:29 +01:00
Jacek Caban
7c4c93a2bf
mshtml: Return success in SetCorsIncludeCredentials and SetCorsMode.
...
Fixes regression in loading site-provided fonts.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-07 22:38:10 +09:00
Jacek Caban
4dc8a96f78
mshtml: Fixed nsIHttpChannelInternal declaration.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-07 22:38:01 +09:00
Joachim Priesner
e7fc477921
mshtml: Treat "data:" as Gecko special URI scheme.
...
This enables loading of inline content specified as data: URI, such as
background images.
Signed-off-by: Joachim Priesner <joachim.priesner@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-08 21:01:41 +09:00
Jacek Caban
a68d5d2da3
mshtml: Fixed comparing names in find_http_header.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2015-10-06 00:01:56 +09:00
Jacek Caban
a556f9e5c1
mshtml: Wine Gecko 2.40 release.
2015-08-12 22:59:15 +09:00
Zhenbo Li
4e6e9a1485
mshtml: Add nsChannel_GetResponseStatusText implementation.
2015-07-22 17:43:01 +02:00
Jacek Caban
7f7e460a75
mshtml: Added nsIIOService::NewChannelFromURI2 semi-stub implementation.
2015-07-03 12:46:44 +09:00
Jacek Caban
20080c616d
mshtml: Wine Gecko 2.36 release.
2015-02-25 22:55:24 +09:00
Jacek Caban
f0fc2ba27d
mshtml: Use our submit implementation for all windows, but only for POST method.
2015-02-03 12:45:51 +09:00
Jacek Caban
e62612b2c3
mshtml: Added URI_ flags declaration and improved debug traces.
2015-01-26 19:37:04 +01:00
Jacek Caban
9a68ef40dd
mshtml: Added nsIURI::GetPrePath implementation.
2014-11-20 23:40:41 +09:00
Jacek Caban
bcce460f9e
mshtml: Added missing nsIHttpChannelInternal functions.
2014-11-20 23:40:40 +09:00
Jacek Caban
f5e3281a80
mshtml: Wine Gecko 2.34 release.
2014-11-03 20:52:52 +09:00
Jacek Caban
0d023f1968
mshtml: Use proper codepage in nsIIOService::NewURI.
2014-10-13 18:10:28 +09:00
Jacek Caban
857a35e2a7
mshtml: Use UTF-8 encoding in NewURI by default.
2014-09-26 22:42:03 +02:00
Jacek Caban
47a7d835d4
mshtml: Don't include leading '?' in nsIURL::GetSearch implementation.
2014-09-19 19:49:44 +02:00
Huw Davies
72297ebfbb
mshtml: Remove a double-Release.
2013-12-20 17:09:12 +01:00
Jacek Caban
8c6d9482bc
mshtml: Strip hash part before combining URIs.
2013-11-29 13:32:49 +01:00
Jacek Caban
fb9620f1c8
mshtml: Wine Gecko 2.21 release.
2013-05-17 16:41:48 +02:00
Jacek Caban
afa527c1ae
mshtml: Pass IUri to create_doc_uri.
2013-04-04 19:30:30 +02:00