\r
"""The NVDA launcher. It can handle some command-line arguments (including help). It sets up logging, and then starts the core."""\r
\r
-import ctypes\r
-\r
-# #2729: Python's tempfile.get_default_tempdir() has a bug when handling multibyte paths. os.path.normcase is used incorrectly.\r
-# Override this to use the temp path as returned by Windows.\r
-import tempfile\r
-tempPath = ctypes.create_string_buffer(260)\r
-if ctypes.windll.kernel32.GetTempPathA(260, tempPath) > 0:\r
- # Strip trailing backslash which is always included.\r
- tempfile.tempdir = tempPath.value[:-1]\r
+import pythonMonkeyPatches\r
\r
+import ctypes\r
import os\r
import sys\r
import locale\r
Performs miscellaneous tasks which need to be performed in a separate process.\r
"""\r
\r
+import pythonMonkeyPatches\r
+\r
import sys\r
import os\r
import logHandler\r
--- /dev/null
+#A part of NonVisual Desktop Access (NVDA)\r
+#Copyright (C) 2006-2013 NVDA Contributors <http://www.nvda-project.org/>\r
+#This file is covered by the GNU General Public License.\r
+#See the file COPYING for more details.\r
+\r
+"""Fixes some broken features in Python such as gettempdir"""\r
+\r
+# #2729: Python's tempfile.get_default_tempdir() has a bug when handling multibyte paths. os.path.normcase is used incorrectly.\r
+# Override this to use the temp path as returned by Windows.\r
+import ctypes\r
+import tempfile\r
+tempPath = ctypes.create_string_buffer(260)\r
+if ctypes.windll.kernel32.GetTempPathA(260, tempPath) > 0:\r
+ # Strip trailing backslash which is always included.\r
+ tempfile.tempdir = tempPath.value[:-1]\r
- Text selection is now correctly shown on a braille display in applications such as Microsoft word 2003 and Internet Explorer edit controls.\r
- It is again possible to select text in a backward direction in Microsoft Word while Braille is enabled.\r
- When reviewing, backspacing or deleting characters In Scintilla edit controls, NVDA correctly announces multibyte characters. (#2855)\r
+- NVDA will no longer fail to install when the user's profile path contains certain multibyte characters. (#2729)\r
\r
\r
== Changes for Developers ==\r