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
b280e2ba
Kaydet (Commit)
b280e2ba
authored
Ara 23, 1996
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Moved resources around to forestall conflicts with debuggee
üst
3097463e
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
20 additions
and
17 deletions
+20
-17
TwitCore.py
Mac/Tools/twit/TwitCore.py
+5
-5
mac_widgets.py
Mac/Tools/twit/mac_widgets.py
+6
-3
mactwit_app.py
Mac/Tools/twit/mactwit_app.py
+2
-2
mactwit_browser.py
Mac/Tools/twit/mactwit_browser.py
+2
-2
mactwit_mod.py
Mac/Tools/twit/mactwit_mod.py
+1
-1
mactwit_stack.py
Mac/Tools/twit/mactwit_stack.py
+1
-1
twit.py
Mac/Tools/twit/twit.py
+1
-1
twit.rsrc.hqx
Mac/Tools/twit/twit.rsrc.hqx
+2
-2
No files found.
Mac/Tools/twit/TwitCore.py
Dosyayı görüntüle @
b280e2ba
...
...
@@ -15,11 +15,11 @@ SIMPLE_TYPES=(
)
# XXXX Mac-specific
ICON_NORMAL
=
5
12
ICON_RETURN
=
5
15
ICON_CALL
=
5
16
ICON_ZERO
=
5
17
ICON_DEAD
=
5
18
ICON_NORMAL
=
5
00
ICON_RETURN
=
5
03
ICON_CALL
=
5
04
ICON_ZERO
=
5
05
ICON_DEAD
=
5
06
class
DebuggerStuff
(
bdb
.
Bdb
):
...
...
Mac/Tools/twit/mac_widgets.py
Dosyayı görüntüle @
b280e2ba
...
...
@@ -17,7 +17,10 @@ TEXTWIDTH=4096 # More-or-less random value
TEXTFONT
=
4
TEXTSIZE
=
9
PIC_BREAK
=
513
# Resource numbers
PIC_CURRENT
=
500
PIC_BREAK
=
501
picture_cache
=
{}
class
MT_TextWidget
:
...
...
@@ -184,14 +187,14 @@ class MT_IconTextWidget(MT_TextWidget):
self
.
terect
[
0
]
-
1
,
self
.
rect
[
3
]
-
SCROLLBAR
)
self
.
curlinerange
=
(
self
.
terect
[
1
]
+
self
.
ted
.
lineHeight
,
self
.
terect
[
3
]
-
2
*
self
.
ted
.
lineHeight
)
self
.
piccurrent
=
512
self
.
piccurrent
=
PIC_CURRENT
def
setbreaks
(
self
,
list
):
self
.
breakpointlist
=
list
[:]
Qd
.
SetPort
(
self
.
wid
)
Win
.
InvalRect
(
self
.
iconrect
)
def
setcurline
(
self
,
line
,
pic
=
512
):
def
setcurline
(
self
,
line
,
pic
=
PIC_CURRENT
):
self
.
curline
=
line
self
.
piccurrent
=
pic
Qd
.
SetPort
(
self
.
wid
)
...
...
Mac/Tools/twit/mactwit_app.py
Dosyayı görüntüle @
b280e2ba
...
...
@@ -20,9 +20,9 @@ import macfs
import
string
# Resource-id (for checking existence)
ID_MODULES
=
5
12
ID_MODULES
=
5
00
ID_ABOUT
=
5
15
ID_ABOUT
=
5
02
_arrow
=
Qd
.
qd
.
arrow
_watch
=
Qd
.
GetCursor
(
4
)
.
data
...
...
Mac/Tools/twit/mactwit_browser.py
Dosyayı görüntüle @
b280e2ba
...
...
@@ -27,7 +27,7 @@ import Res
import
Qd
import
List
import
sys
from
t
ypes
import
*
from
T
ypes
import
*
from
QuickDraw
import
*
import
string
import
time
...
...
@@ -37,7 +37,7 @@ import os
start_object
=
sys
# Resource definitions
ID_MAIN
=
5
16
ID_MAIN
=
5
03
NUM_LISTS
=
4
# the number of lists used. could be changed, but the dlg item numbers should be consistent
MAIN_TITLE
=
3
# this is only the first text item, the other three ID's should be 5, 7 and 9
MAIN_LIST
=
4
# this is only the first list, the other three ID's should be 6, 8 and 10
...
...
Mac/Tools/twit/mactwit_mod.py
Dosyayı görüntüle @
b280e2ba
...
...
@@ -10,7 +10,7 @@ import TwitCore
from
mac_widgets
import
MT_AnyList
,
MT_IconTextWidget
# Our dialogs
ID_MODULES
=
5
12
ID_MODULES
=
5
00
I_MODULES_TITLE
=
1
I_MODULES
=
2
I_VARS_TITLE
=
3
...
...
Mac/Tools/twit/mactwit_stack.py
Dosyayı görüntüle @
b280e2ba
...
...
@@ -10,7 +10,7 @@ import TwitCore
from
mac_widgets
import
MT_AnyList
,
MT_IndexList
,
MT_IconTextWidget
# Our dialogs
ID_STACK
=
5
13
ID_STACK
=
5
01
I_STACK_TITLE
=
1
I_STACK
=
2
I_VARS_TITLE
=
3
...
...
Mac/Tools/twit/twit.py
Dosyayı görüntüle @
b280e2ba
...
...
@@ -20,7 +20,7 @@ if not dirname in sys.path:
if
os
.
name
==
'mac'
:
import
MacOS
MacOS
.
splash
(
5
15
)
# Try to show the splash screen
MacOS
.
splash
(
5
02
)
# Try to show the splash screen
import
mactwit_app
;
twit_app
=
mactwit_app
else
:
try
:
...
...
Mac/Tools/twit/twit.rsrc.hqx
Dosyayı görüntüle @
b280e2ba
...
...
@@ -2,7 +2,7 @@
:#A4hDA3ZFR0bB`"bFh*M8P0&4!%!N!HdV-5P!*!%!3!!!,)5!!#a%J!!!TS!!!$
`DIrr)"H6)!!#JH$`Drrr)"H8*!#3"2"[rrmJ#A4hDA3ZFR0bB`)!!!!rN!J!N!`
rN!J!N"LZ
US!V
!*!'Y+`!m(Errb!AR%3!N!6`Grrr)"HG5!#3"2"irrmJ&jj-!*!
rN!J!N"LZ
aQ0F
!*!'Y+`!m(Errb!AR%3!N!6`Grrr)"HG5!#3"2"irrmJ&jj-!*!
%m(Rrrb!ARe!!N!6`H[rr)"HJ9!#3"2"lrrmJ&k&B!*!%m(crrf!ASP`!N!6`IIr
r)"HMB!#3"2#!rrmJ&k4N!*!&!rrr)"HPD!!#G#LrK2rr)"G2)!#3"#S!6!"S!AJ
#'J!%!3!"!*!&!J!99(GTG#!Y)%e[C(9XC5"LFQphFf9b!!!!,`!U!"!"``(8!!3
...
...
@@ -922,4 +922,4 @@ UD@0c)`!!!EC659T&!!!"`J)!N!88+3*%8Q`#!3!2!!!8Z`*%8R3#!`"I!!!5R!*
08h4KBfXJBR*[Gh0PFJe6G'&MDb"LFQphFf9b$Ne[C(9XC5"LFQphFf9b"8&bFQp
h#Q*bC@&VF'pTER3*3@*[GA3JBQpi#8&LEh9d)'*[H!P"BQpeG#"LEhJ16@pNG@a
P)'*bEhGcCA)08h4KBfXJBR*[Gh0PFJY@BA)JBR*[Gh0PFJj#FQphFf9b)(GTEQ4
[G`j2GfjPFL"bCA0[GA*MC
8aE
:
[G`j2GfjPFL"bCA0[GA*MC
F65
:
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