Merge branch '0.5.x' into 0.6.0.x
authorLuke Dashjr <luke-jr+git@utopios.org>
Thu, 14 Jun 2012 18:13:46 +0000 (18:13 +0000)
committerLuke Dashjr <luke-jr+git@utopios.org>
Thu, 14 Jun 2012 18:13:46 +0000 (18:13 +0000)
Conflicts:
src/main.h
src/net.cpp
src/serialize.h

14 files changed:
1  2 
contrib/debian/control
doc/build-unix.txt
doc/release-process.txt
src/bitcoinrpc.cpp
src/init.cpp
src/init.h
src/main.cpp
src/net.cpp
src/qt/addressbookpage.cpp
src/qt/bitcoin.cpp
src/qt/bitcoingui.cpp
src/qtui.h
src/test/test_bitcoin.cpp
src/util.cpp

Simple merge
Simple merge
Simple merge
@@@ -223,7 -165,8 +223,8 @@@ Value stop(const Array& params, bool fH
              "Stop bitcoin server.");
  #ifndef QT_GUI
      // Shutdown will take long enough that the response should get back
-     CreateThread(Shutdown, NULL);
 -    // NOTE: This should actually work with Bitcoin-Qt too now, but 0.5.0 didn't allow it
++    // NOTE: This should actually work with Bitcoin-Qt too now, but 0.6.0 didn't allow it
+     StartShutdown();
      return "bitcoin server stopping";
  #else
      throw runtime_error("NYI: cannot shut down GUI with RPC command");
diff --cc src/init.cpp
Simple merge
diff --cc src/init.h
Simple merge
diff --cc src/main.cpp
Simple merge
diff --cc src/net.cpp
@@@ -1532,11 -1702,11 +1532,11 @@@ void ThreadMessageHandler2(void* parg
          // Wait and allow messages to bunch up.
          // Reduce vnThreadsRunning so StopNode has permission to exit while
          // we're sleeping, but we must always check fShutdown after doing this.
 -        vnThreadsRunning[2]--;
 +        vnThreadsRunning[THREAD_MESSAGEHANDLER]--;
          Sleep(100);
          if (fRequestShutdown)
-             Shutdown(NULL);
+             StartShutdown();
 -        vnThreadsRunning[2]++;
 +        vnThreadsRunning[THREAD_MESSAGEHANDLER]++;
          if (fShutdown)
              return;
      }
Simple merge
Simple merge
Simple merge
diff --cc src/qtui.h
Simple merge
Simple merge
diff --cc src/util.cpp
Simple merge