Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
5a8115c9
Kaydet (Commit)
5a8115c9
authored
Ock 29, 2001
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Ported the icglue module to carbon.
üst
13735e3e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
4 deletions
+11
-4
ic.py
Mac/Lib/ic.py
+2
-1
icgluemodule.c
Mac/Modules/icgluemodule.c
+5
-1
mwerks_nscarbon_config.h
Mac/mwerks/mwerks_nscarbon_config.h
+1
-1
fullbuild.py
Mac/scripts/fullbuild.py
+1
-1
genpluginprojects.py
Mac/scripts/genpluginprojects.py
+2
-0
No files found.
Mac/Lib/ic.py
Dosyayı görüntüle @
5a8115c9
...
@@ -162,7 +162,8 @@ class IC:
...
@@ -162,7 +162,8 @@ class IC:
self
.
ic
=
ic
self
.
ic
=
ic
else
:
else
:
self
.
ic
=
icglue
.
ICStart
(
signature
)
self
.
ic
=
icglue
.
ICStart
(
signature
)
self
.
ic
.
ICFindConfigFile
()
if
hasattr
(
self
.
ic
,
'ICFindConfigFile'
):
self
.
ic
.
ICFindConfigFile
()
self
.
h
=
Res
.
Resource
(
''
)
self
.
h
=
Res
.
Resource
(
''
)
def
keys
(
self
):
def
keys
(
self
):
...
...
Mac/Modules/icgluemodule.c
Dosyayı görüntüle @
5a8115c9
...
@@ -69,6 +69,7 @@ staticforward PyTypeObject Icitype;
...
@@ -69,6 +69,7 @@ staticforward PyTypeObject Icitype;
/* ---------------------------------------------------------------- */
/* ---------------------------------------------------------------- */
#if !TARGET_API_MAC_CARBON
static
char
ici_ICFindConfigFile__doc__
[]
=
static
char
ici_ICFindConfigFile__doc__
[]
=
"()->None; Find config file in standard places"
"()->None; Find config file in standard places"
;
;
...
@@ -128,6 +129,7 @@ ici_ICChooseConfig(self, args)
...
@@ -128,6 +129,7 @@ ici_ICChooseConfig(self, args)
Py_INCREF
(
Py_None
);
Py_INCREF
(
Py_None
);
return
Py_None
;
return
Py_None
;
}
}
#endif
/* !TARGET_API_MAC_CARBON */
static
char
ici_ICChooseNewConfig__doc__
[]
=
static
char
ici_ICChooseNewConfig__doc__
[]
=
...
@@ -458,10 +460,12 @@ ici_ICMapTypeCreator(self, args)
...
@@ -458,10 +460,12 @@ ici_ICMapTypeCreator(self, args)
static
struct
PyMethodDef
ici_methods
[]
=
{
static
struct
PyMethodDef
ici_methods
[]
=
{
{
"ICFindConfigFile"
,
(
PyCFunction
)
ici_ICFindConfigFile
,
METH_VARARGS
,
ici_ICFindConfigFile__doc__
},
#if !TARGET_API_MAC_CARBON
{
"ICFindConfigFile"
,
(
PyCFunction
)
ici_ICFindConfigFile
,
METH_VARARGS
,
ici_ICFindConfigFile__doc__
},
{
"ICFindUserConfigFile"
,
(
PyCFunction
)
ici_ICFindUserConfigFile
,
METH_VARARGS
,
ici_ICFindUserConfigFile__doc__
},
{
"ICFindUserConfigFile"
,
(
PyCFunction
)
ici_ICFindUserConfigFile
,
METH_VARARGS
,
ici_ICFindUserConfigFile__doc__
},
{
"ICChooseConfig"
,
(
PyCFunction
)
ici_ICChooseConfig
,
METH_VARARGS
,
ici_ICChooseConfig__doc__
},
{
"ICChooseConfig"
,
(
PyCFunction
)
ici_ICChooseConfig
,
METH_VARARGS
,
ici_ICChooseConfig__doc__
},
{
"ICChooseNewConfig"
,
(
PyCFunction
)
ici_ICChooseNewConfig
,
METH_VARARGS
,
ici_ICChooseNewConfig__doc__
},
{
"ICChooseNewConfig"
,
(
PyCFunction
)
ici_ICChooseNewConfig
,
METH_VARARGS
,
ici_ICChooseNewConfig__doc__
},
#endif
/* !TARGET_API_MAC_CARBON */
{
"ICGetSeed"
,
(
PyCFunction
)
ici_ICGetSeed
,
METH_VARARGS
,
ici_ICGetSeed__doc__
},
{
"ICGetSeed"
,
(
PyCFunction
)
ici_ICGetSeed
,
METH_VARARGS
,
ici_ICGetSeed__doc__
},
{
"ICBegin"
,
(
PyCFunction
)
ici_ICBegin
,
METH_VARARGS
,
ici_ICBegin__doc__
},
{
"ICBegin"
,
(
PyCFunction
)
ici_ICBegin
,
METH_VARARGS
,
ici_ICBegin__doc__
},
{
"ICFindPrefHandle"
,
(
PyCFunction
)
ici_ICFindPrefHandle
,
METH_VARARGS
,
ici_ICFindPrefHandle__doc__
},
{
"ICFindPrefHandle"
,
(
PyCFunction
)
ici_ICFindPrefHandle
,
METH_VARARGS
,
ici_ICFindPrefHandle__doc__
},
...
...
Mac/mwerks/mwerks_nscarbon_config.h
Dosyayı görüntüle @
5a8115c9
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
/* #define HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */
/* #define HAVE_DYNAMIC_LOADING /* Enable dynamically loaded modules */
#define USE_GDBM
/* Include the gdbm module */
#define USE_GDBM
/* Include the gdbm module */
#define USE_ZLIB
/* Include the zlib module */
#define USE_ZLIB
/* Include the zlib module */
/*
#define USE_IC /* Include Internet Config module */
#define USE_IC
/* Include Internet Config module */
#define USE_PYEXPAT
/* Include Pyexpat module */
#define USE_PYEXPAT
/* Include Pyexpat module */
#define USE_APPEARANCE
/* Enable Appearance support */
#define USE_APPEARANCE
/* Enable Appearance support */
#define USE_MSL_MALLOC
/* Disable private malloc. Also disables next two defines */
#define USE_MSL_MALLOC
/* Disable private malloc. Also disables next two defines */
...
...
Mac/scripts/fullbuild.py
Dosyayı görüntüle @
5a8115c9
...
@@ -249,7 +249,7 @@ I_CARBON_PLUGINS : (buildmwproject, "CWIE", [
...
@@ -249,7 +249,7 @@ I_CARBON_PLUGINS : (buildmwproject, "CWIE", [
(
":Mac:Build:pyexpat.carbon.mcp"
,
"pyexpat.carbon"
),
(
":Mac:Build:pyexpat.carbon.mcp"
,
"pyexpat.carbon"
),
(
":Mac:Build:calldll.carbon.mcp"
,
"calldll.carbon"
),
(
":Mac:Build:calldll.carbon.mcp"
,
"calldll.carbon"
),
(
":Mac:Build:gdbm.carbon.mcp"
,
"gdbm.carbon"
),
(
":Mac:Build:gdbm.carbon.mcp"
,
"gdbm.carbon"
),
##
(":Mac:Build:icglue.carbon.mcp", "icglue.carbon"),
(
":Mac:Build:icglue.carbon.mcp"
,
"icglue.carbon"
),
(
":Mac:Build:waste.carbon.mcp"
,
"waste.carbon"
),
(
":Mac:Build:waste.carbon.mcp"
,
"waste.carbon"
),
(
":Mac:Build:zlib.carbon.mcp"
,
"zlib.carbon"
),
(
":Mac:Build:zlib.carbon.mcp"
,
"zlib.carbon"
),
## (":Mac:Build:_tkinter.mcp", "_tkinter.carbon"),
## (":Mac:Build:_tkinter.mcp", "_tkinter.carbon"),
...
...
Mac/scripts/genpluginprojects.py
Dosyayı görüntüle @
5a8115c9
...
@@ -174,6 +174,8 @@ def genallprojects(force=0):
...
@@ -174,6 +174,8 @@ def genallprojects(force=0):
genpluginproject
(
"ppc"
,
"icglue"
,
sources
=
[
"icgluemodule.c"
],
genpluginproject
(
"ppc"
,
"icglue"
,
sources
=
[
"icgluemodule.c"
],
libraries
=
[
"ICGlueCFM-PPC.lib"
],
libraries
=
[
"ICGlueCFM-PPC.lib"
],
extradirs
=
[
"::::ICProgKit1.4:APIs"
])
extradirs
=
[
"::::ICProgKit1.4:APIs"
])
genpluginproject
(
"carbon"
,
"icglue"
,
sources
=
[
"icgluemodule.c"
],
extradirs
=
[
"::::ICProgKit1.4:APIs"
])
genpluginproject
(
"ppc"
,
"macspeech"
,
libraries
=
[
"SpeechLib"
])
genpluginproject
(
"ppc"
,
"macspeech"
,
libraries
=
[
"SpeechLib"
])
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
...
...
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