# HG changeset patch # User Rik # Date 1392524344 28800 # Node ID 044bbf569cd34806da67a21d298d7dff79b32dfb # Parent f959c63934e6c9485f002117c35db3c7f7c3760c# Parent 343718b2eee4fd99cf97dd07be761fd8bbdfeeb0 maint: Merge stable to gui-release. diff -r f959c63934e6 -r 044bbf569cd3 libinterp/corefcn/sighandlers.cc --- a/libinterp/corefcn/sighandlers.cc Thu Feb 13 22:17:44 2014 +0100 +++ b/libinterp/corefcn/sighandlers.cc Sat Feb 15 20:19:04 2014 -0800 @@ -139,6 +139,12 @@ octave_jump_to_enclosing_context_sync (); else { + // 64-bit Windows does not appear to have threadContext.Eip. + // Something else must be done here to allow interrupts to + // properly work across threads. + +#if ! (defined (__MINGW64__) || defined (_WIN64)) + CONTEXT threadContext; SuspendThread (thread); @@ -147,6 +153,7 @@ threadContext.Eip = (DWORD) octave_jump_to_enclosing_context_sync; SetThreadContext (thread, &threadContext); ResumeThread (thread); +#endif } } diff -r f959c63934e6 -r 044bbf569cd3 scripts/plot/appearance/axis.m --- a/scripts/plot/appearance/axis.m Thu Feb 13 22:17:44 2014 +0100 +++ b/scripts/plot/appearance/axis.m Sat Feb 15 20:19:04 2014 -0800 @@ -197,10 +197,14 @@ ## (useful with the x11 gnuplot terminal after a window resize) set (ca, "dataaspectratiomode", "auto"); endif - set (ca, "dataaspectratio", [1, 1, 1]); + set (ca, "dataaspectratio", [1, 1, 1], "plotboxaspectratio", [5 4 4]); + elseif (strcmpi (ax, "normal")) - set (ca, "plotboxaspectratio", [1, 1, 1]); - set (ca, "plotboxaspectratiomode", "auto"); + ## Set plotboxaspectratio to something obtuse so that switching + ## back to "auto" will force a re-calculation. + set (ca, "plotboxaspectratio", [3 2 1]); + set (ca, "plotboxaspectratiomode", "auto", + "dataaspectratiomode", "auto"); ## axis limits elseif (len >= 4 && strcmpi (ax(1:4), "auto"))