Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/maikebing/putty
PuTTY is a free implementation of Telnet and SSH for Windows and Unix platforms, along with an xterm terminal emulator. It is written and maintained primarily by Simon Tatham.
https://github.com/maikebing/putty
These should dump out all the important parts of the incoming
GdkEventKey, so that if keys aren'...
These are a slightly cleaned-up version of the diagnostics I was using
to debug the layout probl...
After the last few commits, we now compile cleanly against GTK3 even
without -Wno-deprecated-dec...
In shortcut_add(), when we add an underlined letter to a GtkLabel, we
were fetching the label's ...
The whole of get_label_text_dimensions() should have been outside the
GTK 2 ifdef; I'd left a gt...
My trickery in GTK2 to start with some branches of the tree collapsed
but give the widget all th...
gtk_window_resize_to_geometry() allows us to make use of the already-
set-up WM resize hints to ...
This is an obviously reusable loop over cols->children looking for a
widget, which I'm about to ...
In cases where two controls sit alongside one another such as a label
alongside an edit box, I'v...
This forces two child widgets of a Columns to occupy the same amount
of vertical space, and if o...
This was another piece of code that determined text size by
instantiating a GtkLabel and asking ...
When I committed 5e738877b the other day, I missed another case of the
same thing in the file/fo...
Now we're properly implementing the GTK3 height-for-width layout
model, this bodge is no longer ...
Now that I've got the main calculation code separated from the GTK2
size_request and size_alloca...
Previously, columns_size_request and columns_size_allocate would each
loop over all the widgets ...
Profiling reveals that pterm in Pango rendering mode uses an absurd
amount of CPU when it's not ...
If you're trying to arrange that an array size is large enough for
element n to exist, and you a...
If you open a pterm on a different display via the --display
command-line option rather than by ...
This replaces the old GtkColorSelectionDialog, and has the convenience
advantage that the actual...
GtkTable is deprecated; the way of the future is GtkGrid, in which you
don't have to specify the...
We now have to use gdk_window_set_background_rgba(), having first set
up an appropriate GdkRGBA ...
The new way is gdk_display_get_name(gdk_display_get_default()), which
returns a const char * rat...
In GTK3, GtkBox, GtkScrollbar and GtkSeparator are all single classes
with a GtkOrientation para...
gtk_cell_renderer_get_preferred_size() is the new way to do it.
3a27e98fb77c20d5ff0aa7409e0744f2e622cf75 authored over 9 years ago by Simon Tatham <[email protected]>
According to the GTK3 docs, we're now supposed to use fixed label
strings instead.
In the case where we deselect the previously selected font (e.g.
because we've just changed the ...
The call to gtk_list_store_clear() in unifontsel_setup_familylist()
was causing a call to family...
It doesn't exist any more, so the attempt to set it was generating an
annoying runtime warning m...
It turns out that in GTK3, if you instantiate a GtkLabel and
immediately try to find out its pre...
The config box setup code wants a lot of very narrow edit boxes, so it
decreases their minimum w...
The key derivation code has been assuming (though non-critically, as
it happens) that the size o...
Tim Kosse points out that we now support some combinations of crypto
primitives which break the ...
This permits a hash state to be cloned in the middle of being used, so
that multiple strings wit...
This is the test file I wish I'd had while I was rewriting the
text-drawing function this week :...
After the last few changes, the whole codebase now compiles and links
successfully against GTK3,...
It's been replaced by a new pair of methods get_preferred_width and
get_preferred_height. For th...
The entire concept has gone away in GTK3, which assumes that everyone
is now using modern true-c...
GDK3 now spells both of those as GDK_WINDOW_XID. (Of course 'drawable'
is no longer a relevant c...
This replaces the old gdk_keyboard_grab(), and is what a GTK3 app has
to use for grabbing the ke...
This replaces GTK 1/2's "expose_event", and provides a ready-made
cairo_t to do the drawing with...
This is the new recommended approach since gdk_input_{add,remove} were
deprecated (and, honestly...
In case a front end needs to store more than an integer id to be
returned to uxsel_input_remove,...
GTK is deprecating the use of gdk_window_set_icon(), in favour of a
method that doesn't have to ...
I've just noticed the comment in gtkfont.c that said wouldn't it be
nice to find a way to avoid ...
We still don't actually support more than one X display active at
once, so it's sufficient to re...
We won't be able to use them in GTK3, or when compiling with GTK2 and
-DGDK_DISABLE_DEPRECATED.
...
Now it's got an inner half that does actual drawing given a draw
context, and an outer half that...
A small bug in yesterday's work: since in Cairo mode
draw_stretch_before changes the transformat...
We were previously building our own mouse pointers out of pixmaps,
having first drawn characters...
We're going to have to use Cairo in the GTK3 port, because that's all
GTK3 supports; but we stil...
I was tacitly assuming that mfont->fallback would always be non-NULL,
which is true in a world c...
636f9cf2ee8423fc10580e62804530997f6ee689 authored over 9 years ago by Tim Kosse <[email protected]>
Some static analyzers are complaining about it.
f3f215423bca59a0f09483db973d5ddc44d3d041 authored over 9 years ago by Tim Kosse <[email protected]>The hostname is a const char *.
a6bd42ca248c1c4c12616a729cc703a1199d7833 authored over 9 years ago by Tim Kosse <[email protected]>3ca54e45e32e73c0c6e4530cf95218f45a07c9d3 authored over 9 years ago by Tim Kosse <[email protected]>
ShellExecute returns HINSTANCE which is a typedef for void*. Cast the
return value to INT_PTR in...
The Windows headers define the return type of DLGPROC as INT_PTR which
on 64bit Windows has a di...
We are passing pointers as third argument to AppendMenu. Do not
truncate them to UINT, use UINT_...
On 64bit Windows, pointers are 64bit whereas both unsigned long and
unsigned int are 32bit. Usin...
We're passing a pointer as 4th argument to WinHelp. Do not cast it to
DWORD which would truncate...
9965cd8a53b88715bcfbd942ed90c4581a4c53d8 authored over 9 years ago by Tim Kosse <[email protected]>
Some toolchains have SECURITY_WIN32 defined by default.
1f6504c2de427b0db6267fe7e93ace626970c287 authored over 9 years ago by Tim Kosse <[email protected]>
Otherwise we would get 0xc000007b error when trying to start a 64bit
PuTTY Windows binary.
GetLastError returns DWORD. To print it, convert it to unsigned int
and use the %u format specif...
98f20bef7705879abc2510018c6e826d4147def9 authored over 9 years ago by Tim Kosse <[email protected]>
481ebd232e07a644b4ef5d6f1d13edc58a194971 authored over 9 years ago by Tim Kosse <[email protected]>
MinGW has __uint128_t, but not __uint64_t.
3377ea57f5d333d65d44a1130161396782389e88 authored over 9 years ago by Tim Kosse <[email protected]>
This prevents writing past the end of the buffer should
ssh2_fingerprint ever return a fingerpri...
Some MinGW versions do not know that assert(0) never returns. This
change also handles the case ...
5f37d92450825600abf4a39ece396ddf4932af63 authored over 9 years ago by Tim Kosse <[email protected]>
ce9b13db53eedba8d32ce1622a7ec773467c522d authored over 9 years ago by Tim Kosse <[email protected]>
e443fd3a77f8c138b458fb8759dc0747703541ac authored over 9 years ago by Tim Kosse <[email protected]>
Reported by Jong-Gwon Kim. Also fixes a few memory leaks in the
process.
The aim is to try to reduce the incidence of the two least helpful
classes of those reports: the...
I'm sure I removed that 'return 0' at some point! But I must have made
a git error which exclude...
GTK 2 has deprecated it and provided no replacement; a bug tracker
entry I found on the subject ...
Now that I've got a general place to centralise handling of at least
the simple differences betw...
Building with -DGTK_DISABLE_DEPRECATED, we now suffer only one compile
failure, for the use of g...
On GTK versions where it's available, this is a much nicer way of
handling the -geometry command...
I've put in a special #define to control this selection, in case I
decide that for reasons of ta...
Replaces the deprecated gtk_color_selection_set_color() which took an
array of four doubles (RGB...
All the things like GtkType, GtkObject, gtk_signal_connect and so on
should now consistently hav...
GTK 2 doesn't _documentedly_ provide a helpful compile option to let
us check this one in advanc...
A major aim of introducing GTK 3 support is to permit compiling for
non-X11 platforms that GTK 3...
We now build cleanly in GTK2 with -DGSEAL_ENABLE.
0a3e5939597ada7509445cfe2caa28f16ec2459e authored over 9 years ago by Simon Tatham <[email protected]>
This is less than ideal - passphrase input now happens in ISO 8859-1,
and the passphrase prompt ...
This is the first of several cleanup steps recommended by the GTK 2->3
migration guide.
I inten...
8ee12773d885d906d02340377996895144c14385 authored over 9 years ago by Simon Tatham <[email protected]>
Users have requested this from time to time, for distinguishing log
file names when there's more...
We've had several reports that launching saved sessions from the
Windows 10 jump list fails; Cha...
If a PuTTY SSH packet log has gone through line-wrapping at 72
columns, destroying the long line...
A user reports that in a particular situation one of the calls to
LoadLibrary from wingss.c has ...
If you're counting up to ms_limit in steps of ms_step, it's silly to
add ms_step at the end of t...
This is generated in response to the SendInput() Windows API call, if
that in turn is passed an ...
This causes WM_CHAR messages sent to us to have a wParam containing a
16-bit value encoded in UT...
PuTTY's main mb_to_wc() function is all very well for embedding in
fiddly data pipelines, but fo...
The -F option is no longer needed to bob in this situation; that
hasn't been the directory I kee...
Coverity complained that some paths through the loop in the
WM_INITDIALOG handler might leave fi...
b266d671acee34f9305950bfd87054b3b7fcded6 authored over 9 years ago by Simon Tatham <[email protected]>
7cfe83f7915907ea7cc2643468558e5bd83d4b51 authored over 9 years ago by Simon Tatham <[email protected]>
9e20c81bc9c945565dd182854eeffa03b63f830a authored over 9 years ago by Ben Harris <[email protected]>