Mercurial > ecos-v2_0-branch
changeset 808:6fce82fdc171
* 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:04 +0000 |
| parents | da388bd94ed2 |
| children | 96341d7cdd0f |
| files | host/tools/configtool/ChangeLog host/tools/configtool/standalone/common/cdl_exec.cxx host/tools/configtool/standalone/common/ecosconfig.cxx host/tools/configtool/standalone/wxwin/runtestsdlg.cpp |
| diffstat | 4 files changed, 19 insertions(+), 9 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/common/ecosconfig.cxx +++ b/host/tools/configtool/standalone/common/ecosconfig.cxx @@ -50,7 +50,7 @@ #include "cdl_exec.hxx" #include "ecosconfig.hxx" -#define TOOL_VERSION "1.3.net" +#define TOOL_VERSION "2.0" #define TOOL_COPYRIGHT "Copyright (c) 2002 Red Hat, Inc." #define DEFAULT_SAVE_FILE "ecos.ecc" static char* tool = "ecosconfig";
--- 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
