"Fossies" - the Fresh Open Source Software Archive 
Member "Tk-804.036/ToDo" (20 Oct 2019, 5846 Bytes) of package /linux/misc/Tk-804.036.tar.gz:
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the last
Fossies "Diffs" side-by-side code changes report for "ToDo":
804.033_vs_804.034.
1 Deal with global destruction in child processes. See RT #100399 and
2 commit 643f7446ab4c457efac4c2527cf893502d0a3b62: since perl 5.16, core
3 dumps may happen if exiting a child process connected to Tk windows
4 with exit().
5
6 Port all of Tcl/Tk test suite to Perl/Tk (text.test etc.). t/listbox.t
7 and t/entry.t was a beginning.
8
9 Should Tk::MsgBox be the default messageBox? Are there compatibility
10 issues?
11
12 Check all Tk-related bugs on rt.cpan.org.
13
14 Minimize diffs to original Tcl/Tk sources to make merging easier.
15
16 Port message catalogs from Tcl/Tk to Perl/Tk.
17
18 Port tkText*.c changes, as there are some unicode-related fixes.
19
20 Widget review (Listbox.pm and Canvas.pm done)
21
22 Pod review (Listbox.pod done, options.pod and Canvas.pod in the works,
23 others pending)
24
25 Create a xft test in font.t which tests measures of one or two
26 populate ttf fonts (e.g. bitstream vera and nimbus).
27
28 Try visual c+nmake build on MSWin32.
29
30 cygwin build seems to fail if doing in a directory with spaces, eg.
31 /cygdrive/c/documents and settings/...
32
33 Make parallel builds (make -jX ...) possible.
34
35 Documentation:
36
37 Create a new document Tk::unicode to explain common pitfalls with
38 utf8.
39
40 Some FAQ entries should go into corresponging Pod documents. Maybe the
41 rest of the FAQ (renovated!) could go as Tk::faq into the
42 distribution. (See also ~eserte/src/ptkfaq/faq.html)
43
44 Document font('subfonts')?
45
46 Tk::tkvars: the versioning scheme documented here was already
47 abandonded in Tk800 and Tk804. There was a suggestion by Nick
48 Ing-Simmons to use the minor version as some kind of "API version" and
49 to have Perl/Tk releases with same minor versions but different major
50 versions API-compatible. I think this also won't stay, it will simply
51 be Tk805.000 when a new Tk built on Tcl/Tk 8.5 comes out.
52
53 BTW, the VERSIONS file seems to duplicate most of Tk::tkvars.
54
55 Either document $Tk::Config::xlib can be used to determine if XFT
56 support was built in. Or introduce a new variable for XFT and make the
57 tests use this one.
58
59 "selection conversion left too many bytes unconverted" panic: may be
60 reproduced by handling big (>= 4000 bytes) selections (containing
61 high-bit characters???). To reproduce:
62
63 cat ~/.cshrc | perl -MTk -e '{local $/;$sel=<>;} $mw=tkinit; $mw->SelectionOwn(-selection => "CLIPBOARD"); $mw->SelectionHandle(-selection => "CLIPBOARD",sub { $sel });MainLoop'
64
65 And then CTRL-V in a Mozilla Textarea. (The example has a flow, it should be probably
66
67 cat ~/.cshrc | perl -MTk -e '{local $/;$sel=<>;} $mw=tkinit; $mw->SelectionOwn(-selection => "CLIPBOARD"); $mw->SelectionHandle(-selection => "CLIPBOARD",sub { warn "@_"; return undef if $_[0]>length($sel); substr($sel,@_) });MainLoop'
68
69 )
70
71 Have a search path for libraries (LOCAL_PREFIX=/.../...)
72
73 Use pre-installed libjpeg and libpng, if existing on the system (and
74 maybe not older than the bundled libjpeg and libpng).
75
76 ptked: Encoding: have a "custom" menu which has all perl-available
77 encodings
78
79 Some test failures reported on Mac OS X 10.4.8 Tiger:
80 * canvas.t #84 (returned 255 instead of 215) (this failure also seen on CentOS and Altix)
81 * unicode.t #9 (Control-any not working with XDarwin?)
82
83 A lot of test failures with Altix, mostly core dumps.
84
85 ptked and gedi: introduce new +line option (like in vi or emacsclient)
86
87 Message-ID: <er80om$okm$1@online.de> (Ch. Lamprecht): introduce new
88 option or method for global iconimages?
89
90 A double destroy would show an unfriendly error message including an
91 SV dump. Maybe remove the dump? And add "maybe the widget was already
92 destroyed?"?
93
94 Port windows/aqua specific style from Tk8.4 to
95 Tk::Button/Checkbutton/Radiobutton.
96
97 Is it easy to support non-base64 operation for Tk::JPEG and Tk::PNG?
98
99 XMouseWheelBind and YMouseWheelBind only sets mouse wheel bindings for
100 X11, not for Windows. Was this accidental or intended?
101
102 Add event_mask argument to SendClientMessage, so that the script in
103 http://board.perl-community.de/thread/10961/#MSG0
104 could be implemented with Perl/Tk, too.
105
106 HList:
107 - Document the -wideselection option, or ignore it?
108 - Make sure that the last column always fits the whole HList? The
109 itemWidth is set in tixHlist.c, function DrawOneElement, about line
110 4003. This would check if i==wPtr->numColumns-1, if
111 itemWidth+2*selBorderWidth is larger than the available widget space
112 (how?) and adjust itemWidth.
113
114 ----------------------------------------------------------------------
115 - Fixes needing perl support
116
117 Tk::FBox should deal with 8bit characters in filenames (i.e. use byte
118 semantics in filesystem operations, maybe use system encoding when
119 displaying filenames, but with graceful degradation). The real
120 solution would need filesystem encoding support in perl, though.
121
122 getOpen/SaveFile/chooseDirectory has also encoding issues on Windows.
123 This is documented.
124
125 ----------------------------------------------------------------------
126 - Big projects
127
128 Make Perl/Tk thread-safe.
129
130 Make a native aqua port.
131
132 Port tk8.5.x
133
134 ----------------------------------------------------------------------
135 - OLDER ToDos, possibly still unresolved -----------------------------
136
137 Debug icon redraw issues on Solaris/olvwm
138
139 Add "make strip" target ?
140
141 Menubutton Alt-F issues on Win32 - fix or document?
142
143 Cache results in MakeDepend?
144
145 Do HTML build
146
147 Make "compiled" Tk scripts work.
148
149 Add one of FontSelect variants (e.g. Tk::FontDialog)
150
151 TixGrid repair/replace.
152
153 Release tkmail
154
155 Start tkdraw ;-)
156
157 Non-Sun Drag&Drop (e.g. linux) (Win32 Site now at least partly working.)
158
159 Stipple bug, see Message-ID: <2uwCb.683348$pl3.76050@pd7tw3no> (should
160 be fixed with Tk 8.4.5).
161
162 One can't use filenames with high-bit characters in the Photo constructor:
163 $photo = $mw->Photo(-file => "high-bit-chars");
164
165 Add 'as_default_dir' support for chooseDirectory (similar to
166 'as_default' for get(Open|Save)File). Documentation missing.
167
168 Build and test with older perl releases.
169