Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jason Beetham
wine
Commits
aceeaa94
Commit
aceeaa94
authored
24 years ago
by
Patrik Stridvall
Committed by
Alexandre Julliard
24 years ago
Browse files
Options
Downloads
Patches
Plain Diff
- Check for missing modules in modules.dat.
- Minor bug fixes
parent
40aa8c92
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tools/winapi_check/modules.dat
+4
-0
4 additions, 0 deletions
tools/winapi_check/modules.dat
tools/winapi_check/modules.pm
+27
-0
27 additions, 0 deletions
tools/winapi_check/modules.pm
tools/winapi_check/winapi_check
+5
-5
5 additions, 5 deletions
tools/winapi_check/winapi_check
with
36 additions
and
5 deletions
tools/winapi_check/modules.dat
+
4
−
0
View file @
aceeaa94
...
...
@@ -201,6 +201,10 @@ dlls/rasapi32
dlls/rasapi32
% dlls/richedit/riched32.spec
dlls/richedit
% dlls/setupx/setupx.spec
dlls/setupx
...
...
This diff is collapsed.
Click to expand it.
tools/winapi_check/modules.pm
+
27
−
0
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
;
}
...
...
This diff is collapsed.
Click to expand it.
tools/winapi_check/winapi_check
+
5
−
5
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
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment