gcc/libjava/include
Mohan Embar 83c02e38a3 configure.in: Added new MinGW-specific configure flag --with-win32-nlsapi.
* configure.in: Added new MinGW-specific configure flag
	--with-win32-nlsapi.
	Added new AC_DEFINE MINGW_LIBGCJ_UNICODE.
	Add -lunicows to MinGW SYSTEMSPEC if --with-win32-nlsapi
	is set to unicows.
	* configure: Rebuilt.
	* include/config.h.in: Rebuilt.
	* win32.cc (_Jv_Win32NewString): Implemented.
	(nativeToUnicode): New helper function defined only for
	non-UNICODE builds.
	(unicodeToNative): Likewise.
	(_Jv_Win32TempString): Implemented.
	(lots): Refactored using tchar.h macros.
	(WSAEventWrapper): Use _Jv_Win32NewString.
	(_Jv_platform_initialize): Use GetModuleFileNameA instead
	of GetModuleFileName.
	(_Jv_platform_initProperties): Use _Jv_Win32NewString.
	Use temporary stack buffer instead of a heap buffer.
	* include/win32.h
	Added defines for UNICODE and _UNICODE if MINGW_LIBGCJ_UNICODE is
	defined; added tchar.h include.
	(_Jv_Win32TempString): Declared new helper class.
	(JV_TEMP_STRING_WIN32): New helper macro.
	(_Jv_Win32NewString): Declared new helper method.
	* java/io/natFileDescriptorWin32.cc (open): Use
	JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
	(write): Reformatted slightly.
	* java/io/natFileWin32.cc (lots): Use tchar.h macros;
	use JV_TEMP_STRING_WIN32 instead of JV_TEMP_UTF_STRING.
	(getCanonicalPath): Use _Jv_Win32NewString instead of
	JvNewStringUTF.
	(performList): Likewise.
	* java/lang/natWin32Process.cc (ChildProcessPipe):
	Use tchar.h macros.
	(startProcess): Use tchar.h macros, JV_TEMP_STRING_WIN32,
	and UNICODE environment flag for CreateProcess.
	* java/net/natNetworkInterfaceWin32.cc
	(winsock2GetRealNetworkInterfaces): Use tchar.h macros and
	_Jv_Win32NewString.

From-SVN: r74201
2003-12-02 22:26:50 +00:00
..
.cvsignore cvsignore: New file to ignore files generated during build. 2002-10-10 05:21:53 +00:00
Makefile.am Makefile.am (AUTOMAKE_OPTIONS): Remove no-installinfo. 2001-04-04 23:38:53 +00:00
Makefile.in mips-signal.h: New file. 2003-10-22 16:35:17 +00:00
boehm-gc.h boehm.cc: Remove stray semicolon. 2002-12-28 06:38:52 +00:00
config.h.in configure.in: Added new MinGW-specific configure flag --with-win32-nlsapi. 2003-12-02 22:26:50 +00:00
default-signal.h prims.cc (catch_segv): Create exception in handler. 2003-06-13 12:20:45 +00:00
dwarf2-signal.h prims.cc (catch_segv): Create exception in handler. 2003-06-13 12:20:45 +00:00
i386-signal.h i386-signal.h (RESTORE): New. 2003-07-30 14:50:02 +00:00
java-assert.h All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
java-chardecomp.h unicode-decomp.pl: Move from chartables.pl... 2002-03-06 18:54:45 +00:00
java-chartables.h unicode-decomp.pl: Move from chartables.pl... 2002-03-06 18:54:45 +00:00
java-cpool.h [multiple changes] 2000-03-26 20:33:04 +00:00
java-insns.h verify.cc (construct_primitive_array_type): New case. 2002-04-26 22:39:29 +00:00
java-interp.h lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New. 2003-10-24 09:29:43 +00:00
java-props.h natSystem.cc (init_properties): Change sourceware reference to sources.redhat.com. 2000-08-21 06:05:20 +00:00
jni.h jni.cc (JNI_CreateJavaVM): Remove JNIEXPORT. 2003-11-12 05:56:44 +00:00
jvm.h Constructor.java (toString): Avoid extra whitespace on constructor with no modifiers. 2003-10-26 02:25:42 +00:00
jvmpi.h Forgot to add this file before... 2000-04-02 15:41:00 +00:00
mips-signal.h mips-signal.h: New file. 2003-10-22 16:35:17 +00:00
no-gc.h All files: Updated copyright information. 2000-03-07 19:55:28 +00:00
no-threads.h posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor. 2003-10-21 04:46:19 +00:00
posix-threads.h posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor. 2003-10-21 04:46:19 +00:00
posix.h win32.cc: (_Jv_pipe) Implemented. 2003-10-17 18:44:42 +00:00
powerpc-signal.h Oops, accidentally committed the 3.3 version to mainline. Undone. 2003-06-18 15:29:12 +00:00
s390-signal.h prims.cc (catch_segv): Create exception in handler. 2003-06-13 12:20:45 +00:00
sparc-signal.h prims.cc (catch_segv): Create exception in handler. 2003-06-13 12:20:45 +00:00
stamp-h.in * include/stamp-h.in: New file. 1999-07-19 18:03:31 +00:00
win32-signal.h prims.cc (catch_segv): Create exception in handler. 2003-06-13 12:20:45 +00:00
win32-threads.h posix-threads.cc (_Jv_CondNotify,_Jv_CondNotifyAll): Rename _Jv_PthreadCheckMonitor to _Jv_MutexCheckMonitor. 2003-10-21 04:46:19 +00:00
win32.h configure.in: Added new MinGW-specific configure flag --with-win32-nlsapi. 2003-12-02 22:26:50 +00:00
x86_64-signal.h prims.cc (catch_segv): Create exception in handler. 2003-06-13 12:20:45 +00:00