1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00
putty-source/unix
Simon Tatham 2d289a9970 Make the GTK message-box function non-variadic.
Now, in place of a variadic argument list with four parameters per
button and a terminating NULL, it takes a pointer to a struct which in
turn contains an (array,length) pair of small per-button structures.

In the process I've renamed the function from messagebox() to
message_box(). Partly that was just because it gave me a convenient
way to search the source for calls I hadn't converted yet, but also
I've thought for a while that that missing underscore didn't really
match the rest of my naming.

NFCI. Partly this minor refactor has the virtue that we can reuse the
more common button layouts without having to type them in at multiple
places in the code (and, indeed, I've provided buttons_yn and
buttons_ok for easy reuse, and could easily provide other things like
yesnocancel any time I need them). But mostly it's because I'm about
to split up message_box into multiple functions, and this saves me the
hassle of deciding which ones to make variadic and which to pass an
actual va_list to - particularly since messagebox() used to go over
its variadic argument list twice, which always makes delegating it to
another function that much more annoying.
2017-11-26 14:05:02 +00:00
..
configure Move the Unix configure script up to the top level. 2014-02-22 18:01:32 +00:00
gtkapp.c Remove an item from gtkapp.c's OS X TODO comment. 2017-11-26 11:58:05 +00:00
gtkask.c Unix buildinfo: stop saying 'GTK' in pure CLI utilities. 2017-02-22 22:10:05 +00:00
gtkcfg.c On OS X, be able to configure either Option or Command as Meta. 2015-09-01 19:12:19 +01:00
gtkcols.c Memory leak: add a columns_finalize() method. 2017-11-26 11:36:00 +00:00
gtkcols.h New Columns method, columns_force_same_height(). 2015-08-24 19:34:23 +01:00
gtkcomm.c Divide the whole of gtkwin.c into three parts. 2016-03-22 22:27:09 +00:00
gtkcompat.h GTK2: Return 2.20 compatibility back 2017-02-23 20:03:01 +00:00
gtkdlg.c Make the GTK message-box function non-variadic. 2017-11-26 14:05:02 +00:00
gtkfont.c Handle GTK 3.22's deprecation of gdk_cairo_create(). 2017-02-27 19:58:39 +00:00
gtkfont.h Handle GTK 3.22's deprecation of gdk_cairo_create(). 2017-02-27 19:58:39 +00:00
gtkmain.c Make the configuration dialog non-modal. 2017-11-26 11:58:02 +00:00
gtkmisc.c Include the compile-time GTK version in the build info. 2017-02-15 19:32:42 +00:00
gtkmisc.h Move more functions into the new gtkmisc.c. 2015-08-31 15:45:43 +01:00
gtkwin.c Make the GTK message-box function non-variadic. 2017-11-26 14:05:02 +00:00
osxlaunch.c resolve (no real impact) issue found by cppcheck: 2017-06-19 21:42:16 +05:00
pterm.bundle OS X makefile: stop depending on JHBUILD_PREFIX. 2017-11-26 11:45:48 +00:00
pterm.plist Create OS X application bundles for PuTTY and pterm. 2016-03-23 22:22:48 +00:00
putty.bundle OS X makefile: stop depending on JHBUILD_PREFIX. 2017-11-26 11:45:48 +00:00
putty.plist Create OS X application bundles for PuTTY and pterm. 2016-03-23 22:22:48 +00:00
unix.h Make the GTK message-box function non-variadic. 2017-11-26 14:05:02 +00:00
ux_x11.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxagentc.c Memory leak: free conn->retbuf in uxagentc.c. 2017-11-26 11:32:34 +00:00
uxcfg.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxcons.c Add some missing checks for EINTR after select(2). 2017-01-06 19:29:06 +00:00
uxgen.c cmdgen: option to specify the random number device to use. 2016-03-30 08:30:40 +01:00
uxgss.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxmisc.c Fix memory leak in the new make_dir_path(). 2016-08-10 19:34:46 +01:00
uxnet.c uxnet.c: don't close a socket's fd if it is -1. 2017-10-01 21:10:31 +01:00
uxnogtk.c Include the compile-time GTK version in the build info. 2017-02-15 19:32:42 +00:00
uxnoise.c Fix minor file descriptor leaks. Found by cppcheck, reported by Tim Kosse. 2009-09-16 22:28:20 +00:00
uxpeer.c Log identifying information for the other end of connections. 2015-05-18 14:03:10 +01:00
uxpgnt.c Make plug receive and closing functions return void instead of int. 2017-05-14 16:34:48 +01:00
uxplink.c Add -share -noshare command line option to plink to share SSL connections. 2017-07-08 09:28:20 +01:00
uxprint.c Update to r8614: another -D_FORTIFY_SOURCE=2 fix. 2010-02-20 11:21:25 +00:00
uxproxy.c unix: make uxsel callback functions return void. 2017-05-14 16:34:48 +01:00
uxpterm.c Make the configuration dialog non-modal. 2017-11-26 11:58:02 +00:00
uxpty.c Reinstate the SIGCHLD handler in ptermapp. 2017-11-26 11:42:22 +00:00
uxputty.c Make the configuration dialog non-modal. 2017-11-26 11:58:02 +00:00
uxsel.c unix: make select_result() return void. 2017-05-14 16:34:48 +01:00
uxser.c unix: make uxsel callback functions return void. 2017-05-14 16:34:48 +01:00
uxsftp.c Unix buildinfo: stop saying 'GTK' in pure CLI utilities. 2017-02-22 22:10:05 +00:00
uxshare.c Move make_dir_and_check_ours() out into uxmisc.c. 2015-05-05 20:16:22 +01:00
uxsignal.c Rename some of the more stupidly named files in the Unix back end. 2004-12-31 13:02:46 +00:00
uxstore.c Put in some explicit null-pointer checks. 2017-02-14 23:25:25 +00:00
uxucs.c Giant const-correctness patch of doom! 2015-05-15 12:47:44 +01:00
x11misc.c Ignore X11 BadMatch errors during cut buffer setup. 2016-03-20 18:30:03 +00:00
x11misc.h Ignore X11 BadMatch errors during cut buffer setup. 2016-03-20 18:30:03 +00:00
xkeysym.c Support for non-ISO-8859-1 X keysyms. So in particular, pterm in a 2003-04-27 11:10:48 +00:00
xpmptcfg.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
xpmpterm.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
xpmpucfg.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
xpmputty.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00