Remove debug cruft that produces unhelpful messages

This seems to have been included in an ancient commit (927f289)
by mistake. It was causing unsettling messages when registering COM
modules on Linux.

Change-Id: I19a766c65688573fe114afb3d6720430de3fed7e
Move check for xulrunner to external file in environ

This change is needed to support packaging localizations in FieldWorks
(FWNX-489).  Building and packaging localizations does not need xulrunner,
and can be messed up by looking for it and not finding it.

Change-Id: I367786fd73a6aba4438839aa4954b16a6a60a75f
Fix a compilation error in ICU on Ubuntu Precise

Updating the patch brings in an additional change (in ParagraphLayout.cpp)
that was already made to Icu40src.zip in changelist 28233, which modified
the zip file but didn't update the patch file.

Change-Id: I62d93f5713a9d4a4cfe28945122ed390ccb5cc3b
Clean up the use of DCs in Views testing

This was working on Linux only because of a hack. Refactor to use a common
function that abstracts the platform differences.

Change-Id: I9e92eedca9cde70e4114d8ba76cc706129ca9649
Don't use undefined error codes on Linux

Many Win32 error codes never arise on Linux and therefore don't need to be
defined. Previously they were being defined in libcom, but we're now
removing any that aren't necessary.

Change-Id: I98911dac15b0270fce6ee465eddcd43b7c8928f9
Remove unnecessary Windows-specific constructs on Linux

Change-Id: Ib6398c3982da1f83fb6707b935aea81d5aa9a480
Disable use of DllMain on Linux

These uses are spurious since DllMain isn't called by by the OS on Linux,
so it doesn't make sense to call it explicitly in tests.

Currently it is called by the RegisterServer utility on Linux, but this
doesn't cause anything significant to happen.

Change-Id: I957a0e39f8eb4910c4a72968c78a27ce7e9a3df3
Adjust to changes in the way ManagedComBridge is made on Linux

Change-Id: I88258cffe3077366a0f4babf07e4931cd0b9da17
Adjust to changes in libcom headers on Linux

Change-Id: Iba377cc4f969eaf45451069e5f8585cef3d781b3
Patch over FWNX-785

"Sometimes Enter appears to do nothing in the Analyze tab of Texts"
because in Mono closing a dialog activates the main window, which then
selects a control that grabs the keyboard input.  The patch explicitly
selects the sandbox after the main window has been activated.

Two other crashing bugs encountered in passing are also fixed: one due to
a null object and one due to a disposed object.  (The null object crash
was introduced after 7.0, resulting in a merge conflict while cherry
picking from develop to support/7.0-Linux.)

Change-Id: Ie57acb9ad3a623f921844111219e26ee960ef894
Finish ManagedComBridge build changes on Linux

ManagedComBridge is now built and installed as a part of COM.

This is a fixup for:

  911336a "Adjust to changes in the way ManagedComBridge is made on Linux"

Change-Id: I1aa1e3fc95bbc445d918b1af9a4fa5d81ba56fea
Finish setup for accomplishing FWNX-610

The setup represented here (with the tarball created directly from sources
downloaded via svn) builds a source package with "dpkg-buildpackage -S",
and then builds binary packages for ubuntu lucid through precise and for
debian wheezy.

fieldworks-libenchant_1.6.1-1 is the primary package that fieldworks
proper needs.

Change-Id: I63848afd709f25bddc068f1fd3755fc3b2308e9a
Fix FWNX-918 and the crash reported recently in FWNX-114

Both of these bugs involve the encoding converters, and the actual fix for
FWNX-918 is in the encoding converter C# code.  Since that's stored in hg
instead of git, the fix is harder to review, but the diffs are available
upon request.

Change-Id: I89fa15f58fdd583ca568148779961389c0c7e86f
Fix FWNX-919 "Crash on Category edit pane ..."

Change-Id: I96a4f9f6cd30f6c64b06198ef0d535b011e28815
Fix FWNX-921 "Crash when clicking on ... drop down box"

This fix is cherry-picked from commits 8415963 and a22fdaf on the develop
branch, which fixed FWNX-748 "Crash clicking on 'Word Category' drop down
box" and FWNX-908 "Crash closing combo" respectively.

Change-Id: I4f1c46d929aa1522d354ce073b0d106fd5b41e9e
Fix FWNX-862 for end user machines

Fix clipboard handling to work even after the program shuts down from
one of those pretty green dialog boxes.  (The real work was done earlier
by Eberhard.)

Change-Id: I6f50d804c5edc4d3eebf8a124612e3e8347a7c52
Add environ-xulrunner to the list of files to install on Linux

environ-xulrunner was created in 61f7435

Change-Id: Ic69cf873c0580d75a1f95f4f3e34d423dc6336fb
Search can crash in Concordance when showing Text Chart

See FWNX-924 for details.

Change-Id: Ibbd90c881323599f18e7a84ae107d170ba9e9738
Workaround for crash FWNX-938/FWNX-946

It looks like on Linux we sometimes get a crash because we don't
have a write lock on the current thread. This change checks for the
write lock before it tries to exit it.

Change-Id: Ie771f7f98b0b7a3389beeb4bc5c21860af1b4d58
Don't do any building during the install phase on Linux

This was causing a package build failure on Lucid, because the environment
is not set up for building during the install phase.

Change-Id: I3ae0741c77b89312385f93d2486e3442986c1b0f