v++
This commit is contained in:
@@ -16,7 +16,7 @@ public class TransformationsMenu extends VisualiserMenu {
|
||||
add(new PassesSubMenu("Процедуры", "/icons/Menu/Functions.png",
|
||||
Sapfor.getProceduresTransformationsCodes()));
|
||||
addSeparator();
|
||||
add(new PassesSubMenu("DVM директивы", "/icons/Menu/Dvm.png",
|
||||
add(new PassesSubMenu("Директивы", "/icons/Directives.png",
|
||||
Sapfor.getDVMTransformationsCodes()));
|
||||
addSeparator();
|
||||
add(new PassesSubMenu("Интервалы", "/icons/Menu/Intervals.png",
|
||||
|
||||
@@ -91,7 +91,8 @@ public abstract class Sapfor extends OSDComponent {
|
||||
public static PassCode_2021[] getDVMTransformationsCodes() {
|
||||
return new PassCode_2021[]{
|
||||
PassCode_2021.SPF_RemoveDvmDirectivesToComments,
|
||||
PassCode_2021.SPF_RemoveDvmDirectives
|
||||
PassCode_2021.SPF_RemoveDvmDirectives,
|
||||
PassCode_2021.SPF_RemoveOmpDirectives
|
||||
};
|
||||
}
|
||||
public static PassCode_2021[] getIntervalsTransformationsCodes() {
|
||||
@@ -463,6 +464,7 @@ public abstract class Sapfor extends OSDComponent {
|
||||
//--
|
||||
res.add(PassCode_2021.SPF_RemoveDvmDirectives);
|
||||
res.add(PassCode_2021.SPF_RemoveDvmDirectivesToComments);
|
||||
res.add(PassCode_2021.SPF_RemoveOmpDirectives);
|
||||
//--
|
||||
res.add(PassCode_2021.SPF_LoopEndDoConverterPass);
|
||||
res.add(PassCode_2021.SPF_LoopUnion);
|
||||
|
||||
@@ -62,7 +62,7 @@ public class Visualiser extends Component {
|
||||
//http://www.seostella.com/ru/article/2012/02/05/formatirovanie-daty-v-java.html
|
||||
@Override
|
||||
public void GetVersionInfo() {
|
||||
version = 1030;
|
||||
version = 1031;
|
||||
String pattern = "MMM dd yyyy HH:mm:ss";
|
||||
DateFormat df = new SimpleDateFormat(pattern, Locale.ENGLISH);
|
||||
date_text = df.format(getClassBuildTime());
|
||||
|
||||
@@ -54,7 +54,7 @@ public class PublishComponent extends ComponentsRepositoryPass<Component> {
|
||||
}
|
||||
if (target.getComponentType().equals(ComponentType.Sapfor_F)) {
|
||||
f.fields.cbAssemblyOnServer.setVisible(true);
|
||||
f.fields.cbAssemblyOnServer.setSelected(true);
|
||||
f.fields.cbAssemblyOnServer.setSelected(false);
|
||||
} else {
|
||||
f.fields.cbAssemblyOnServer.setVisible(false);
|
||||
f.fields.cbAssemblyOnServer.setSelected(false);
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
package Visual_DVM_2021.Passes.All;
|
||||
import Visual_DVM_2021.Passes.SapforTransformation;
|
||||
public class SPF_RemoveOmpDirectives extends SapforTransformation {
|
||||
}
|
||||
@@ -113,6 +113,7 @@ public enum PassCode_2021 {
|
||||
SPF_LoopUnrolling,
|
||||
SPF_ResolveCommonBlockConflicts,
|
||||
SPF_SharedMemoryParallelization,
|
||||
SPF_RemoveOmpDirectives,
|
||||
RestoreSavedArrays,
|
||||
MassSelectArrays,
|
||||
DropSavedArrays,
|
||||
@@ -305,6 +306,8 @@ public enum PassCode_2021 {
|
||||
switch (this) {
|
||||
case Undefined:
|
||||
return "?";
|
||||
case SPF_RemoveOmpDirectives:
|
||||
return "Удаление Open MP директив";
|
||||
case CreateGroupFromDirectory:
|
||||
return "Создать группу тестов из папки";
|
||||
case CreateTestFromDirectory:
|
||||
|
||||
BIN
src/icons/Directives.png
Normal file
BIN
src/icons/Directives.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 854 B |
BIN
src/icons/Transformations/SPF_RemoveOmpDirectives.png
Normal file
BIN
src/icons/Transformations/SPF_RemoveOmpDirectives.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
Reference in New Issue
Block a user