ide: SetupSVN is now reading predefined revisions from the website roadmap/roadmap history

git-svn-id: svn://ultimatepp.org/upp/trunk@12955 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2019-04-06 12:46:39 +00:00
parent 48c8d33138
commit 1769de54a5
5 changed files with 41 additions and 11 deletions

View file

@ -353,12 +353,6 @@ void SelectPackageDlg::ToolBase(Bar& bar)
bar.Add(base.IsCursor(), "Remove assembly", THISBACK(OnBaseRemove))
.Key(K_CTRL_DELETE);
Vector<String> d = GetSvnDirs();
if(d.GetCount()) {
bar.Separator();
for(int i = 0; i < d.GetCount(); i++)
bar.Add("Synchronize " + d[i], IdeImg::svn_dir(), THISBACK1(SyncSvnDir, d[i]));
bar.Add("Synchronize everything..", IdeImg::svn(), THISBACK(SyncSvnDirs));
}
if(HasSvn()) {
bar.Separator();
bar.Add("Checkout and setup U++ SVN trunk sources..", [=] {
@ -367,6 +361,12 @@ void SelectPackageDlg::ToolBase(Bar& bar)
SyncBase(vars);
});
}
if(d.GetCount()) {
bar.Separator();
for(int i = 0; i < d.GetCount(); i++)
bar.Add("Synchronize " + d[i], IdeImg::svn_dir(), THISBACK1(SyncSvnDir, d[i]));
bar.Add("Synchronize everything..", IdeImg::svn(), THISBACK(SyncSvnDirs));
}
}
void SelectPackageDlg::OnBaseAdd()

View file

@ -13,11 +13,40 @@ bool SetupSVNTrunk()
#endif
static MapConvert revcv;
ONCELOCK {
for(int pass = 0; pass < 2; pass++) {
HttpRequest r(pass ? "https://www.ultimatepp.org/www$uppweb$RoadmapHistorical$en-us.html"
: "https://www.ultimatepp.org/www$uppweb$Roadmap$en-us.html");
r.GlobalTimeout(10000);
StringStream ss(r.Execute());
while(!ss.IsEof()) {
String l = ss.GetLine();
if(l.Find("(rev") >= 0) {
String r;
int v = 0;
for(int c : l)
if(c == '<')
v++;
else
if(c == '>')
v--;
else
if(v == 0)
r.Cat(c);
int q = r.FindAfter("(rev");
if(q >= 0) {
int rev = atoi(~r + q);
revcv.Add(rev, r);
}
}
}
}
#if 0
revcv.Add(11873, "2018.1 (rev 11873) (Mar 2018)");
revcv.Add(11540, "2017.2 (rev 11540) (Dec 2017)");
revcv.Add(10804, "2017.1 (rev 10804) (Jan 2017)");
revcv.Add(9251, "2015.2 (rev 9251) (Dec 2015)");
revcv.Add(8227, "2015.1 (rev 8227) (Mar 2015)");
#endif
}
dlg.revision.SetConvert(revcv);
dlg.revision.DropWidthZ(200);

View file

