]> asedeno.scripts.mit.edu Git - PuTTY.git/blob - unix/GTK2.TODO
Prevent NULL-dereferencing segfaults when the font selector is
[PuTTY.git] / unix / GTK2.TODO
1 TODO for PuTTY GTK2 port before merging back into main trunk code
2 -----------------------------------------------------------------
3
4 Things to do before deciding a merge is feasible:
5
6  - Font handling is the biggie. Current problems with it:
7     * The GTK2 font selection dialog only mentions client-side
8       fonts, but the actual text display code can't cope with them.
9        + Clearly one or the other needs to be fixed: the font
10          selection dialog certainly needs to agree with the fonts
11          actually available in the program.
12        + I want to keep being able to use my server-side fonts.
13        + People used to GTK2 applications will probably want to use
14          their client-side fonts.
15     * Also, the GTK2 font selection dialog doesn't allow filtering
16       to monospaced fonts only (and gnome-terminal, for example,
17       just has to cope if the user selects a proportional font).
18        + We can live with this problem if we really have to, but
19          it'd be nice not to have to.
20     * Colin's idea is that we should simply cook up a font selection
21       dialog entirely of our own, which handles both client- _and_
22       server-side fonts, and correspondingly soup up the text
23       display code to deal with whichever it's given (if necessary
24       by switching between two totally separate pieces of code).
25       This sounds like a sensible plan to me, or at least the most
26       sensible response to a generally insane situation.
27
28  - The call to _gtk_container_dequeue_resize_handler wants
29    revisiting, and preferably removing in favour of a cleaner way to
30    do the job.
31
32  - gtkcols.c is currently a minimal-work GTK2 port of my original
33    GTK1 implementation. Someone should go through it and compare it
34    to a real GTK2 container class, to make sure there aren't any
35    large chunks we should have reimplemented and haven't, or indeed
36    that we shouldn't have reimplemented and have.
37
38  - Uses of GtkList should be replaced with the non-deprecated
39    GtkTreeView.
40
41  - Investigate the shortcut mechanism in GTK2's GtkLabel, and see if
42    it's worth switching to it from the current ad-hockery.
43
44  - Update the autoconf build. Richard B says he had to replace
45      AM_PATH_GTK([1.2.0],
46    with
47      AM_PATH_GTK_2_0([2.0.0],
48     + also I'll need to detect early Pangoi and enable my magic
49       switches in gtkfont.c.
50
51 Things to do once GTK2 development is complete:
52
53  - Make sure we haven't broken GTK1.
54
55 Things to do at point of actual merge:
56
57  - Mention Colin in the website's licence page.