[Python-checkins] CVS: python/dist/src/Tools/idle CallTipWindow.py,1.2,1.3 CallTips.py,1.7,1.8 ClassBrowser.py,1.11,1.12 Debugger.py,1.14,1.15 Delegator.py,1.2,1.3 FileList.py,1.7,1.8 FormatParagraph.py,1.8,1.9 IdleConf.py,1.5,1.6 IdleHistory.py,1.3,1.4 MultiScrolledLists.py,1.1,1.2 MultiStatusBar.py,1.1,1.2 OutputWindow.py,1.4,1.5 ParenMatch.py,1.4,1.5 PathBrowser.py,1.5,1.6 PyShell.py,1.30,1.31 RemoteInterp.py,1.1,1.2 ScriptBinding.py,1.9,1.10 ScrolledList.py,1.4,1.5 Separator.py,1.2,1.3 StackViewer.py,1.14,1.15 ToolTip.py,1.1,1.2 WindowList.py,1.7,1.8
Tim Peters
tim_one@users.sourceforge.net
Wed, 17 Jan 2001 00:48:41 -0800
- Previous message: [Python-checkins] CVS: python/dist/src/Lib shlex.py,1.13,1.14
- Next message: [Python-checkins] CVS: python/dist/src/Tools/scripts byteyears.py,1.6,1.7 checkpyc.py,1.8,1.9 classfix.py,1.9,1.10 copytime.py,1.4,1.5 dutree.py,1.8,1.9 findlinksto.py,1.7,1.8 fixcid.py,1.7,1.8 fixheader.py,1.2,1.3 fixps.py,1.4,1.5 ftpmirror.py,1.12,1.13 gencodec.py,1.4,1.5 h2py.py,1.11,1.12 ifdef.py,1.3,1.4 linktree.py,1.5,1.6 lll.py,1.4,1.5 logmerge.py,1.5,1.6 mailerdaemon.py,1.8,1.9 methfix.py,1.4,1.5 mkreal.py,1.5,1.6 ndiff.py,1.6,1.7 nm2def.py,1.3,1.4 objgraph.py,1.4,1.5 parseentities.py,1.2,1.3 pathfix.py,1.2,1.3 pdeps.py,1.4,1.5 pindent.py,1.9,1.10 ptags.py,1.6,1.7 redemo.py,1.1,1.2 suff.py,1.4,1.5 sum5.py,1.2,1.3 texi2html.py,1.11,1.12 trace.py,1.2,1.3 treesync.py,1.4,1.5 which.py,1.8,1.9 xxci.py,1.13,1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Tools/idle
In directory usw-pr-cvs1:/tmp/cvs-serv17810/python/dist/src/Tools/idle
Modified Files:
CallTipWindow.py CallTips.py ClassBrowser.py Debugger.py
Delegator.py FileList.py FormatParagraph.py IdleConf.py
IdleHistory.py MultiScrolledLists.py MultiStatusBar.py
OutputWindow.py ParenMatch.py PathBrowser.py PyShell.py
RemoteInterp.py ScriptBinding.py ScrolledList.py Separator.py
StackViewer.py ToolTip.py WindowList.py
Log Message:
Whitespace normalization.
Index: CallTipWindow.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/CallTipWindow.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** CallTipWindow.py 1999/06/10 14:19:46 1.2
--- CallTipWindow.py 2001/01/17 08:48:39 1.3
***************
*** 29,33 ****
font = self.widget['font'])
label.pack()
!
def hidetip(self):
tw = self.tipwindow
--- 29,33 ----
font = self.widget['font'])
label.pack()
!
def hidetip(self):
tw = self.tipwindow
***************
*** 54,58 ****
text.bind("<<calltip-show>>", self.calltip_show)
text.bind("<<calltip-hide>>", self.calltip_hide)
!
text.focus_set()
# root.mainloop() # not in idle
--- 54,58 ----
text.bind("<<calltip-show>>", self.calltip_show)
text.bind("<<calltip-hide>>", self.calltip_hide)
!
text.focus_set()
# root.mainloop() # not in idle
Index: CallTips.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/CallTips.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** CallTips.py 1999/06/25 16:00:29 1.7
--- CallTips.py 2001/01/17 08:48:39 1.8
***************
*** 46,50 ****
self.calltip.hidetip()
self.calltip = None
!
def paren_open_event(self, event):
self._remove_calltip_window()
--- 46,50 ----
self.calltip.hidetip()
self.calltip = None
!
def paren_open_event(self, event):
self._remove_calltip_window()
***************
*** 92,98 ****
namespace.update(__main__.__dict__)
try:
! return eval(word, namespace)
except:
! pass
return None # Can't find an object.
--- 92,98 ----
namespace.update(__main__.__dict__)
try:
! return eval(word, namespace)
except:
! pass
return None # Can't find an object.
Index: ClassBrowser.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/ClassBrowser.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** ClassBrowser.py 2000/02/15 18:02:11 1.11
--- ClassBrowser.py 2001/01/17 08:48:39 1.12
***************
*** 93,97 ****
def IsExpandable(self):
return os.path.normcase(self.file[-3:]) == ".py"
!
def listclasses(self):
dir, file = os.path.split(self.file)
--- 93,97 ----
def IsExpandable(self):
return os.path.normcase(self.file[-3:]) == ".py"
!
def listclasses(self):
dir, file = os.path.split(self.file)
Index: Debugger.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/Debugger.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** Debugger.py 1999/06/25 17:25:22 1.14
--- Debugger.py 2001/01/17 08:48:39 1.15
***************
*** 18,22 ****
self.pyshell = pyshell
self.make_gui()
!
def canonic(self, filename):
# Canonicalize filename -- called by Bdb
--- 18,22 ----
self.pyshell = pyshell
self.make_gui()
!
def canonic(self, filename):
# Canonicalize filename -- called by Bdb
***************
*** 300,308 ****
line = linecache.getline(filename, lineno)
if not line:
! return 'That line does not exist!'
if not self.breaks.has_key(filename):
! self.breaks[filename] = []
list = self.breaks[filename]
if not lineno in list:
! list.append(lineno)
bp = bdb.Breakpoint(filename, lineno, temporary, cond)
--- 300,308 ----
line = linecache.getline(filename, lineno)
if not line:
! return 'That line does not exist!'
if not self.breaks.has_key(filename):
! self.breaks[filename] = []
list = self.breaks[filename]
if not lineno in list:
! list.append(lineno)
bp = bdb.Breakpoint(filename, lineno, temporary, cond)
Index: Delegator.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/Delegator.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** Delegator.py 1999/01/02 21:28:23 1.2
--- Delegator.py 2001/01/17 08:48:39 1.3
***************
*** 1,3 ****
-
class Delegator:
--- 1,2 ----
Index: FileList.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/FileList.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** FileList.py 1999/01/28 22:24:30 1.7
--- FileList.py 2001/01/17 08:48:39 1.8
***************
*** 27,36 ****
def goodname(self, filename):
! filename = self.canonize(filename)
! key = os.path.normcase(filename)
! if self.dict.has_key(key):
! edit = self.dict[key]
! filename = edit.io.filename or filename
! return filename
def open(self, filename):
--- 27,36 ----
def goodname(self, filename):
! filename = self.canonize(filename)
! key = os.path.normcase(filename)
! if self.dict.has_key(key):
! edit = self.dict[key]
! filename = edit.io.filename or filename
! return filename
def open(self, filename):
Index: FormatParagraph.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/FormatParagraph.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** FormatParagraph.py 1999/06/25 16:01:18 1.8
--- FormatParagraph.py 2001/01/17 08:48:39 1.9
***************
*** 29,36 ****
'<<format-paragraph>>': ['<Alt-q>'],
}
!
unix_keydefs = {
'<<format-paragraph>>': ['<Meta-q>'],
! }
def __init__(self, editwin):
--- 29,36 ----
'<<format-paragraph>>': ['<Alt-q>'],
}
!
unix_keydefs = {
'<<format-paragraph>>': ['<Meta-q>'],
! }
def __init__(self, editwin):
Index: IdleConf.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/IdleConf.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** IdleConf.py 2000/03/07 17:55:32 1.5
--- IdleConf.py 2001/01/17 08:48:39 1.6
***************
*** 11,15 ****
for section in ('EditorWindow', 'Colors'):
builtin_sections[section] = section
!
def getcolor(self, sec, name):
"""Return a dictionary with foreground and background colors
--- 11,15 ----
for section in ('EditorWindow', 'Colors'):
builtin_sections[section] = section
!
def getcolor(self, sec, name):
"""Return a dictionary with foreground and background colors
***************
*** 18,23 ****
a tag_config call.
"""
! fore = self.getdef(sec, name + "-foreground")
! back = self.getdef(sec, name + "-background")
return {"foreground": fore,
"background": back}
--- 18,23 ----
a tag_config call.
"""
! fore = self.getdef(sec, name + "-foreground")
! back = self.getdef(sec, name + "-background")
return {"foreground": fore,
"background": back}
***************
*** 25,32 ****
def getdef(self, sec, options, raw=0, vars=None, default=None):
"""Get an option value for given section or return default"""
! try:
return self.get(sec, options, raw, vars)
! except (NoSectionError, NoOptionError):
! return default
def getsection(self, section):
--- 25,32 ----
def getdef(self, sec, options, raw=0, vars=None, default=None):
"""Get an option value for given section or return default"""
! try:
return self.get(sec, options, raw, vars)
! except (NoSectionError, NoOptionError):
! return default
def getsection(self, section):
***************
*** 38,45 ****
for sec in self.sections():
if self.builtin_sections.has_key(sec):
! continue
! # enable is a bool, but it may not be defined
! if self.getdef(sec, 'enable') != '0':
! exts.append(sec)
return exts
--- 38,45 ----
for sec in self.sections():
if self.builtin_sections.has_key(sec):
! continue
! # enable is a bool, but it may not be defined
! if self.getdef(sec, 'enable') != '0':
! exts.append(sec)
return exts
***************
*** 70,77 ****
def getint(self, option):
return self.config.getint(self.section, option)
!
def getfloat(self, option):
return self.config.getint(self.section, option)
!
def getboolean(self, option):
return self.config.getint(self.section, option)
--- 70,77 ----
def getint(self, option):
return self.config.getint(self.section, option)
!
def getfloat(self, option):
return self.config.getint(self.section, option)
!
def getboolean(self, option):
return self.config.getint(self.section, option)
***************
*** 99,103 ****
else:
genplatfile = os.path.join(dir, "config-unix.txt")
!
platfile = os.path.join(dir, "config-%s.txt" % sys.platform)
--- 99,103 ----
else:
genplatfile = os.path.join(dir, "config-unix.txt")
!
platfile = os.path.join(dir, "config-%s.txt" % sys.platform)
***************
*** 111,113 ****
idleconf = IdleConfParser()
-
--- 111,112 ----
Index: IdleHistory.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/IdleHistory.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** IdleHistory.py 1999/06/02 12:06:47 1.3
--- IdleHistory.py 2001/01/17 08:48:39 1.4
***************
*** 87,89 ****
self.text.insert("insert", s)
self.text.see("insert")
-
--- 87,88 ----
Index: MultiScrolledLists.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/MultiScrolledLists.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** MultiScrolledLists.py 1999/03/10 05:13:29 1.1
--- MultiScrolledLists.py 2001/01/17 08:48:39 1.2
***************
*** 11,15 ****
class MultiScrolledLists:
!
def __init__(self, root, nlists=2):
assert nlists >= 1
--- 11,15 ----
class MultiScrolledLists:
!
def __init__(self, root, nlists=2):
assert nlists >= 1
***************
*** 52,66 ****
# XXX one after_idle isn't enough; two are...
top.after_idle(self.call_pack_propagate_1)
!
def call_pack_propagate_1(self):
self.top.after_idle(self.call_pack_propagate)
!
def call_pack_propagate(self):
for frame in self.frames:
frame.pack_propagate(0)
!
def close(self, event=None):
self.top.destroy()
!
def settitle(self):
short = self.shorttitle()
--- 52,66 ----
# XXX one after_idle isn't enough; two are...
top.after_idle(self.call_pack_propagate_1)
!
def call_pack_propagate_1(self):
self.top.after_idle(self.call_pack_propagate)
!
def call_pack_propagate(self):
for frame in self.frames:
frame.pack_propagate(0)
!
def close(self, event=None):
self.top.destroy()
!
def settitle(self):
short = self.shorttitle()
***************
*** 81,101 ****
# override this
return "Multi Scrolled Lists"
!
def shorttitle(self):
# override this
return None
!
def width(self, i):
# override this
return 20
!
def height(self, i):
# override this
return 10
!
def subtitle(self, i):
# override this
return "Column %d" % i
!
def fill(self, i):
for k in range(i, self.nlists):
--- 81,101 ----
# override this
return "Multi Scrolled Lists"
!
def shorttitle(self):
# override this
return None
!
def width(self, i):
# override this
return 20
!
def height(self, i):
# override this
return 10
!
def subtitle(self, i):
# override this
return "Column %d" % i
!
def fill(self, i):
for k in range(i, self.nlists):
***************
*** 106,110 ****
for s in l:
list.append(s)
!
def on_select(self, index, i):
item = self.lists[i].get(index)
--- 106,110 ----
for s in l:
list.append(s)
!
def on_select(self, index, i):
item = self.lists[i].get(index)
***************
*** 113,117 ****
if i+1 < self.nlists:
self.fill(i+1)
!
def items(self, i):
# override this
--- 113,117 ----
if i+1 < self.nlists:
self.fill(i+1)
!
def items(self, i):
# override this
***************
*** 123,127 ****
l.append(s)
return l
!
def on_double(self, index, i):
pass
--- 123,127 ----
l.append(s)
return l
!
def on_double(self, index, i):
pass
Index: MultiStatusBar.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/MultiStatusBar.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** MultiStatusBar.py 2000/02/15 18:04:52 1.1
--- MultiStatusBar.py 2001/01/17 08:48:39 1.2
***************
*** 2,32 ****
class MultiStatusBar(Frame):
-
- def __init__(self, master=None, **kw):
- if master is None:
- master = Tk()
- apply(Frame.__init__, (self, master), kw)
- self.labels = {}
! def set_label(self, name, text='', side=LEFT):
! if not self.labels.has_key(name):
! label = Label(self, bd=1, relief=SUNKEN, anchor=W)
! label.pack(side=side)
! self.labels[name] = label
! else:
! label = self.labels[name]
! label.config(text=text)
def _test():
! b = Frame()
! c = Text(b)
! c.pack(side=TOP)
! a = MultiStatusBar(b)
! a.set_label("one", "hello")
! a.set_label("two", "world")
! a.pack(side=BOTTOM, fill=X)
! b.pack()
! b.mainloop()
if __name__ == '__main__':
! _test()
--- 2,32 ----
class MultiStatusBar(Frame):
! def __init__(self, master=None, **kw):
! if master is None:
! master = Tk()
! apply(Frame.__init__, (self, master), kw)
! self.labels = {}
+ def set_label(self, name, text='', side=LEFT):
+ if not self.labels.has_key(name):
+ label = Label(self, bd=1, relief=SUNKEN, anchor=W)
+ label.pack(side=side)
+ self.labels[name] = label
+ else:
+ label = self.labels[name]
+ label.config(text=text)
+
def _test():
! b = Frame()
! c = Text(b)
! c.pack(side=TOP)
! a = MultiStatusBar(b)
! a.set_label("one", "hello")
! a.set_label("two", "world")
! a.pack(side=BOTTOM, fill=X)
! b.pack()
! b.mainloop()
if __name__ == '__main__':
! _test()
Index: OutputWindow.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/OutputWindow.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** OutputWindow.py 2000/03/07 16:25:11 1.4
--- OutputWindow.py 2001/01/17 08:48:39 1.5
***************
*** 112,126 ****
"stdout": {"foreground": "blue"},
"stderr": {"foreground": "#007700"},
! }
!
def __init__(self, flist):
self.flist = flist
self.owin = None
!
def write(self, s, tags, mark):
if not self.owin:
self.setup()
self.owin.write(s, tags, mark)
!
def setup(self):
self.owin = owin = OutputWindow(self.flist)
--- 112,126 ----
"stdout": {"foreground": "blue"},
"stderr": {"foreground": "#007700"},
! }
!
def __init__(self, flist):
self.flist = flist
self.owin = None
!
def write(self, s, tags, mark):
if not self.owin:
self.setup()
self.owin.write(s, tags, mark)
!
def setup(self):
self.owin = owin = OutputWindow(self.flist)
Index: ParenMatch.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/ParenMatch.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** ParenMatch.py 2000/03/07 17:55:32 1.4
--- ParenMatch.py 2001/01/17 08:48:39 1.5
***************
*** 21,25 ****
There are three supported style of paren matching, based loosely
! on the Emacs options. The style is select based on the
HILITE_STYLE attribute; it can be changed used the set_style
method.
--- 21,25 ----
There are three supported style of paren matching, based loosely
! on the Emacs options. The style is select based on the
HILITE_STYLE attribute; it can be changed used the set_style
method.
***************
*** 44,50 ****
so I haven't bothered.
"""
!
menudefs = []
!
keydefs = {
'<<flash-open-paren>>' : ('<KeyRelease-parenright>',
--- 44,50 ----
so I haven't bothered.
"""
!
menudefs = []
!
keydefs = {
'<<flash-open-paren>>' : ('<KeyRelease-parenright>',
***************
*** 147,151 ****
tabwidth = AutoIndent.tabwidth
context_use_ps1 = AutoIndent.context_use_ps1
!
def __init__(self, editwin):
self.editwin = editwin
--- 147,151 ----
tabwidth = AutoIndent.tabwidth
context_use_ps1 = AutoIndent.context_use_ps1
!
def __init__(self, editwin):
self.editwin = editwin
***************
*** 159,163 ****
# rawtext needs to contain everything up to the last
# character, which was the close paren. the parser also
! # requires that the last line ends with "\n"
rawtext = self.text.get(startatindex, "insert")[:-1] + "\n"
y.set_str(rawtext)
--- 159,163 ----
# rawtext needs to contain everything up to the last
# character, which was the close paren. the parser also
! # requires that the last line ends with "\n"
rawtext = self.text.get(startatindex, "insert")[:-1] + "\n"
y.set_str(rawtext)
***************
*** 176,180 ****
i, buf = self._find_offset_in_buf(lno)
if i is None \
! or keysym_type(buf[i]) != right_keysym_type:
return None
lines_back = string.count(buf[i:], "\n") - 1
--- 176,180 ----
i, buf = self._find_offset_in_buf(lno)
if i is None \
! or keysym_type(buf[i]) != right_keysym_type:
return None
lines_back = string.count(buf[i:], "\n") - 1
***************
*** 190,192 ****
return icis(startindex + "%dc" % offset)
return inner
-
--- 190,191 ----
Index: PathBrowser.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/PathBrowser.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** PathBrowser.py 1999/06/01 18:21:31 1.5
--- PathBrowser.py 2001/01/17 08:48:39 1.6
***************
*** 7,11 ****
class PathBrowser(ClassBrowser):
!
def __init__(self, flist):
self.init(flist)
--- 7,11 ----
class PathBrowser(ClassBrowser):
!
def __init__(self, flist):
self.init(flist)
Index: PyShell.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/PyShell.py,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -r1.30 -r1.31
*** PyShell.py 2000/09/15 04:32:56 1.30
--- PyShell.py 2001/01/17 08:48:39 1.31
***************
*** 125,129 ****
"console": cconf.getcolor("console"),
"ERROR": cconf.getcolor("ERROR"),
! None: cconf.getcolor("normal"),
})
--- 125,129 ----
"console": cconf.getcolor("console"),
"ERROR": cconf.getcolor("ERROR"),
! None: cconf.getcolor("normal"),
})
Index: RemoteInterp.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/RemoteInterp.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** RemoteInterp.py 2000/03/09 19:56:50 1.1
--- RemoteInterp.py 2001/01/17 08:48:39 1.2
***************
*** 10,14 ****
"""A simple protocol for sending strings across a socket"""
BUF_SIZE = 8192
!
def __init__(self, sock):
self.sock = sock
--- 10,14 ----
"""A simple protocol for sending strings across a socket"""
BUF_SIZE = 8192
!
def __init__(self, sock):
self.sock = sock
***************
*** 177,185 ****
def decode_seqno(self, buf):
return struct.unpack("I", buf)[0]
!
class StdioRedirector:
"""Redirect sys.std{in,out,err} to a set of file-like objects"""
!
def __init__(self, stdin, stdout, stderr):
self.stdin = stdin
--- 177,185 ----
def decode_seqno(self, buf):
return struct.unpack("I", buf)[0]
!
class StdioRedirector:
"""Redirect sys.std{in,out,err} to a set of file-like objects"""
!
def __init__(self, stdin, stdout, stderr):
self.stdin = stdin
***************
*** 293,297 ****
except EOFError:
pass
!
def handle_stdout(self, buf):
sys.stdout.write(buf)
--- 293,297 ----
except EOFError:
pass
!
def handle_stdout(self, buf):
sys.stdout.write(buf)
***************
*** 340,343 ****
else:
file = args[1]
! riExec(id, file)
!
--- 340,342 ----
else:
file = args[1]
! riExec(id, file)
Index: ScriptBinding.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/ScriptBinding.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** ScriptBinding.py 2000/09/15 15:45:57 1.9
--- ScriptBinding.py 2001/01/17 08:48:39 1.10
***************
*** 35,39 ****
class ScriptBinding:
!
keydefs = {
'<<check-module>>': ['<Alt-F5>', '<Meta-F5>'],
--- 35,39 ----
class ScriptBinding:
!
keydefs = {
'<<check-module>>': ['<Alt-F5>', '<Meta-F5>'],
***************
*** 41,45 ****
'<<run-script>>': ['<Control-F5>'],
}
!
menudefs = [
('edit', [None,
--- 41,45 ----
'<<run-script>>': ['<Control-F5>'],
}
!
menudefs = [
('edit', [None,
Index: ScrolledList.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/ScrolledList.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** ScrolledList.py 1999/03/10 05:10:49 1.4
--- ScrolledList.py 2001/01/17 08:48:39 1.5
***************
*** 2,6 ****
class ScrolledList:
!
default = "(None)"
--- 2,6 ----
class ScrolledList:
!
default = "(None)"
Index: Separator.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/Separator.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** Separator.py 1999/01/12 22:09:18 1.2
--- Separator.py 2001/01/17 08:48:39 1.3
***************
*** 2,6 ****
class Separator:
!
def __init__(self, master, orient, min=10, thickness=5, bg=None):
self.min = max(1, min)
--- 2,6 ----
class Separator:
!
def __init__(self, master, orient, min=10, thickness=5, bg=None):
self.min = max(1, min)
***************
*** 11,22 ****
self.dir = "x"
self.cursor = "sb_h_double_arrow"
! elif orient in ("v", "vertical"):
! self.side = "top"
! self.dim = "height"
! self.dir = "y"
self.cursor = "sb_v_double_arrow"
! else:
! raise ValueError, "Separator: orient should be h or v"
! self.winfo_dim = "winfo_" + self.dim
self.master = master = Frame(master)
master.pack(expand=1, fill="both")
--- 11,22 ----
self.dir = "x"
self.cursor = "sb_h_double_arrow"
! elif orient in ("v", "vertical"):
! self.side = "top"
! self.dim = "height"
! self.dir = "y"
self.cursor = "sb_v_double_arrow"
! else:
! raise ValueError, "Separator: orient should be h or v"
! self.winfo_dim = "winfo_" + self.dim
self.master = master = Frame(master)
master.pack(expand=1, fill="both")
Index: StackViewer.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/StackViewer.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** StackViewer.py 2000/02/15 18:03:40 1.14
--- StackViewer.py 2001/01/17 08:48:39 1.15
***************
*** 101,105 ****
sublist.append(item)
return sublist
!
def get_stack(t=None, f=None):
if t is None:
--- 101,105 ----
sublist.append(item)
return sublist
!
def get_stack(t=None, f=None):
if t is None:
Index: ToolTip.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/ToolTip.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** ToolTip.py 1999/06/01 18:19:02 1.1
--- ToolTip.py 2001/01/17 08:48:39 1.2
***************
*** 82,86 ****
root.update()
tip = ListboxToolTip(b, ["Hello", "world"])
!
# root.mainloop() # not in idle
--- 82,86 ----
root.update()
tip = ListboxToolTip(b, ["Hello", "world"])
!
# root.mainloop() # not in idle
Index: WindowList.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/WindowList.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** WindowList.py 2000/02/15 18:03:01 1.7
--- WindowList.py 2001/01/17 08:48:39 1.8
***************
*** 40,44 ****
def unregister_callback(self, callback):
try:
! self.callbacks.remove(callback)
except ValueError:
pass
--- 40,44 ----
def unregister_callback(self, callback):
try:
! self.callbacks.remove(callback)
except ValueError:
pass
- Previous message: [Python-checkins] CVS: python/dist/src/Lib shlex.py,1.13,1.14
- Next message: [Python-checkins] CVS: python/dist/src/Tools/scripts byteyears.py,1.6,1.7 checkpyc.py,1.8,1.9 classfix.py,1.9,1.10 copytime.py,1.4,1.5 dutree.py,1.8,1.9 findlinksto.py,1.7,1.8 fixcid.py,1.7,1.8 fixheader.py,1.2,1.3 fixps.py,1.4,1.5 ftpmirror.py,1.12,1.13 gencodec.py,1.4,1.5 h2py.py,1.11,1.12 ifdef.py,1.3,1.4 linktree.py,1.5,1.6 lll.py,1.4,1.5 logmerge.py,1.5,1.6 mailerdaemon.py,1.8,1.9 methfix.py,1.4,1.5 mkreal.py,1.5,1.6 ndiff.py,1.6,1.7 nm2def.py,1.3,1.4 objgraph.py,1.4,1.5 parseentities.py,1.2,1.3 pathfix.py,1.2,1.3 pdeps.py,1.4,1.5 pindent.py,1.9,1.10 ptags.py,1.6,1.7 redemo.py,1.1,1.2 suff.py,1.4,1.5 sum5.py,1.2,1.3 texi2html.py,1.11,1.12 trace.py,1.2,1.3 treesync.py,1.4,1.5 which.py,1.8,1.9 xxci.py,1.13,1.14
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]