@ -4,7 +4,7 @@ topic "Ultimate++ MacOS Installation";
[b42;a42;ph2 $$3,3#45413000475342174754091244180557:text]
[ $$0,0#00000000000000000000000000000000:Default]
[{_}%EN-US
[s1; Ultimate`+`+ MacOS Installation&]
[s1; Ultimate`+`+ on Mac OS&]
[s2; Table of contents&]
[s0; &]
[s0; [^`#1^2 1. Installation]&]

View file

@ -1,6 +1,6 @@
TITLE("Ultimate++ MacOS Installation")
COMPRESSED
120,156,133,82,109,111,211,48,16,254,43,39,109,67,192,214,212,118,156,166,107,62,178,33,246,1,38,177,237,3,138,50,236,36,94,99,225,218,33,118,95,6,226,191,115,110,58,49,208,36,34,89,57,223,249,121,185,179,75,57,79,139,183,159,103,112,124,76,207,210,163,148,166,148,208,25,227,57,103,36,37,140,83,150,209,249,156,211,60,155,167,231,179,217,162,145,125,208,206,86,229,7,94,212,17,202,17,201,16,73,242,249,140,83,196,241,140,165,121,198,17,207,57,165,24,211,44,159,229,249,34,232,96,84,85,214,156,21,18,87,223,49,68,166,136,228,25,167,41,33,132,231,89,202,25,205,241,207,201,57,101,8,159,147,44,67,164,218,133,170,196,211,228,140,28,145,255,124,139,11,245,32,215,6,1,63,191,254,58,185,252,52,185,187,129,210,211,2,238,76,208,43,25,148,56,21,167,240,81,54,215,55,112,101,125,144,198,200,216,209,171,170,244,172,128,91,89,27,5,238,1,26,103,131,178,193,199,60,41,224,240,43,239,197,17,189,103,64,147,191,192,213,179,83,172,88,
208,197,191,7,98,33,45,14,178,27,53,120,204,69,149,187,189,27,237,97,80,70,73,175,90,144,30,188,182,75,52,145,252,208,61,60,104,140,162,23,169,45,166,33,145,125,15,184,140,110,246,196,80,175,109,59,58,190,237,212,213,197,37,180,106,163,140,235,87,104,30,148,221,232,193,217,24,39,7,11,163,226,160,190,175,245,160,60,188,219,111,131,115,166,233,80,2,35,100,212,166,125,174,225,19,248,226,214,208,72,139,118,44,150,80,195,55,131,222,191,4,232,220,54,162,244,216,45,132,14,187,249,195,167,146,101,130,83,235,66,232,197,66,76,197,212,249,93,43,181,121,20,73,227,86,98,202,8,229,98,74,152,152,82,92,7,18,49,193,218,74,218,86,76,140,182,74,76,34,159,23,147,149,108,196,196,97,176,19,211,123,232,212,160,170,167,182,110,220,10,135,16,48,183,23,247,128,104,48,186,30,228,160,177,205,232,189,86,79,38,113,204,91,29,186,131,47,63,26,171,7,181,21,137,239,246,212,200,22,247,85,2,239,157,49,110,27,71,223,203,230,155,92,34,153,28,
20,14,48,90,84,182,69,174,215,120,103,113,116,157,122,132,149,94,118,33,74,29,38,220,198,74,163,134,120,127,227,155,218,5,255,102,49,186,54,116,70,10,77,51,82,92,147,226,100,2,203,182,126,185,224,122,101,189,55,47,23,177,75,239,59,54,62,193,211,115,134,169,170,250,13,153,54,53,179,
120,156,133,82,97,79,219,48,16,253,43,39,1,211,54,72,106,59,78,83,146,143,131,105,124,96,72,43,124,152,170,48,59,137,105,172,185,118,22,187,180,108,218,127,223,185,45,26,154,144,22,201,202,249,206,239,221,187,103,47,228,44,171,222,127,153,194,241,49,61,203,142,50,154,81,66,167,140,23,156,145,140,48,78,89,78,103,51,78,139,124,150,157,79,167,101,43,135,160,157,173,23,159,120,213,68,40,71,36,67,36,41,102,83,78,17,199,115,150,21,57,71,60,231,148,98,76,243,98,90,20,101,208,193,168,122,209,112,86,73,92,67,207,16,153,33,146,231,156,102,132,16,94,228,25,103,180,192,63,39,231,148,33,124,70,242,28,145,106,27,234,5,158,38,103,228,136,252,231,43,47,212,131,92,27,4,252,250,246,251,228,242,115,114,55,135,133,167,21,220,153,160,87,50,40,113,42,78,193,89,184,150,45,220,204,223,212,11,207,42,184,149,141,81,224,30,160,117,54,40,27,124,204,147,10,14,191,197,189,56,162,247,12,104,10,87,214,7,105,140,220,185,240,226,20,171,
74,90,254,123,32,22,178,42,182,186,153,195,163,26,61,230,98,151,187,157,8,237,97,84,70,73,175,58,144,30,188,182,75,20,145,254,212,3,60,104,140,162,22,169,45,166,33,149,195,0,184,140,110,119,196,208,172,109,183,87,124,219,171,171,139,75,232,212,163,50,110,88,161,120,80,246,81,143,206,198,56,61,72,216,119,28,213,143,181,30,149,135,15,187,109,112,206,180,61,182,192,8,25,181,233,94,246,240,41,124,117,107,104,165,69,57,22,75,216,195,183,163,222,61,0,232,221,38,162,244,126,90,8,61,78,243,151,79,165,203,20,93,235,67,24,68,41,38,98,226,252,182,147,218,60,137,180,117,43,49,97,132,114,49,33,76,76,40,174,3,137,72,176,182,146,182,19,137,209,86,137,36,242,121,145,172,100,43,18,135,193,86,76,238,161,87,163,170,159,199,154,187,21,154,16,48,183,107,238,1,209,96,116,51,202,81,227,152,81,123,163,158,69,162,205,27,29,250,131,46,191,23,214,140,106,35,82,223,239,168,145,45,238,235,20,62,58,99,220,38,90,63,200,246,187,92,
34,153,28,21,26,24,37,42,219,33,215,91,188,179,104,93,175,158,96,165,151,125,136,173,14,14,119,177,210,170,49,222,223,254,77,109,131,127,87,238,85,27,58,37,149,166,57,169,110,72,117,146,192,178,107,94,47,184,65,89,239,205,235,69,156,210,251,158,237,159,224,233,57,195,84,93,255,1,55,221,49,190,

View file

@ -21,7 +21,8 @@ uses
ide/Java,
ide/MacroManager,
urepo,
Report;
Report,
Core/SSL;
link(WIN32 MSC) /MAP;