Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
c5257dc1
Commit
c5257dc1
authored
Jan 27, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 27, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Moved creating URIs relative to window to a new function.
parent
0b556458
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
binding.h
dlls/mshtml/binding.h
+1
-0
htmlwindow.c
dlls/mshtml/htmlwindow.c
+1
-4
persist.c
dlls/mshtml/persist.c
+7
-0
No files found.
dlls/mshtml/binding.h
View file @
c5257dc1
...
...
@@ -114,3 +114,4 @@ HRESULT create_channelbsc(IMoniker*,const WCHAR*,BYTE*,DWORD,nsChannelBSC**) DEC
HRESULT
channelbsc_load_stream
(
nsChannelBSC
*
,
IStream
*
)
DECLSPEC_HIDDEN
;
void
channelbsc_set_channel
(
nsChannelBSC
*
,
nsChannel
*
,
nsIStreamListener
*
,
nsISupports
*
)
DECLSPEC_HIDDEN
;
IUri
*
nsuri_get_uri
(
nsWineURI
*
)
DECLSPEC_HIDDEN
;
HRESULT
create_relative_uri
(
HTMLWindow
*
,
const
WCHAR
*
,
IUri
**
)
DECLSPEC_HIDDEN
;
dlls/mshtml/htmlwindow.c
View file @
c5257dc1
...
...
@@ -814,10 +814,7 @@ static HRESULT WINAPI HTMLWindow2_open(IHTMLWindow2 *iface, BSTR url, BSTR name,
return
S_OK
;
}
if
(
This
->
uri
)
hres
=
CoInternetCombineUrlEx
(
This
->
uri
,
url
,
URL_ESCAPE_SPACES_ONLY
|
URL_DONT_ESCAPE_EXTRA_INFO
,
&
uri
,
0
);
else
hres
=
CreateUri
(
url
,
0
,
0
,
&
uri
);
hres
=
create_relative_uri
(
This
,
url
,
&
uri
);
if
(
FAILED
(
hres
))
return
hres
;
...
...
dlls/mshtml/persist.c
View file @
c5257dc1
...
...
@@ -175,6 +175,13 @@ void set_current_mon(HTMLWindow *This, IMoniker *mon)
set_script_mode
(
This
,
use_gecko_script
(
This
)
?
SCRIPTMODE_GECKO
:
SCRIPTMODE_ACTIVESCRIPT
);
}
HRESULT
create_relative_uri
(
HTMLWindow
*
window
,
const
WCHAR
*
rel_uri
,
IUri
**
uri
)
{
return
window
->
uri
?
CoInternetCombineUrlEx
(
window
->
uri
,
rel_uri
,
URL_ESCAPE_SPACES_ONLY
|
URL_DONT_ESCAPE_EXTRA_INFO
,
uri
,
0
)
:
CreateUri
(
rel_uri
,
0
,
0
,
uri
);
}
void
set_download_state
(
HTMLDocumentObj
*
doc
,
int
state
)
{
if
(
doc
->
client
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment