30 // add the banner and 'title bar' - avoids the caption bug |
31 // add the banner and 'title bar' - avoids the caption bug |
31 this.openButton = new NavigationButton (1,"right.gif", newtext); |
32 this.openButton = new NavigationButton (1,"right.gif", newtext); |
32 this.ProposedButton = new NavigationButton (1,"right.gif", proposedtext); |
33 this.ProposedButton = new NavigationButton (1,"right.gif", proposedtext); |
33 this.featuresButton = new NavigationButton (1,"right.gif", featurestext); |
34 this.featuresButton = new NavigationButton (1,"right.gif", featurestext); |
34 this.BuildButton = new NavigationButton (1,"right.gif", "Package Build Results"); |
35 this.BuildButton = new NavigationButton (1,"right.gif", "Package Build Results"); |
|
36 this.MercurialButton = new NavigationButton (1,"right.gif", "Latest Changes in Hg"); |
35 this.ForumButton = new NavigationButton (1,"right.gif", "My Discussion Forum"); |
37 this.ForumButton = new NavigationButton (1,"right.gif", "My Discussion Forum"); |
36 |
|
37 |
38 |
38 |
39 |
39 var self = this; |
40 var self = this; |
40 |
41 |
41 mylabel = new Label ("packagelabel",null); |
42 mylabel = new Label ("packagelabel",null); |
71 |
72 |
72 |
73 |
73 }); |
74 }); |
74 |
75 |
75 this.addControl(this.BuildButton); |
76 this.addControl(this.BuildButton); |
|
77 |
|
78 |
|
79 this.MercurialButton.addEventListener("ActionPerformed", function(){ |
|
80 self.readmercurial(); |
|
81 }); |
|
82 |
|
83 this.addControl(this.MercurialButton); |
|
84 |
|
85 |
76 this.ForumButton.addEventListener("ActionPerformed", function(){ |
86 this.ForumButton.addEventListener("ActionPerformed", function(){ |
77 self.readforum(); |
87 self.readforum(); |
78 }); |
88 }); |
79 |
89 |
80 this.addControl(this.ForumButton); |
90 this.addControl(this.ForumButton); |
97 self.openbugs(); |
107 self.openbugs(); |
98 self.proposedbugs(); |
108 self.proposedbugs(); |
99 self.features(); |
109 self.features(); |
100 mylabel.setText(Packageid); |
110 mylabel.setText(Packageid); |
101 mybuilds.update(true); |
111 mybuilds.update(true); |
102 } |
112 } |
103 } |
113 } |
104 |
114 |
105 //http://developer.symbian.org/bugs/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&content=test&field-1-0-0=bug_status&field-1-1-0=product&field-1-2-0=content&product=classicui&query_format=specific&remaction=&type-1-0-0=anyexact&type-1-1-0=anyexact&type-1-2-0=matches&value-1-0-0=UNCONFIRMED%2CNEW%2CASSIGNED&value-1-1-0=classicui&value-1-2-0=test&title=Bug%20List&ctype=atom |
115 //http://developer.symbian.org/bugs/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&content=test&field-1-0-0=bug_status&field-1-1-0=product&field-1-2-0=content&product=classicui&query_format=specific&remaction=&type-1-0-0=anyexact&type-1-1-0=anyexact&type-1-2-0=matches&value-1-0-0=UNCONFIRMED%2CNEW%2CASSIGNED&value-1-1-0=classicui&value-1-2-0=test&title=Bug%20List&ctype=atom |
106 BugzillaSearchPanel.prototype.bugzillaSearchClicked = function() { |
116 BugzillaSearchPanel.prototype.bugzillaSearchClicked = function() { |
107 // create the RssReader for bugzilla |
117 // create the RssReader for bugzilla |
206 forum_reader = new RssReader(myforumtitle, forumFeedURL + forumsForumSpecQuery + myforumid, new ThreadListFeedPresenter(null), bugzilla, null); |
216 forum_reader = new RssReader(myforumtitle, forumFeedURL + forumsForumSpecQuery + myforumid, new ThreadListFeedPresenter(null), bugzilla, null); |
207 forum_reader.show(); |
217 forum_reader.show(); |
208 } |
218 } |
209 } |
219 } |
210 |
220 |
|
221 |
|
222 BugzillaSearchPanel.prototype.readmercurial = function() { |
|
223 |
|
224 if (!mercurialUrl) { |
|
225 PackageMercurialUrl(); |
|
226 } |
|
227 |
|
228 var title = "Mercurial FCL " + Packageid; |
|
229 |
|
230 mercurial_reader = new RssReader(title, mercurialPackageUrl, new MercurialFeedPresenter(null), this, parseRepoFeed); |
|
231 debuglog.debug ("accessing mercurial package url: "+ mercurialPackageUrl); |
|
232 mercurial_reader.show(); |
|
233 |
|
234 } |
211 function parseBugzillaFeed(broker, responseStatus, xmlDoc) { |
235 function parseBugzillaFeed(broker, responseStatus, xmlDoc) { |
212 if (responseStatus == 200 && xmlDoc != null) { |
236 if (responseStatus == 200 && xmlDoc != null) { |
213 // node ref for iterating |
237 // node ref for iterating |
214 var node; |
238 var node; |
215 |
239 |