[GME-commit] GMESRC/Paradigms/MetaGME/MetaInterpreter2004
BON2Component.cpp,1.28,1.29
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Mon Jun 27 16:54:04 CDT 2005
- Previous message: [GME-commit]
GMESRC/GME/Gme GMEApp.cpp,1.130,1.131 MgaOpenDlg.cpp,1.12,1.13
MgaOpenDlg.h,1.5,1.6
- Next message: [GME-commit] GMESRC/Paradigms/MetaGME/MetaInterpreter2004/Rep
Dumper.cpp,1.29,1.30 Dumper.h,1.9,1.10 Sheet.cpp,1.11,1.12
Sheet.h,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /project/gme-repository/GMESRC/Paradigms/MetaGME/MetaInterpreter2004
In directory escher:/tmp/cvs-serv2070/MetaInterpreter2004
Modified Files:
BON2Component.cpp
Log Message:
Preventing giving erroneous default filename to CFileSaveDlg (would crash.)
Notifying user about erroneous paradigm name (special characters, spaces in rootfolder.)
CVS User: Zoltan Molnar, ISIS (zolmol)
Index: BON2Component.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/Paradigms/MetaGME/MetaInterpreter2004/BON2Component.cpp,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** BON2Component.cpp 21 Jun 2005 17:16:45 -0000 1.28
--- BON2Component.cpp 27 Jun 2005 15:54:00 -0000 1.29
***************
*** 356,359 ****
--- 356,366 ----
initMembers( project);
+ if ( !Sheet::makeValidParadigmName( m_projectName, std::string()))
+ {
+ project->consoleMsg("[MetaInterpreter] Invalid characters in paradigm name (Rootfolder name). Please remove spaces and the special characters, except '.' and '_'. ", MSG_ERROR);
+ if( !global_vars.silent_mode)
+ if( AfxMessageBox("Invalid characters in paradigm name. Continue?", MB_YESNO | MB_ICONWARNING) != IDYES)
+ return;
+ }
if ( Dumper::selectOutputFiles( project, m_projectName, m_dir) > 1)
{
- Previous message: [GME-commit]
GMESRC/GME/Gme GMEApp.cpp,1.130,1.131 MgaOpenDlg.cpp,1.12,1.13
MgaOpenDlg.h,1.5,1.6
- Next message: [GME-commit] GMESRC/Paradigms/MetaGME/MetaInterpreter2004/Rep
Dumper.cpp,1.29,1.30 Dumper.h,1.9,1.10 Sheet.cpp,1.11,1.12
Sheet.h,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the GME-commit
mailing list