- Timestamp:
- 03/28/19 16:54:20 (5 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Core.Views
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/branches/2520_PersistenceReintegration/HeuristicLab.Core.Views merged eligible /branches/2839_HiveProjectManagement/HeuristicLab.Core.Views merged eligible /branches/2947_ConfigurableIndexedDataTable/HeuristicLab.Core.Views merged eligible /branches/2965_CancelablePersistence/HeuristicLab.Core.Views merged eligible /stable/HeuristicLab.Core.Views merged eligible /trunk/HeuristicLab.Core.Views merged eligible /branches/1721-RandomForestPersistence/HeuristicLab.Core.Views 10321-10322 /branches/2892_LR-prediction-intervals/HeuristicLab.Core.Views 15743-16388 /branches/2915-AbsoluteSymbol/HeuristicLab.Core.Views 15943-16355 /branches/Algorithms.GradientDescent/HeuristicLab.Core.Views 5516-5520 /branches/Benchmarking/sources/HeuristicLab.Core.Views 6917-7005 /branches/CloningRefactoring/HeuristicLab.Core.Views 4656-4721 /branches/CodeEditor/HeuristicLab.Core.Views 11700-11806 /branches/DataAnalysis Refactoring/HeuristicLab.Core.Views 5471-5808 /branches/DataAnalysis SolutionEnsembles/HeuristicLab.Core.Views 5815-6180 /branches/DataAnalysis/HeuristicLab.Core.Views 4458-4459,4462,4464 /branches/DataPreprocessing/HeuristicLab.Core.Views 10085-11101 /branches/GP.Grammar.Editor/HeuristicLab.Core.Views 6284-6795 /branches/GP.Symbols (TimeLag, Diff, Integral)/HeuristicLab.Core.Views 5060 /branches/HLScript/HeuristicLab.Core.Views 10331-10358 /branches/HeuristicLab.DatasetRefactor/sources/HeuristicLab.Core.Views 11570-12508 /branches/HeuristicLab.Problems.DataAnalysis.Trading/HeuristicLab.Core.Views 6123-9799 /branches/HeuristicLab.Problems.Orienteering/HeuristicLab.Core.Views 11130-12721 /branches/HiveStatistics/sources/HeuristicLab.Core.Views 12440-12877 /branches/LogResidualEvaluator/HeuristicLab.Core.Views 10202-10483 /branches/NET40/sources/HeuristicLab.Core.Views 5138-5162 /branches/NSGA-II Changes/HeuristicLab.Core.Views 12033-12122 /branches/ParallelEngine/HeuristicLab.Core.Views 5175-5192 /branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Core.Views 7568-7810 /branches/QAPAlgorithms/HeuristicLab.Core.Views 6350-6627 /branches/Restructure trunk solution/HeuristicLab.Core.Views 6828 /branches/RuntimeOptimizer/HeuristicLab.Core.Views 8943-9078 /branches/ScatterSearch (trunk integration)/HeuristicLab.Core.Views 7787-8333 /branches/SlaveShutdown/HeuristicLab.Core.Views 8944-8956 /branches/SpectralKernelForGaussianProcesses/HeuristicLab.Core.Views 10204-10479 /branches/SuccessProgressAnalysis/HeuristicLab.Core.Views 5370-5682 /branches/Trunk/HeuristicLab.Core.Views 6829-6865 /branches/UnloadJobs/HeuristicLab.Core.Views 9168-9215 /branches/VNS/HeuristicLab.Core.Views 5594-5752 /branches/crossvalidation-2434/HeuristicLab.Core.Views 12948-12950 /branches/histogram/HeuristicLab.Core.Views 5959-6341
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
-
branches/2521_ProblemRefactoring/HeuristicLab.Core.Views/3.3/Clipboard.cs
r16692 r16723 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 28 28 using System.Threading; 29 29 using System.Windows.Forms; 30 using HEAL.Attic; 30 31 using HeuristicLab.Common; 31 32 using HeuristicLab.MainForm; … … 156 157 foreach (string filename in items) { 157 158 try { 158 T item = XmlParser.Deserialize<T>(filename); 159 var ser = new ProtoBufSerializer(); 160 T item = (T)ser.Deserialize(filename); 159 161 OnItemLoaded(item, progressBar.Maximum / items.Length); 160 } 161 catch (Exception) { } 162 } catch (Exception) { 163 try { 164 // try old format if protobuf deserialization fails 165 T item = XmlParser.Deserialize<T>(filename); 166 OnItemLoaded(item, progressBar.Maximum / items.Length); 167 } catch (Exception) { } 168 } 162 169 } 163 170 OnAllItemsLoaded(); … … 199 206 i++; 200 207 SetEnabledStateOfContentViews(item, false); 201 XmlGenerator.Serialize(item, ItemsPath + Path.DirectorySeparatorChar + i.ToString("00000000") + ".hl", CompressionLevel.Optimal); 208 var ser = new ProtoBufSerializer(); 209 ser.Serialize(item, ItemsPath + Path.DirectorySeparatorChar + i.ToString("00000000") + ".hl"); 202 210 OnItemSaved(item, progressBar.Maximum / listView.Items.Count); 203 211 }
Note: See TracChangeset
for help on using the changeset viewer.