lp:~vcs-imports/putty/master

Created by Colin Watson on 2016-10-02 and last modified on 2020-05-16
Get this branch:
bzr branch lp:~vcs-imports/putty/master

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
VCS imports
Project:
PuTTY
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://git.tartarus.org/simon/putty.git.

The next import is scheduled to run in 33 minutes.

Last successful import was 5 hours ago.

Import started 5 hours ago on alnitak and finished 5 hours ago taking 20 seconds — see the log
Import started 11 hours ago on alnitak and finished 11 hours ago taking 20 seconds — see the log
Import started 17 hours ago on alnitak and finished 17 hours ago taking 20 seconds — see the log
Import started on 2020-06-05 on alnitak and finished on 2020-06-05 taking 20 seconds — see the log
Import started on 2020-06-05 on alnitak and finished on 2020-06-05 taking 20 seconds — see the log
Import started on 2020-06-05 on alnitak and finished on 2020-06-05 taking 15 seconds — see the log
Import started on 2020-06-04 on alnitak and finished on 2020-06-04 taking 20 seconds — see the log
Import started on 2020-06-04 on alnitak and finished on 2020-06-04 taking 20 seconds — see the log
Import started on 2020-06-04 on alnitak and finished on 2020-06-04 taking 20 seconds — see the log
Import started on 2020-06-03 on alnitak and finished on 2020-06-03 taking 20 seconds — see the log

Recent revisions

5817. By Simon Tatham <email address hidden> on 2020-05-16

uxucs.c: fix type of wcrtomb return value.

wcrtomb returns a size_t, so it's silly to immediately assign it into
an int variable. Apparently running gcc with LTO enabled points this
out as an error.

This was benign as far as I can see: the obvious risk of integer
overflow could only happen if the OS wanted to convert a single wide
character into more than 2^31 bytes, and the test of the return value
against (size_t)-1 for an error check seems to work anyway in
practice, although I suspect that's only because of implementation-
defined behaviour in gcc at the point where the size_t is narrowed to
a signed int.

5816. By Simon Tatham <email address hidden> on 2020-05-16

sshserver.c: fix prototype of mainchan_new.

Again, there was a missing #include in that file which meant that the
definition of the function was never being checked against the
declaration visible to other source files.

5815. By Simon Tatham <email address hidden> on 2020-05-16

fuzzterm.c: fix prototypes of stub dlg functions.

I'd forgotten to #include "dialog.h" in that file, which meant nothing
was checking the prototypes of the stub implementations of the dlg_*
function family against the real versions. They almost all needed a
'void *dlg' parameter updating to 'dlgparam *dp', which is a change
dating from commit 3aae1f9d76 nearly two years ago. And a handful of
them also still had 'int' that should be now have become 'bool'.

5814. By Simon Tatham <email address hidden> on 2020-05-03

test/numbertheory.py: fix comment wording.

The class for general rth-root finding started off as a cube-root
finder before I generalised it, and in one part of the top-level
explanatory comment, I still referred to a subgroup having index 3
rather than index r.

Also, in a later paragraph, I seem to have said 'index' several times
where I meant the concept of 'rank' I defined in the previous
paragraph.

5813. By Simon Tatham <email address hidden> on 2020-05-02

pty_backend_create: set up SIGCHLD handler earlier.

Mark Wooding points out that when running with the +ut flag, we close
pty_utmp_helper_pipe during pty backend setup, which causes the
previously forked helper process to terminate. If that termination
happens quickly enough, then the code later in pty_backend_create
won't have set up the SIGCHLD handler and its pipe yet, so when we get
to the main event loop, we'll fail to notice that subprocess waiting
to be reaped, and leave it lying around as a zombie.

An easy fix is to move the handler and pipe setup to before the code
that potentially closes pty_utmp_helper_pipe, so that there isn't a
race condition any more.

5812. By Simon Tatham <email address hidden> on 2020-05-01

Allow mid-session reconfiguration in PROT_SSHCONN.

Now you can adjust your port-forwarding configuration in mid-session,
in the same way that you can with an ordinary SSH connection.

5811. By Simon Tatham <email address hidden> on 2020-04-19

PSCP: change handling of default protocol/port.

A user points out that in the current state of PSCP, if you have some
protocol other than SSH configured in Default Settings, then
specifying a non-saved-session hostname on the PSCP command line will
cause it to try to connect with protocol SSH but the port number from
Default Settings.

A better approach is the one used in PSFTP: we use the port number
from the saved session _if_ the protocol is also one that's known to
PSCP (i.e. SSH or bare ssh-connection), and otherwise, we reset both
to sensible values.

5810. By Simon Tatham <email address hidden> on 2020-04-18

Improve serial-port setup error messages.

Now you can see exactly what pathname the backend tried to open for
the serial port, and what error code it got back from the OS when it
tried. That should help users distinguish between (for example) a
permissions problem and a typo in the filename.

5809. By Simon Tatham <email address hidden> on 2020-04-18

Make the backend_init error message dynamic. (NFC)

Now, instead of a 'const char *' in the static data segment, error
messages returned from backend setup are dynamically allocated and
freed by the caller.

This will allow me to make the messages much more specific (including
errno values and the like). However, this commit is pure refactoring:
I've _just_ changed the allocation policy, and left all the messages
alone.

5808. By Jacob Nevins <email address hidden> on 2020-04-14

On Windows, show hidden mouse pointer on error.

If a terminal window closed with a popup (due to a network error,
for instance) while the mouse pointer was hidden by 'Hide mouse
pointer when typing in window', the mouse pointer could remain hidden
while over the terminal window, making it hard to navigate to the
popup.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers