gcc/libjava/java/net
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
..
Authenticator.java PushbackInputStream.java, [...]: Merged new versions from classpath. 2003-05-25 11:40:19 +00:00
BindException.java BindException.java, [...]: add/update of some @since/@deprecated 2002-08-27 17:47:27 +00:00
ConnectException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ContentHandler.java PushbackInputStream.java, [...]: Merged new versions from classpath. 2003-05-25 11:40:19 +00:00
ContentHandlerFactory.java ContentHandlerFactory.java, [...]: Removed redundant modifiers. 2003-10-11 18:39:35 +00:00
DatagramPacket.java 2003-11-26 Michael Koch <konqueror@gmx.de> 2003-11-26 10:11:45 +00:00
DatagramSocket.java 2003-12-02 Michael Koch <konqueror@gmx.de> 2003-12-02 15:23:23 +00:00
DatagramSocketImpl.java 2003-06-08 Michael Koch <konqueror@gmx.de> 2003-06-08 09:25:54 +00:00
DatagramSocketImplFactory.java ContentHandlerFactory.java, [...]: Removed redundant modifiers. 2003-10-11 18:39:35 +00:00
FileNameMap.java ContentHandlerFactory.java, [...]: Removed redundant modifiers. 2003-10-11 18:39:35 +00:00
HttpURLConnection.java HttpURLConnection.java, [...]: Reworked import statements. 2003-06-19 15:08:22 +00:00
Inet4Address.java Font.java, [...]: Removed some redundant obj == null checks. 2003-11-11 12:22:20 +00:00
Inet6Address.java Font.java, [...]: Removed some redundant obj == null checks. 2003-11-11 12:22:20 +00:00
InetAddress.java 2003-11-30 Jeff Sturm <jsturm@one-point.com> 2003-11-30 21:02:56 +00:00
InetSocketAddress.java 2003-11-26 Michael Koch <konqueror@gmx.de> 2003-11-26 10:41:02 +00:00
JarURLConnection.java 2003-10-13 Michael Koch <konqueror@gmx.de> 2003-10-13 05:34:53 +00:00
MalformedURLException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
MulticastSocket.java 2003-11-26 Michael Koch <konqueror@gmx.de> 2003-11-26 14:33:41 +00:00
natInetAddressNoNet.cc 2003-11-30 Jeff Sturm <jsturm@one-point.com> 2003-11-30 21:02:56 +00:00
natInetAddressPosix.cc 2003-11-30 Jeff Sturm <jsturm@one-point.com> 2003-11-30 21:02:56 +00:00
natInetAddressWin32.cc 2003-11-30 Jeff Sturm <jsturm@one-point.com> 2003-11-30 21:02:56 +00:00
natNetworkInterfaceNoNet.cc configure.in: Create links to architecture dependent files... 2003-03-18 06:01:16 +00:00
natNetworkInterfacePosix.cc configure.in: Create links to architecture dependent files... 2003-03-18 06:01:16 +00:00
natNetworkInterfaceWin32.cc configure.in: Added new MinGW-specific configure flag --with-win32-nlsapi. 2003-12-02 22:26:50 +00:00
NetPermission.java NetPermission.java, [...]: New versions from classpath. 2003-05-26 12:58:02 +00:00
NetworkInterface.java 2003-10-02 Guilhem Lavaux <guilhem@kaffe.org> 2003-10-02 19:29:31 +00:00
NoRouteToHostException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
PasswordAuthentication.java NetPermission.java, [...]: New versions from classpath. 2003-05-26 12:58:02 +00:00
PortUnreachableException.java Makefile.in: Rebuilt. 2002-08-21 18:54:07 +00:00
ProtocolException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
ServerSocket.java 2003-12-02 Michael Koch <konqueror@gmx.de> 2003-12-02 15:23:23 +00:00
Socket.java 2003-12-02 Michael Koch <konqueror@gmx.de> 2003-12-02 15:23:23 +00:00
SocketAddress.java 2003-01-14 Michael Koch <konqueror@gmx.de> 2003-01-14 21:44:48 +00:00
SocketException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
SocketImpl.java SocketImpl.java (toString): Display the remote address of an unconnected server socket as "0.0.0.0/0.0.0.0". 2003-08-01 21:08:33 +00:00
SocketImplFactory.java ContentHandlerFactory.java, [...]: Removed redundant modifiers. 2003-10-11 18:39:35 +00:00
SocketOptions.java ContentHandlerFactory.java, [...]: Removed redundant modifiers. 2003-10-11 18:39:35 +00:00
SocketPermission.java 2003-10-29 Michael Koch <konqueror@gmx.de> 2003-10-29 10:53:19 +00:00
SocketTimeoutException.java Makefile.in: Rebuilt. 2002-08-21 18:54:07 +00:00
UnknownHostException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
UnknownServiceException.java AbstractMethodError.java: Re-merged with Classpath. 2002-06-15 19:45:34 +00:00
URI.java Forgot to add this to commit line on 2003/05/02. Its in Changelog already. 2003-05-05 05:10:47 +00:00
URISyntaxException.java Makefile.in: Rebuilt. 2002-08-21 18:54:07 +00:00
URL.java 2003-11-26 Michael Koch <konqueror@gmx.de> 2003-11-26 11:45:31 +00:00
URLClassLoader.java Makefile.in: Rebuilt. 2003-08-28 22:17:37 +00:00
URLConnection.java 2003-10-13 Michael Koch <konqueror@gmx.de> 2003-10-13 05:34:53 +00:00
URLDecoder.java 2003-03-02 Michael Koch <konqueror@gmx.de> 2003-03-02 20:11:13 +00:00
URLEncoder.java URLEncoder.java (encode(String)): Use platform default encoding. 2003-07-22 18:03:47 +00:00
URLStreamHandler.java 2003-11-26 Michael Koch <konqueror@gmx.de> 2003-11-26 21:25:41 +00:00
URLStreamHandlerFactory.java 2003-10-13 Michael Koch <konqueror@gmx.de> 2003-10-13 05:03:39 +00:00