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
0cc13be4
Commit
0cc13be4
authored
Jun 05, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Build with msvcrt.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3d158283
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
19 deletions
+20
-19
Makefile.in
dlls/ieframe/Makefile.in
+2
-0
dochost.c
dlls/ieframe/dochost.c
+1
-1
ieframe.h
dlls/ieframe/ieframe.h
+2
-3
iexplore.c
dlls/ieframe/iexplore.c
+7
-7
intshcut.c
dlls/ieframe/intshcut.c
+6
-6
navigate.c
dlls/ieframe/navigate.c
+2
-2
No files found.
dlls/ieframe/Makefile.in
View file @
0cc13be4
...
...
@@ -2,6 +2,8 @@ MODULE = ieframe.dll
IMPORTLIB
=
ieframe
IMPORTS
=
uuid urlmon shell32 comctl32 shlwapi oleaut32 ole32 user32 gdi32 advapi32
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
classinfo.c
\
client.c
\
...
...
dlls/ieframe/dochost.c
View file @
0cc13be4
...
...
@@ -427,7 +427,7 @@ static void update_travellog(DocHost *This)
static
const
WCHAR
about_schemeW
[]
=
{
'a'
,
'b'
,
'o'
,
'u'
,
't'
,
':'
};
if
(
This
->
url
&&
!
strncmpiW
(
This
->
url
,
about_schemeW
,
ARRAY_SIZE
(
about_schemeW
)))
{
if
(
This
->
url
&&
!
wcsnicmp
(
This
->
url
,
about_schemeW
,
ARRAY_SIZE
(
about_schemeW
)))
{
TRACE
(
"Skipping about URL
\n
"
);
return
;
}
...
...
dlls/ieframe/ieframe.h
View file @
0cc13be4
...
...
@@ -37,7 +37,6 @@
#include "shdeprecated.h"
#include "docobjectservice.h"
#include "wine/unicode.h"
#include "wine/heap.h"
#include "wine/list.h"
...
...
@@ -342,7 +341,7 @@ static inline LPWSTR heap_strdupW(LPCWSTR str)
if
(
str
)
{
DWORD
size
;
size
=
(
strlenW
(
str
)
+
1
)
*
sizeof
(
WCHAR
);
size
=
(
l
strlenW
(
str
)
+
1
)
*
sizeof
(
WCHAR
);
ret
=
heap_alloc
(
size
);
if
(
ret
)
memcpy
(
ret
,
str
,
size
);
...
...
@@ -353,7 +352,7 @@ static inline LPWSTR heap_strdupW(LPCWSTR str)
static
inline
LPWSTR
co_strdupW
(
LPCWSTR
str
)
{
WCHAR
*
ret
=
CoTaskMemAlloc
((
strlenW
(
str
)
+
1
)
*
sizeof
(
WCHAR
));
WCHAR
*
ret
=
CoTaskMemAlloc
((
l
strlenW
(
str
)
+
1
)
*
sizeof
(
WCHAR
));
if
(
ret
)
lstrcpyW
(
ret
,
str
);
return
ret
;
...
...
dlls/ieframe/iexplore.c
View file @
0cc13be4
...
...
@@ -957,7 +957,7 @@ static BOOL create_ie_window(BOOL nohome, const WCHAR *cmdline)
VARIANT
var_url
;
int
cmdlen
;
cmdlen
=
strlenW
(
cmdline
);
cmdlen
=
l
strlenW
(
cmdline
);
if
(
cmdlen
>
2
&&
cmdline
[
0
]
==
'"'
&&
cmdline
[
cmdlen
-
1
]
==
'"'
)
{
cmdline
++
;
cmdlen
-=
2
;
...
...
@@ -988,18 +988,18 @@ static HDDEDATA open_dde_url(WCHAR *dde_url)
url
=
dde_url
;
if
(
*
url
==
'"'
)
{
url
++
;
url_end
=
strchrW
(
url
,
'"'
);
url_end
=
wcschr
(
url
,
'"'
);
if
(
!
url_end
)
{
FIXME
(
"missing string terminator
\n
"
);
return
0
;
}
*
url_end
=
0
;
}
else
{
url_end
=
strchrW
(
url
,
','
);
url_end
=
wcschr
(
url
,
','
);
if
(
url_end
)
*
url_end
=
0
;
else
url_end
=
url
+
strlenW
(
url
);
url_end
=
url
+
l
strlenW
(
url
);
}
LIST_FOR_EACH_ENTRY
(
iter
,
&
ie_list
,
InternetExplorer
,
entry
)
{
...
...
@@ -1149,11 +1149,11 @@ DWORD WINAPI IEWinMain(const WCHAR *cmdline, int nShowWindow)
while
(
cmdline
[
length
]
&&
cmdline
[
length
]
!=
' '
&&
cmdline
[
length
]
!=
'\t'
)
length
++
;
if
(
!
strncmpiW
(
cmdline
,
embeddingW
,
length
))
if
(
!
wcsnicmp
(
cmdline
,
embeddingW
,
length
))
embedding
=
TRUE
;
else
if
(
!
strncmpiW
(
cmdline
,
nohomeW
,
length
))
else
if
(
!
wcsnicmp
(
cmdline
,
nohomeW
,
length
))
nohome
=
TRUE
;
else
if
(
!
strncmpiW
(
cmdline
,
startmanagerW
,
length
))
else
if
(
!
wcsnicmp
(
cmdline
,
startmanagerW
,
length
))
manager
=
TRUE
;
else
break
;
...
...
dlls/ieframe/intshcut.c
View file @
0cc13be4
...
...
@@ -94,15 +94,15 @@ static BOOL run_winemenubuilder( const WCHAR *args )
void
*
redir
;
GetSystemDirectoryW
(
app
,
MAX_PATH
-
ARRAY_SIZE
(
menubuilder
));
strcatW
(
app
,
menubuilder
);
l
strcatW
(
app
,
menubuilder
);
len
=
(
strlenW
(
app
)
+
strlenW
(
args
)
+
1
)
*
sizeof
(
WCHAR
);
len
=
(
lstrlenW
(
app
)
+
l
strlenW
(
args
)
+
1
)
*
sizeof
(
WCHAR
);
buffer
=
heap_alloc
(
len
);
if
(
!
buffer
)
return
FALSE
;
strcpyW
(
buffer
,
app
);
strcatW
(
buffer
,
args
);
l
strcpyW
(
buffer
,
app
);
l
strcatW
(
buffer
,
args
);
TRACE
(
"starting %s
\n
"
,
debugstr_w
(
buffer
));
...
...
@@ -136,7 +136,7 @@ static BOOL StartLinkProcessor( LPCOLESTR szLink )
if
(
!
buffer
)
return
FALSE
;
s
printfW
(
buffer
,
szFormat
,
szLink
);
s
wprintf
(
buffer
,
len
/
sizeof
(
WCHAR
)
,
szFormat
,
szLink
);
ret
=
run_winemenubuilder
(
buffer
);
heap_free
(
buffer
);
return
ret
;
...
...
@@ -521,7 +521,7 @@ static HRESULT WINAPI PersistFile_Load(IPersistFile *pFile, LPCOLESTR pszFileNam
int
iconindex
;
PROPSPEC
ps
;
PROPVARIANT
pv
;
iconindex
=
strtolW
(
iconindexstring
,
NULL
,
10
);
iconindex
=
wcstol
(
iconindexstring
,
NULL
,
10
);
ps
.
ulKind
=
PRSPEC_PROPID
;
ps
.
u
.
propid
=
PID_IS_ICONINDEX
;
pv
.
vt
=
VT_I4
;
...
...
dlls/ieframe/navigate.c
View file @
0cc13be4
...
...
@@ -111,7 +111,7 @@ static void set_status_text(BindStatusCallback *This, ULONG statuscode, LPCWSTR
fmt
[
0
]
=
0
;
/* the format string must have one "%s" for the str */
LoadStringW
(
ieframe_instance
,
IDS_STATUSFMT_FIRST
+
statuscode
,
fmt
,
IDS_STATUSFMT_MAXLEN
);
s
nprintfW
(
buffer
,
ARRAY_SIZE
(
buffer
),
fmt
,
str
);
s
wprintf
(
buffer
,
ARRAY_SIZE
(
buffer
),
fmt
,
str
);
}
V_VT
(
&
arg
)
=
VT_BSTR
;
...
...
@@ -466,7 +466,7 @@ static HRESULT WINAPI HttpNegotiate_BeginningTransaction(IHttpNegotiate *iface,
dwReserved
,
pszAdditionalHeaders
);
if
(
This
->
headers
)
{
int
size
=
(
strlenW
(
This
->
headers
)
+
1
)
*
sizeof
(
WCHAR
);
int
size
=
(
l
strlenW
(
This
->
headers
)
+
1
)
*
sizeof
(
WCHAR
);
*
pszAdditionalHeaders
=
CoTaskMemAlloc
(
size
);
memcpy
(
*
pszAdditionalHeaders
,
This
->
headers
,
size
);
}
...
...
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