Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
aaebdd6a
Commit
aaebdd6a
authored
Aug 05, 2002
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable building of Carbon toolbox modules with unix-Python.
parent
ff8dec74
Changes
26
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
26 additions
and
58 deletions
+26
-58
Mac/Modules/ae/aescan.py
Mac/Modules/ae/aescan.py
+1
-2
Mac/Modules/app/appscan.py
Mac/Modules/app/appscan.py
+1
-2
Mac/Modules/carbonevt/CarbonEvtscan.py
Mac/Modules/carbonevt/CarbonEvtscan.py
+1
-3
Mac/Modules/cf/cfscan.py
Mac/Modules/cf/cfscan.py
+1
-2
Mac/Modules/cg/cgscan.py
Mac/Modules/cg/cgscan.py
+1
-2
Mac/Modules/cm/cmscan.py
Mac/Modules/cm/cmscan.py
+1
-2
Mac/Modules/ctl/ctlscan.py
Mac/Modules/ctl/ctlscan.py
+1
-2
Mac/Modules/dlg/dlgscan.py
Mac/Modules/dlg/dlgscan.py
+1
-2
Mac/Modules/drag/dragscan.py
Mac/Modules/drag/dragscan.py
+1
-2
Mac/Modules/evt/evtscan.py
Mac/Modules/evt/evtscan.py
+1
-2
Mac/Modules/fm/fmscan.py
Mac/Modules/fm/fmscan.py
+1
-2
Mac/Modules/help/helpscan.py
Mac/Modules/help/helpscan.py
+1
-2
Mac/Modules/htmlrender/htmlscan.py
Mac/Modules/htmlrender/htmlscan.py
+1
-2
Mac/Modules/ibcarbon/IBCarbonscan.py
Mac/Modules/ibcarbon/IBCarbonscan.py
+1
-4
Mac/Modules/icn/icnscan.py
Mac/Modules/icn/icnscan.py
+1
-2
Mac/Modules/list/listscan.py
Mac/Modules/list/listscan.py
+1
-2
Mac/Modules/menu/menuscan.py
Mac/Modules/menu/menuscan.py
+1
-2
Mac/Modules/mlte/mltescan.py
Mac/Modules/mlte/mltescan.py
+1
-2
Mac/Modules/qd/qdscan.py
Mac/Modules/qd/qdscan.py
+1
-2
Mac/Modules/qdoffs/qdoffsscan.py
Mac/Modules/qdoffs/qdoffsscan.py
+1
-2
Mac/Modules/qt/qtscan.py
Mac/Modules/qt/qtscan.py
+1
-2
Mac/Modules/res/resscan.py
Mac/Modules/res/resscan.py
+1
-2
Mac/Modules/scrap/scrapscan.py
Mac/Modules/scrap/scrapscan.py
+1
-5
Mac/Modules/snd/sndscan.py
Mac/Modules/snd/sndscan.py
+1
-2
Mac/Modules/te/tescan.py
Mac/Modules/te/tescan.py
+1
-2
Mac/Modules/win/winscan.py
Mac/Modules/win/winscan.py
+1
-2
No files found.
Mac/Modules/ae/aescan.py
View file @
aaebdd6a
...
@@ -7,9 +7,8 @@ import os
...
@@ -7,9 +7,8 @@ import os
import
string
import
string
import
MacOS
import
MacOS
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
bgenlocations
import
TOOLBOXDIR
from
scantools
import
Scanner
from
scantools
import
Scanner
...
...
Mac/Modules/app/appscan.py
View file @
aaebdd6a
...
@@ -2,10 +2,9 @@
...
@@ -2,10 +2,9 @@
import
sys
import
sys
import
os
import
os
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
scantools
import
Scanner
from
scantools
import
Scanner
from
bgenlocations
import
TOOLBOXDIR
LONG
=
"Appearance"
LONG
=
"Appearance"
SHORT
=
"app"
SHORT
=
"app"
...
...
Mac/Modules/carbonevt/CarbonEvtscan.py
View file @
aaebdd6a
...
@@ -6,11 +6,9 @@ import string
...
@@ -6,11 +6,9 @@ import string
import
MacOS
import
MacOS
import
sys
import
sys
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen:'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
bgenlocations
import
TOOLBOXDIR
from
scantools
import
Scanner
,
Scanner_OSX
from
scantools
import
Scanner
,
Scanner_OSX
def
main
():
def
main
():
...
...
Mac/Modules/cf/cfscan.py
View file @
aaebdd6a
...
@@ -2,10 +2,9 @@
...
@@ -2,10 +2,9 @@
import
sys
import
sys
import
os
import
os
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
scantools
import
Scanner_OSX
from
scantools
import
Scanner_OSX
from
bgenlocations
import
TOOLBOXDIR
LONG
=
"CoreFoundation"
LONG
=
"CoreFoundation"
SHORT
=
"cf"
SHORT
=
"cf"
...
...
Mac/Modules/cg/cgscan.py
View file @
aaebdd6a
...
@@ -2,10 +2,9 @@
...
@@ -2,10 +2,9 @@
import
sys
import
sys
import
os
import
os
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
scantools
import
Scanner_OSX
from
scantools
import
Scanner_OSX
from
bgenlocations
import
TOOLBOXDIR
LONG
=
"CoreGraphics"
LONG
=
"CoreGraphics"
SHORT
=
"cg"
SHORT
=
"cg"
...
...
Mac/Modules/cm/cmscan.py
View file @
aaebdd6a
...
@@ -2,10 +2,9 @@
...
@@ -2,10 +2,9 @@
import
sys
import
sys
import
os
import
os
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
scantools
import
Scanner
from
scantools
import
Scanner
from
bgenlocations
import
TOOLBOXDIR
LONG
=
"Components"
LONG
=
"Components"
SHORT
=
"cm"
SHORT
=
"cm"
...
...
Mac/Modules/ctl/ctlscan.py
View file @
aaebdd6a
# Scan <Controls.h>, generating ctlgen.py.
# Scan <Controls.h>, generating ctlgen.py.
import
sys
import
sys
import
os
import
os
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
scantools
import
Scanner
from
scantools
import
Scanner
from
bgenlocations
import
TOOLBOXDIR
def
main
():
def
main
():
# input = "Controls.h" # Universal Headers < 3.3
# input = "Controls.h" # Universal Headers < 3.3
...
...
Mac/Modules/dlg/dlgscan.py
View file @
aaebdd6a
...
@@ -2,11 +2,10 @@
...
@@ -2,11 +2,10 @@
import
sys
import
sys
import
os
import
os
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
scantools
import
Scanner
from
scantools
import
Scanner
from
bgenlocations
import
TOOLBOXDIR
LONG
=
"Dialogs"
LONG
=
"Dialogs"
SHORT
=
"dlg"
SHORT
=
"dlg"
...
...
Mac/Modules/drag/dragscan.py
View file @
aaebdd6a
# Scan <Drag.h>, generating draggen.py.
# Scan <Drag.h>, generating draggen.py.
import
sys
import
sys
import
os
import
os
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
scantools
import
Scanner
from
scantools
import
Scanner
from
bgenlocations
import
TOOLBOXDIR
,
INCLUDEDIR
MISSING_DEFINES
=
"""
MISSING_DEFINES
=
"""
kDragHasLeftSenderWindow = (1 << 0)
kDragHasLeftSenderWindow = (1 << 0)
...
...
Mac/Modules/evt/evtscan.py
View file @
aaebdd6a
...
@@ -2,10 +2,9 @@
...
@@ -2,10 +2,9 @@
import
sys
import
sys
import
os
import
os
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
scantools
import
Scanner
from
scantools
import
Scanner
from
bgenlocations
import
TOOLBOXDIR
LONG
=
"Events"
LONG
=
"Events"
SHORT
=
"evt"
SHORT
=
"evt"
...
...
Mac/Modules/fm/fmscan.py
View file @
aaebdd6a
...
@@ -2,10 +2,9 @@
...
@@ -2,10 +2,9 @@
import
sys
import
sys
import
os
import
os
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
scantools
import
Scanner
from
scantools
import
Scanner
from
bgenlocations
import
TOOLBOXDIR
LONG
=
"Fonts"
LONG
=
"Fonts"
SHORT
=
"fm"
SHORT
=
"fm"
...
...
Mac/Modules/help/helpscan.py
View file @
aaebdd6a
...
@@ -2,10 +2,9 @@
...
@@ -2,10 +2,9 @@
import
sys
import
sys
import
os
import
os
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
scantools
import
Scanner
from
scantools
import
Scanner
from
bgenlocations
import
TOOLBOXDIR
LONG
=
"Balloons"
LONG
=
"Balloons"
SHORT
=
"help"
SHORT
=
"help"
...
...
Mac/Modules/htmlrender/htmlscan.py
View file @
aaebdd6a
...
@@ -2,11 +2,10 @@
...
@@ -2,11 +2,10 @@
import
sys
import
sys
import
os
import
os
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
scantools
import
Scanner
from
scantools
import
Scanner
from
bgenlocations
import
TOOLBOXDIR
LONG
=
"HtmlRendering"
LONG
=
"HtmlRendering"
SHORT
=
"html"
SHORT
=
"html"
...
...
Mac/Modules/ibcarbon/IBCarbonscan.py
View file @
aaebdd6a
...
@@ -3,12 +3,9 @@
...
@@ -3,12 +3,9 @@
import
sys
import
sys
import
os
import
os
import
string
import
string
import
MacOS
BGENDIR
=
'/Users/jack/src/python/Tools/bgen/bgen'
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
print
sys
.
path
,
sys
.
prefix
from
bgenlocations
import
TOOLBOXDIR
from
scantools
import
Scanner_OSX
from
scantools
import
Scanner_OSX
...
...
Mac/Modules/icn/icnscan.py
View file @
aaebdd6a
...
@@ -2,10 +2,9 @@
...
@@ -2,10 +2,9 @@
import
sys
import
sys
import
os
import
os
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
scantools
import
Scanner
from
scantools
import
Scanner
from
bgenlocations
import
TOOLBOXDIR
LONG
=
"Icons"
LONG
=
"Icons"
SHORT
=
"icn"
SHORT
=
"icn"
...
...
Mac/Modules/list/listscan.py
View file @
aaebdd6a
...
@@ -2,10 +2,9 @@
...
@@ -2,10 +2,9 @@
import
sys
import
sys
import
os
import
os
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
scantools
import
Scanner
from
scantools
import
Scanner
from
bgenlocations
import
TOOLBOXDIR
LONG
=
"Lists"
LONG
=
"Lists"
SHORT
=
"list"
SHORT
=
"list"
...
...
Mac/Modules/menu/menuscan.py
View file @
aaebdd6a
# Scan <Menus.h>, generating menugen.py.
# Scan <Menus.h>, generating menugen.py.
import
sys
import
sys
import
os
import
os
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
scantools
import
Scanner
from
scantools
import
Scanner
from
bgenlocations
import
TOOLBOXDIR
def
main
():
def
main
():
input
=
"Menus.h"
input
=
"Menus.h"
...
...
Mac/Modules/mlte/mltescan.py
View file @
aaebdd6a
...
@@ -2,10 +2,9 @@
...
@@ -2,10 +2,9 @@
import
sys
import
sys
import
os
import
os
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
scantools
import
Scanner_OSX
from
scantools
import
Scanner_OSX
from
bgenlocations
import
TOOLBOXDIR
LONG
=
"MacTextEditor"
LONG
=
"MacTextEditor"
SHORT
=
"mlte"
SHORT
=
"mlte"
...
...
Mac/Modules/qd/qdscan.py
View file @
aaebdd6a
...
@@ -2,11 +2,10 @@
...
@@ -2,11 +2,10 @@
import
sys
import
sys
import
os
import
os
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
scantools
import
Scanner
from
scantools
import
Scanner
from
bgenlocations
import
TOOLBOXDIR
def
main
():
def
main
():
input
=
"QuickDraw.h"
input
=
"QuickDraw.h"
...
...
Mac/Modules/qdoffs/qdoffsscan.py
View file @
aaebdd6a
# Scan an Apple header file, generating a Python file of generator calls.
# Scan an Apple header file, generating a Python file of generator calls.
import
sys
import
sys
import
os
import
os
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
bgenlocations
import
TOOLBOXDIR
from
scantools
import
Scanner
from
scantools
import
Scanner
...
...
Mac/Modules/qt/qtscan.py
View file @
aaebdd6a
...
@@ -2,10 +2,9 @@
...
@@ -2,10 +2,9 @@
import
sys
import
sys
import
os
import
os
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
scantools
import
Scanner
from
scantools
import
Scanner
from
bgenlocations
import
TOOLBOXDIR
LONG
=
"QuickTime"
LONG
=
"QuickTime"
SHORT
=
"qt"
SHORT
=
"qt"
...
...
Mac/Modules/res/resscan.py
View file @
aaebdd6a
...
@@ -7,9 +7,8 @@ import os
...
@@ -7,9 +7,8 @@ import os
import
string
import
string
import
MacOS
import
MacOS
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
bgenlocations
import
TOOLBOXDIR
from
scantools
import
Scanner
from
scantools
import
Scanner
...
...
Mac/Modules/scrap/scrapscan.py
View file @
aaebdd6a
...
@@ -5,13 +5,9 @@
...
@@ -5,13 +5,9 @@
import
sys
import
sys
import
os
import
os
if
os
.
sep
==
':'
:
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
else
:
BGENDIR
=
"../../../Tools/bgen/bgen"
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
scantools
import
Scanner
from
scantools
import
Scanner
from
bgenlocations
import
TOOLBOXDIR
LONG
=
"Scrap"
LONG
=
"Scrap"
SHORT
=
"scrap"
SHORT
=
"scrap"
...
...
Mac/Modules/snd/sndscan.py
View file @
aaebdd6a
...
@@ -4,9 +4,8 @@
...
@@ -4,9 +4,8 @@
import
sys
import
sys
import
os
import
os
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
bgenlocations
import
TOOLBOXDIR
from
scantools
import
Scanner
from
scantools
import
Scanner
...
...
Mac/Modules/te/tescan.py
View file @
aaebdd6a
...
@@ -2,10 +2,9 @@
...
@@ -2,10 +2,9 @@
import
sys
import
sys
import
os
import
os
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
scantools
import
Scanner
from
scantools
import
Scanner
from
bgenlocations
import
TOOLBOXDIR
LONG
=
"TextEdit"
LONG
=
"TextEdit"
SHORT
=
"te"
SHORT
=
"te"
...
...
Mac/Modules/win/winscan.py
View file @
aaebdd6a
# Scan an Apple header file, generating a Python file of generator calls.
# Scan an Apple header file, generating a Python file of generator calls.
import
sys
import
sys
import
os
import
os
BGENDIR
=
os
.
path
.
join
(
sys
.
prefix
,
':Tools:bgen:bgen'
)
from
bgenlocations
import
TOOLBOXDIR
,
BGENDIR
sys
.
path
.
append
(
BGENDIR
)
sys
.
path
.
append
(
BGENDIR
)
from
bgenlocations
import
TOOLBOXDIR
from
scantools
import
Scanner
from
scantools
import
Scanner
...
...
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