Remove tx from AlreadyAskedFor list once we receive it, not when we process it.
build: osx: Fix incomplete framework packaging for codesigning

Starting with 10.9, Framework versions must be signed individually, rather
than as a single bundle version, in order to be properly codesigned. This
change ensures that the proper plist files and symlinks are present prior to
packaging.
[Qt] add all used colors in txtablemodel to guiconstants

- add colors used in TX status decoration
[Qt] simplify return code and return values in txtablemodel

- also move an added space in a string where it belongs
Clean up CMerkleTx::SetMerkleBranch.

The case SetMerkleBranch(NULL) was never actually used, and thus the
involved code (loading the block from disk) can be removed and the
implementation simplified.
Move g_signals.SetBestChain(..) below SyncWithWallets
[Qt] update form files for setting autoDefault explicitly to false

- also fixes indentation in one file (auto fixed by Qt Designer)
- removes several default parameters, which are not needed in the files
- related to #4840 (but not intended as fix for a no-bug)
Fixing compiler warning C4800: 'type' forcing value to bool 'true' or 'false'
Track modified size in TxMemPoolEntry so that we can correctly compute priority.
Decouple CChain from mapBlockIndex
Move CBlockIndex, CChain and related code out of main
Make script_{valid,invalid}.json validation flags configurable
Add init scripts and docs for Upstart and OpenRC
netbase: Make SOCKS5 negotiation interruptible

Avoids that SOCKS5 negotiation will hold up the shutdown process.

- Sockets can stay in non-blocking mode, no need to switch it on/off
  anymore
- Adds a timeout (20 seconds) on SOCK5 negotiation. This should be
  enough for even Tor to get a connection to a hidden service, and
  avoids blocking the opencon thread indefinitely on a hanging proxy.

Fixes #2954.
When reindexing check for file before trying to open (refactored)
Catch error when done reading files
Avoid reject message feedback loops
Merge pull request #4758 from theuni/osx-dmg-codesign-rebase

build: osx: Fix incomplete framework packaging for codesigning
Merge pull request #4876

6022b5d Make script_{valid,invalid}.json validation flags configurable (Pieter Wuille)
Merge pull request #4896

07d5287 Catch error when done reading files (Suhas Daftuar)