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
67ff6d99
Kaydet (Commit)
67ff6d99
authored
Ara 06, 2003
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Finished update to UH 3.4.2.
üst
da78a5d5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
75 additions
and
14 deletions
+75
-14
_CarbonEvtmodule.c
Mac/Modules/carbonevt/_CarbonEvtmodule.c
+33
-0
_Helpmodule.c
Mac/Modules/help/_Helpmodule.c
+15
-0
_Menumodule.c
Mac/Modules/menu/_Menumodule.c
+14
-14
_Qdmodule.c
Mac/Modules/qd/_Qdmodule.c
+0
-0
qdscan.py
Mac/Modules/qd/qdscan.py
+13
-0
No files found.
Mac/Modules/carbonevt/_CarbonEvtmodule.c
Dosyayı görüntüle @
67ff6d99
...
...
@@ -1750,6 +1750,35 @@ static PyObject *CarbonEvents_GetLastUserEventTime(PyObject *_self, PyObject *_a
return
_res
;
}
static
PyObject
*
CarbonEvents_IsMouseCoalescingEnabled
(
PyObject
*
_self
,
PyObject
*
_args
)
{
PyObject
*
_res
=
NULL
;
Boolean
_rv
;
if
(
!
PyArg_ParseTuple
(
_args
,
""
))
return
NULL
;
_rv
=
IsMouseCoalescingEnabled
();
_res
=
Py_BuildValue
(
"b"
,
_rv
);
return
_res
;
}
static
PyObject
*
CarbonEvents_SetMouseCoalescingEnabled
(
PyObject
*
_self
,
PyObject
*
_args
)
{
PyObject
*
_res
=
NULL
;
OSStatus
_err
;
Boolean
inNewState
;
Boolean
outOldState
;
if
(
!
PyArg_ParseTuple
(
_args
,
"b"
,
&
inNewState
))
return
NULL
;
_err
=
SetMouseCoalescingEnabled
(
inNewState
,
&
outOldState
);
if
(
_err
!=
noErr
)
return
PyMac_Error
(
_err
);
_res
=
Py_BuildValue
(
"b"
,
outOldState
);
return
_res
;
}
static
PyObject
*
CarbonEvents_GetWindowEventTarget
(
PyObject
*
_self
,
PyObject
*
_args
)
{
PyObject
*
_res
=
NULL
;
...
...
@@ -2059,6 +2088,10 @@ static PyMethodDef CarbonEvents_methods[] = {
PyDoc_STR
(
"(GrafPtr inPort, RgnHandle inRegion, Boolean ioWasInRgn) -> (Boolean ioWasInRgn, UInt16 outResult)"
)},
{
"GetLastUserEventTime"
,
(
PyCFunction
)
CarbonEvents_GetLastUserEventTime
,
1
,
PyDoc_STR
(
"() -> (double _rv)"
)},
{
"IsMouseCoalescingEnabled"
,
(
PyCFunction
)
CarbonEvents_IsMouseCoalescingEnabled
,
1
,
PyDoc_STR
(
"() -> (Boolean _rv)"
)},
{
"SetMouseCoalescingEnabled"
,
(
PyCFunction
)
CarbonEvents_SetMouseCoalescingEnabled
,
1
,
PyDoc_STR
(
"(Boolean inNewState) -> (Boolean outOldState)"
)},
{
"GetWindowEventTarget"
,
(
PyCFunction
)
CarbonEvents_GetWindowEventTarget
,
1
,
PyDoc_STR
(
"(WindowPtr inWindow) -> (EventTargetRef _rv)"
)},
{
"GetControlEventTarget"
,
(
PyCFunction
)
CarbonEvents_GetControlEventTarget
,
1
,
...
...
Mac/Modules/help/_Helpmodule.c
Dosyayı görüntüle @
67ff6d99
...
...
@@ -131,6 +131,19 @@ static PyObject *Help_HMSetDialogHelpFromBalloonRsrc(PyObject *_self, PyObject *
return
_res
;
}
static
PyObject
*
Help_HMHideTag
(
PyObject
*
_self
,
PyObject
*
_args
)
{
PyObject
*
_res
=
NULL
;
OSStatus
_err
;
if
(
!
PyArg_ParseTuple
(
_args
,
""
))
return
NULL
;
_err
=
HMHideTag
();
if
(
_err
!=
noErr
)
return
PyMac_Error
(
_err
);
Py_INCREF
(
Py_None
);
_res
=
Py_None
;
return
_res
;
}
static
PyMethodDef
Help_methods
[]
=
{
{
"HMGetHelpMenu"
,
(
PyCFunction
)
Help_HMGetHelpMenu
,
1
,
PyDoc_STR
(
"() -> (MenuRef outHelpMenu, MenuItemIndex outFirstCustomItemIndex)"
)},
...
...
@@ -146,6 +159,8 @@ static PyMethodDef Help_methods[] = {
PyDoc_STR
(
"(MenuRef inMenu, SInt16 inHmnuRsrcID) -> None"
)},
{
"HMSetDialogHelpFromBalloonRsrc"
,
(
PyCFunction
)
Help_HMSetDialogHelpFromBalloonRsrc
,
1
,
PyDoc_STR
(
"(DialogPtr inDialog, SInt16 inHdlgRsrcID, SInt16 inItemStart) -> None"
)},
{
"HMHideTag"
,
(
PyCFunction
)
Help_HMHideTag
,
1
,
PyDoc_STR
(
"() -> None"
)},
{
NULL
,
NULL
,
0
}
};
...
...
Mac/Modules/menu/_Menumodule.c
Dosyayı görüntüle @
67ff6d99
...
...
@@ -120,14 +120,14 @@ static PyObject *MenuObj_CalcMenuSize(MenuObject *_self, PyObject *_args)
static
PyObject
*
MenuObj_CountMenuItems
(
MenuObject
*
_self
,
PyObject
*
_args
)
{
PyObject
*
_res
=
NULL
;
short
_rv
;
UInt16
_rv
;
#ifndef CountMenuItems
PyMac_PRECHECK
(
CountMenuItems
);
#endif
if
(
!
PyArg_ParseTuple
(
_args
,
""
))
return
NULL
;
_rv
=
CountMenuItems
(
_self
->
ob_itself
);
_res
=
Py_BuildValue
(
"
h
"
,
_res
=
Py_BuildValue
(
"
H
"
,
_rv
);
return
_res
;
}
...
...
@@ -1973,15 +1973,15 @@ static PyObject *MenuObj_IsMenuItemInvalid(MenuObject *_self, PyObject *_args)
{
PyObject
*
_res
=
NULL
;
Boolean
_rv
;
MenuItemIndex
item
;
MenuItemIndex
i
nI
tem
;
#ifndef IsMenuItemInvalid
PyMac_PRECHECK
(
IsMenuItemInvalid
);
#endif
if
(
!
PyArg_ParseTuple
(
_args
,
"h"
,
&
item
))
&
i
nI
tem
))
return
NULL
;
_rv
=
IsMenuItemInvalid
(
_self
->
ob_itself
,
item
);
i
nI
tem
);
_res
=
Py_BuildValue
(
"b"
,
_rv
);
return
_res
;
...
...
@@ -1991,18 +1991,18 @@ static PyObject *MenuObj_InvalidateMenuItems(MenuObject *_self, PyObject *_args)
{
PyObject
*
_res
=
NULL
;
OSStatus
_err
;
MenuItemIndex
f
irstItem
;
ItemCount
n
umItems
;
MenuItemIndex
inF
irstItem
;
ItemCount
inN
umItems
;
#ifndef InvalidateMenuItems
PyMac_PRECHECK
(
InvalidateMenuItems
);
#endif
if
(
!
PyArg_ParseTuple
(
_args
,
"hl"
,
&
f
irstItem
,
&
n
umItems
))
&
inF
irstItem
,
&
inN
umItems
))
return
NULL
;
_err
=
InvalidateMenuItems
(
_self
->
ob_itself
,
f
irstItem
,
n
umItems
);
inF
irstItem
,
inN
umItems
);
if
(
_err
!=
noErr
)
return
PyMac_Error
(
_err
);
Py_INCREF
(
Py_None
);
_res
=
Py_None
;
...
...
@@ -2302,7 +2302,7 @@ static PyMethodDef MenuObj_methods[] = {
{
"CalcMenuSize"
,
(
PyCFunction
)
MenuObj_CalcMenuSize
,
1
,
PyDoc_STR
(
"() -> None"
)},
{
"CountMenuItems"
,
(
PyCFunction
)
MenuObj_CountMenuItems
,
1
,
PyDoc_STR
(
"() -> (
short
_rv)"
)},
PyDoc_STR
(
"() -> (
UInt16
_rv)"
)},
{
"GetMenuFont"
,
(
PyCFunction
)
MenuObj_GetMenuFont
,
1
,
PyDoc_STR
(
"() -> (SInt16 outFontID, UInt16 outFontSize)"
)},
{
"SetMenuFont"
,
(
PyCFunction
)
MenuObj_SetMenuFont
,
1
,
...
...
@@ -2486,9 +2486,9 @@ static PyMethodDef MenuObj_methods[] = {
{
"RemoveMenuCommandProperty"
,
(
PyCFunction
)
MenuObj_RemoveMenuCommandProperty
,
1
,
PyDoc_STR
(
"(MenuCommand inCommandID, OSType inPropertyCreator, OSType inPropertyTag) -> None"
)},
{
"IsMenuItemInvalid"
,
(
PyCFunction
)
MenuObj_IsMenuItemInvalid
,
1
,
PyDoc_STR
(
"(MenuItemIndex item) -> (Boolean _rv)"
)},
PyDoc_STR
(
"(MenuItemIndex i
nI
tem) -> (Boolean _rv)"
)},
{
"InvalidateMenuItems"
,
(
PyCFunction
)
MenuObj_InvalidateMenuItems
,
1
,
PyDoc_STR
(
"(MenuItemIndex
firstItem, ItemCount n
umItems) -> None"
)},
PyDoc_STR
(
"(MenuItemIndex
inFirstItem, ItemCount inN
umItems) -> None"
)},
{
"UpdateInvalidMenuItems"
,
(
PyCFunction
)
MenuObj_UpdateInvalidMenuItems
,
1
,
PyDoc_STR
(
"() -> None"
)},
{
"CreateStandardFontMenu"
,
(
PyCFunction
)
MenuObj_CreateStandardFontMenu
,
1
,
...
...
Mac/Modules/qd/_Qdmodule.c
Dosyayı görüntüle @
67ff6d99
This diff is collapsed.
Click to expand it.
Mac/Modules/qd/qdscan.py
Dosyayı görüntüle @
67ff6d99
...
...
@@ -120,6 +120,7 @@ extend = 0x40
def
makeblacklisttypes
(
self
):
return
[
"QDRegionBitsRef"
,
# Should do this, but too lazy now.
'CIconHandle'
,
# Obsolete
'CQDProcs'
,
'CQDProcsPtr'
,
...
...
@@ -216,6 +217,18 @@ extend = 0x40
([(
'Pattern_ptr'
,
'*'
,
'ReturnMode'
)],
[(
'void'
,
'*'
,
'ReturnMode'
)]),
([(
'Point_ptr'
,
'QDLocalToGlobalPoint'
,
'ReturnMode'
)],
[(
'void'
,
'*'
,
'ReturnMode'
)]),
([(
'Rect_ptr'
,
'QDLocalToGlobalRect'
,
'ReturnMode'
)],
[(
'void'
,
'*'
,
'ReturnMode'
)]),
([(
'Point_ptr'
,
'QDGlobalToLocalPoint'
,
'ReturnMode'
)],
[(
'void'
,
'*'
,
'ReturnMode'
)]),
([(
'Rect_ptr'
,
'QDGlobalToLocalRect'
,
'ReturnMode'
)],
[(
'void'
,
'*'
,
'ReturnMode'
)]),
]
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