Fixed a number of bugs in "preserve first case" feature of Advanced F&R (addressing #8383).
When agreeing to wrap-around, but nothing is found, keep the cursor where it originally was.
Now this is coherent with Advanced F&R.
I seem to need this to let the 'Lang' keyword work, within *-in.txt files.
Change default of Japanese docs to dvipdfm(x)
CMake: xvkbd: Compile fix if none of the libraries is found

If no libraries are found, XVFBDLIBS is not initialized and the command "list(REMOVE_DUPLICATES XVFBDLIBS)" fails. So, initialize XVFBDLIBS beforehand.
CMake: xvkbd: Fix spelling
CMake: xvkbd: Check whether the list exists

Instead of adding an empty element to the list, just check properly whether the list exists.
Export tests in cmake build: Do not use the default userdir while
running lyx.
typo
1.) Make po-file differences more robust.
2.) Automatic search for repository-type (git, hg, svn)
3.) Unified command-line  e.g for revision params (-rHEAD~3 == -rHEAD-3 == -r-3).
Fix problem with Initial layout conversion reported by Scott on
the list.
Move helper functions where they belong.
Remove debugging code.
Simplify a bunch of lyx2lyx code.
Fix dumb mistake.
Somehow this line got commented out.
Convert "i = i +1" to "i += 1" and similar.
Merge branch 'master' of git://git.lyx.org/lyx

# By Richard Heck (7) and others
# Via Richard Heck
* 'master' of git://git.lyx.org/lyx:
  Convert "i = i +1" to "i += 1" and similar.
  Somehow this line got commented out.
  Fix dumb mistake.
  Simplify a bunch of lyx2lyx code.
  Remove debugging code.
  Move helper functions where they belong.
  Fix problem with Initial layout conversion reported by Scott on the list.
  1.) Make po-file differences more robust. 2.) Automatic search for repository-type (git, hg, svn) 3.) Unified command-line  e.g for revision params (-rHEAD~3 == -rHEAD-3 == -r-3).
  typo
  Export tests in cmake build: Do not use the default userdir while running lyx.
  CMake: xvkbd: Check whether the list exists
  CMake: xvkbd: Fix spelling
  CMake: xvkbd: Compile fix if none of the libraries is found
  Change default of Japanese docs to dvipdfm(x)
  I seem to need this to let the 'Lang' keyword work, within *-in.txt files.
  When agreeing to wrap-around, but nothing is found, keep the cursor where it originally was. Now this is coherent with Advanced F&R.
  Fixed a number of bugs in "preserve first case" feature of Advanced F&R (addressing #8383).

Conflicts:
	lib/doc/ja/UserGuide.lyx