changeset 983:c6f60d200323

* standalone/common/cdl_exec.cxx: Generate Cygwin text-mode mounts explicitly since text-mode is no longer the default. * standalone/wxwin/runtestsdlg.cpp: Use the rich edit control under Windows to eliminate a 64k limit on the length of text in the test output window and make the window read-only.
author jld
date Thu, 01 May 2003 12:00:51 +0000
parents 282a39769954
children b132c55cd8c6
files host/tools/configtool/ChangeLog host/tools/configtool/standalone/common/cdl_exec.cxx host/tools/configtool/standalone/wxwin/runtestsdlg.cpp
diffstat 3 files changed, 18 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/host/tools/configtool/ChangeLog
+++ b/host/tools/configtool/ChangeLog
@@ -1,3 +1,12 @@
+2003-05-01  John Dallaway  <jld@ecoscentric.com>
+
+	* standalone/common/cdl_exec.cxx: Generate Cygwin text-mode mounts
+	explicitly since text-mode is no longer the default.
+
+	* standalone/wxwin/runtestsdlg.cpp: Use the rich edit control under
+	Windows to eliminate a 64k limit on the length of text in the test
+        output window and make the window read-only.
+
 2003-04-25  John Dallaway  <jld@ecoscentric.com>
 
 	* standalone/wxwin/docsystem.cpp: Accommodate the latest HTML doc
--- a/host/tools/configtool/standalone/common/cdl_exec.cxx
+++ b/host/tools/configtool/standalone/common/cdl_exec.cxx
@@ -2,6 +2,7 @@
 //                                                                          
 // ----------------------------------------------------------------------------
 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
+// Copyright (C) 2003 John Dallaway
 //
 // This program is part of the eCos host tools.
 //
@@ -477,13 +478,13 @@ cdl_exec::cmd_tree ()
             status = true;
 #ifdef __CYGWIN__
             char buf[100];
-            strcpy(buf, "mount.exe -f x: /ecos-x");
+            strcpy(buf, "mount.exe -f -t -u x: /ecos-x");
             //printf("Cwd_win32: %s\n", cwd_win32);
 
             if ( cwd_win32[1] == ':' )
             {
-                buf[13] = cwd_win32[0];
-                buf[22] = cwd_win32[0];
+                buf[19] = tolower(cwd_win32[0]);
+                buf[28] = tolower(cwd_win32[0]);
                 system(buf);
             }
 
@@ -491,8 +492,8 @@ cdl_exec::cmd_tree ()
 
             if ( repository[1] == ':' )
             {
-                buf[13] = repository[0];
-                buf[22] = repository[0];
+                buf[19] = tolower(repository[0]);
+                buf[28] = tolower(repository[0]);
                 system(buf);
             }
             if ( !install_prefix.empty() )
@@ -500,8 +501,8 @@ cdl_exec::cmd_tree ()
                 //printf("Install prefix: %s\n", install_prefix.c_str());
                 if ( install_prefix[1] == ':' )
                 {
-                    buf[13] = install_prefix[0];
-                    buf[22] = install_prefix[0];
+                    buf[19] = tolower(install_prefix[0]);
+                    buf[28] = tolower(install_prefix[0]);
                     system(buf);
                 }
             }
--- a/host/tools/configtool/standalone/wxwin/runtestsdlg.cpp
+++ b/host/tools/configtool/standalone/wxwin/runtestsdlg.cpp
@@ -988,7 +988,7 @@ void ecRunTestsOutputDialog::CreateContr
 {
     wxSizer *item0 = new wxBoxSizer( wxVERTICAL );
 
-    wxTextCtrl *item1 = new wxTextCtrl( parent, ecID_RUN_TESTS_OUTPUT_TEXT, "", wxDefaultPosition, wxSize(80,40), wxTE_MULTILINE );
+    wxTextCtrl *item1 = new wxTextCtrl( parent, ecID_RUN_TESTS_OUTPUT_TEXT, "", wxDefaultPosition, wxSize(80,40), wxTE_MULTILINE|wxTE_READONLY|wxTE_RICH|wxCLIP_CHILDREN );
     item0->Add( item1, 1, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
 
     // Add context-sensitive help