Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
aceeaa94
Commit
aceeaa94
authored
May 07, 2000
by
Patrik Stridvall
Committed by
Alexandre Julliard
May 07, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Check for missing modules in modules.dat.
- Minor bug fixes
parent
40aa8c92
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
5 deletions
+36
-5
modules.dat
tools/winapi_check/modules.dat
+4
-0
modules.pm
tools/winapi_check/modules.pm
+27
-0
winapi_check
tools/winapi_check/winapi_check
+5
-5
No files found.
tools/winapi_check/modules.dat
View file @
aceeaa94
...
...
@@ -201,6 +201,10 @@ dlls/rasapi32
dlls/rasapi32
% dlls/richedit/riched32.spec
dlls/richedit
% dlls/setupx/setupx.spec
dlls/setupx
...
...
tools/winapi_check/modules.pm
View file @
aceeaa94
...
...
@@ -17,10 +17,25 @@ sub new {
$$output
=
shift
;
my
$wine_dir
=
shift
;
my
$current_dir
=
shift
;
my
$file_type
=
shift
;
my
$module_file
=
shift
;
$module_file
=~
s/^\.\///
;
my
@all_spec_files
=
map
{
s/^.\/(.*)$/$1/
;
if
(
&
$file_type
(
$_
)
eq
"library"
)
{
$_
;
}
else
{
();
}
}
split
(
/\n/
,
`find $wine_dir -name \\*.spec`
);
my
%
all_spec_files
;
foreach
my
$file
(
@all_spec_files
)
{
$all_spec_files
{
$file
}
++
;
}
if
(
$$options
->
progress
)
{
$$output
->
progress
(
"$module_file"
);
}
...
...
@@ -37,6 +52,12 @@ sub new {
if
(
/^%\s+(.*?)$/
)
{
$spec_file
=
$1
;
if
(
$wine_dir
eq
"."
)
{
$all_spec_files
{
$spec_file
}
--
;
}
else
{
$all_spec_files
{
"$wine_dir/$spec_file"
}
--
;
}
$$spec_files
{
""
}{
$spec_file
}
++
;
# FIXME: Kludge
next
;
}
else
{
$allowed_dir
=
$1
;
...
...
@@ -49,6 +70,12 @@ sub new {
}
close
(
IN
);
foreach
my
$spec_file
(
sort
(
keys
(
%
all_spec_files
)))
{
if
(
$all_spec_files
{
$spec_file
}
>
0
)
{
$$output
->
write
(
"$module_file: $spec_file: exists but is not specified\n"
);
}
}
return
$self
;
}
...
...
tools/winapi_check/winapi_check
View file @
aceeaa94
...
...
@@ -66,11 +66,6 @@ if(!defined($options)) {
exit
;
}
my
$modules
=
'modules'
->
new
(
$options
,
$output
,
$wine_dir
,
$current_dir
,
"$winapi_check_dir/modules.dat"
);
my
$win16api
=
'winapi'
->
new
(
$options
,
$output
,
"win16"
,
"$winapi_check_dir/win16"
);
my
$win32api
=
'winapi'
->
new
(
$options
,
$output
,
"win32"
,
"$winapi_check_dir/win32"
);
sub
file_type
{
my
$file
=
shift
;
...
...
@@ -93,6 +88,11 @@ sub file_type {
}
}
my
$modules
=
'modules'
->
new
(
$options
,
$output
,
$wine_dir
,
$current_dir
,
\&
file_type
,
"$winapi_check_dir/modules.dat"
);
my
$win16api
=
'winapi'
->
new
(
$options
,
$output
,
"win16"
,
"$winapi_check_dir/win16"
);
my
$win32api
=
'winapi'
->
new
(
$options
,
$output
,
"win32"
,
"$winapi_check_dir/win32"
);
if
(
$options
->
global
)
{
'winapi'
->
read_all_spec_files
(
$modules
,
$wine_dir
,
$current_dir
,
\&
file_type
,
$win16api
,
$win32api
);
}
else
{
...
...
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