Fix a bug in the check for whether to intercept a private library heap
import, and add an assert to try and catch heap isolation bugs.

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1710 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
fixes issue 977

Swap TEB.NlsCache

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1711 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
documentation improvements:
+ replace "Vista" with "Vista or higher"
+ added a section on passing options to clients
+ added "--" to the command line examples
+ added i#731 re-relativize notes to the standalone section
+ add a release note that utf8 support is not in all libs and tools

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1712 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
i#887: Add another inline spill slot to fix client.inline for gcc47 -O0

Fixes issue 887.

Review URL: https://codereview.appspot.com/6845054

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1714 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
docs: Pull deployment out into its own page

This creates a top-level "Deployment" link in the left nav menu.

Review URL: https://codereview.appspot.com/6855055

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1716 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
This breaks source compatibility.

The post-syscall event is now mediated and ordered by drmgr.
Thus, clients should call drmgr_register_post_syscall_event()
or drmgr_register_post_syscall_event_ex() rather than
dr_register_post_syscall_event().

This is required for drsyscall's unknown syscall handling.

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1717 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
Dr. Memory i#1086:
+ relax asserts on private TLS state

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1718 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
i#980: disable -early_inject for CLIENT_INTERFACE builds on Windows
due to incompatbility with private kernel32

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1719 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
fixes issue 981
+ initialize peb swap state in case a windows library
  is loaded later

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1720 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
fixes issue 983
+ fix module list addition error to avoid leak on exit

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1721 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
fixed issue 552
- cleanup and call client exit event in execute_default_action.
- update execute_default_action to tell caller if restore untranslated state.
- add segfault test

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1725 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
fixes issue 982
+ add utf16_to_utf8_size() and use it in dr_wstrdup()

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1726 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
fixes issue 984

We cannot use whether a system library has been loaded as a condition
for whether to swap the state, as we need to make that decision at
gencode creation time.  Rather than going back and re-generating
gencode and handling complexities of changing strategies later, I
downgraded the optimization to just check whether there's a client
library.

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1727 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
fixes issue 985

3 bug fixes related to swapping app and priv TLS state:

1) On a callback, save the app state in the prior dcontext for
   proper restore on cbret.

2) Relax is_using_app_peb() asserts as the app state could have changed
   (parallel to i#981).

3) Actually use the cached pre-init values for the initial app state,
   and clear the priv values.

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1728 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6
fixes issue 792

Use a proper doxygen reference instead of a hardcoded html file name, which
can change.

git-svn-id: https://dynamorio.googlecode.com/svn/trunk@1729 49cc7528-f6fd-11dd-9d1a-b59b2e1864b6