putty/unix
Ben Harris d5836982e2 Two related changes to timing code:
First, make absolute times unsigned.  This means that it's safe to 
depend on their overflow behaviour (which is undefined for signed 
integers).  This requires a little extra care in handling comparisons, 
but I think I've correctly adjusted them all.

Second, functions registered with schedule_timer() are guaranteed to be 
called with precisely the time that was returned by schedule_timer().  
Thus, it's only necessary to check these values for equality rather than 
doing risky range checks, so do that.

The timing code still does lots that's undefined, unnecessary, or just
wrong, but this is a good start.

[originally from svn r9667]
2012-09-18 21:42:48 +00:00
..
configure.ac Add '-Wall -Werror' to the compile options in the autotools makefile, 2012-07-19 04:42:34 +00:00
gtkcfg.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
gtkcols.c
gtkcols.h Stop including <gtk/gtkcontainer.h> directly, since a user points out 2012-07-01 16:55:36 +00:00
gtkdlg.c Add code in dlg_filesel_set and dlg_fontsel_set which makes them 2012-04-13 18:02:30 +00:00
gtkfont.c Bug fix from Robert de Bath: if wc_to_mb returns a length of zero, it 2012-04-22 14:22:08 +00:00
gtkfont.h Support font fallback even when an X11 server-side font is selected, 2011-09-16 19:18:54 +00:00
gtkwin.c Two related changes to timing code: 2012-09-18 21:42:48 +00:00
unix.h Patch from Robert de Bath to substantially simplify timing.c. 2012-05-13 15:59:26 +00:00
ux_x11.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxagentc.c Mostly cosmetic change: don't claim to have found an SSH agent if 2011-07-16 12:03:14 +00:00
uxcfg.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxcons.c Two related changes to timing code: 2012-09-18 21:42:48 +00:00
uxgen.c
uxgss.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxmisc.c Fix bug in the new CLOCK_MONOTONIC implementation. I was treating the 2012-05-15 22:19:21 +00:00
uxnet.c Arrange to call net_pending_errors on Unix, which we've never actually 2011-12-08 19:15:57 +00:00
uxnoise.c
uxplink.c Two related changes to timing code: 2012-09-18 21:42:48 +00:00
uxprint.c
uxproxy.c Revamp of EOF handling in all network connections, pipes and other 2011-09-13 11:44:03 +00:00
uxpterm.c Arrange to call net_pending_errors on Unix, which we've never actually 2011-12-08 19:15:57 +00:00
uxpty.c If pterm's execvp fails when given the whole argument list after -e, 2012-07-11 18:12:17 +00:00
uxputty.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxsel.c
uxser.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxsftp.c Two related changes to timing code: 2012-09-18 21:42:48 +00:00
uxsignal.c
uxstore.c Turn 'Filename' into a dynamically allocated type with no arbitrary 2011-10-02 11:01:57 +00:00
uxucs.c Support for dead keys and compose sequences on Unix, by instantiating 2012-06-17 07:26:23 +00:00
xkeysym.c
xpmptcfg.c
xpmpterm.c
xpmpucfg.c
xpmputty.c