Show More
@@ -28,7 +28,7 b' function BranchRenderer(canvas_id, conte' | |||||
28 | // row_id_prefix is prefix that is applied to get row id's |
|
28 | // row_id_prefix is prefix that is applied to get row id's | |
29 | this.canvas = document.getElementById(canvas_id); |
|
29 | this.canvas = document.getElementById(canvas_id); | |
30 | var content = document.getElementById(content_id); |
|
30 | var content = document.getElementById(content_id); | |
31 |
|
31 | |||
32 | if (!document.createElement("canvas").getContext) |
|
32 | if (!document.createElement("canvas").getContext) | |
33 | this.canvas = window.G_vmlCanvasManager.initElement(this.canvas); |
|
33 | this.canvas = window.G_vmlCanvasManager.initElement(this.canvas); | |
34 | if (!this.canvas) { // canvas creation did for some reason fail - fail silently |
|
34 | if (!this.canvas) { // canvas creation did for some reason fail - fail silently | |
@@ -100,7 +100,7 b' function BranchRenderer(canvas_id, conte' | |||||
100 | } |
|
100 | } | |
101 | var next = document.getElementById(row_id_prefix+(idx+1)); |
|
101 | var next = document.getElementById(row_id_prefix+(idx+1)); | |
102 | var extra = 0; |
|
102 | var extra = 0; | |
103 |
|
103 | |||
104 | cur = data[i]; |
|
104 | cur = data[i]; | |
105 | node = cur[0]; |
|
105 | node = cur[0]; | |
106 | in_l = cur[1]; |
|
106 | in_l = cur[1]; | |
@@ -116,7 +116,7 b' function BranchRenderer(canvas_id, conte' | |||||
116 | end = line[1]; |
|
116 | end = line[1]; | |
117 | color = line[2]; |
|
117 | color = line[2]; | |
118 | obsolete_line = line[3]; |
|
118 | obsolete_line = line[3]; | |
119 |
|
119 | |||
120 | x = Math.floor(base_x - box_size * start); |
|
120 | x = Math.floor(base_x - box_size * start); | |
121 |
|
121 | |||
122 | // figure out if this is a dead-end; |
|
122 | // figure out if this is a dead-end; | |
@@ -157,7 +157,7 b' function BranchRenderer(canvas_id, conte' | |||||
157 | { |
|
157 | { | |
158 | this.setColor(color, 0.0, 0.65); |
|
158 | this.setColor(color, 0.0, 0.65); | |
159 | } |
|
159 | } | |
160 |
|
160 | |||
161 | this.ctx.lineWidth=this.line_width; |
|
161 | this.ctx.lineWidth=this.line_width; | |
162 | this.ctx.beginPath(); |
|
162 | this.ctx.beginPath(); | |
163 | if (obsolete_line) |
|
163 | if (obsolete_line) | |
@@ -183,12 +183,12 b' function BranchRenderer(canvas_id, conte' | |||||
183 | this.ctx.stroke(); |
|
183 | this.ctx.stroke(); | |
184 | this.ctx.setLineDash([]); // reset the dashed line, if any |
|
184 | this.ctx.setLineDash([]); // reset the dashed line, if any | |
185 | } |
|
185 | } | |
186 |
|
186 | |||
187 | column = node[0]; |
|
187 | column = node[0]; | |
188 | color = node[1]; |
|
188 | color = node[1]; | |
189 |
|
189 | |||
190 | x = Math.floor(base_x - box_size * column); |
|
190 | x = Math.floor(base_x - box_size * column); | |
191 |
|
191 | |||
192 | this.setColor(color, 0.25, 0.75); |
|
192 | this.setColor(color, 0.25, 0.75); | |
193 |
|
193 | |||
194 |
|
194 | |||
@@ -216,7 +216,7 b' function BranchRenderer(canvas_id, conte' | |||||
216 |
|
216 | |||
217 | idx++; |
|
217 | idx++; | |
218 | } |
|
218 | } | |
219 |
|
219 | |||
220 | } |
|
220 | } | |
221 |
|
221 | |||
222 | } |
|
222 | } |
@@ -18,6 +18,7 b" sed -i -e '1s|, |,|g' kallithea/public/c" | |||||
18 | sed -i -e 's/^\([^ ,/]\+ [^,]*[^ ,]\) *, *\(.\)/\1,\n\2/g' kallithea/public/css/{style,contextbar}.css |
|
18 | sed -i -e 's/^\([^ ,/]\+ [^,]*[^ ,]\) *, *\(.\)/\1,\n\2/g' kallithea/public/css/{style,contextbar}.css | |
19 | sed -i -e 's/^\([^ ,/].*\) */\1 /g' kallithea/public/css/{style,contextbar}.css |
|
19 | sed -i -e 's/^\([^ ,/].*\) */\1 /g' kallithea/public/css/{style,contextbar}.css | |
20 | sed -i -e 's,^--$,-- ,g' kallithea/templates/email_templates/main.txt |
|
20 | sed -i -e 's,^--$,-- ,g' kallithea/templates/email_templates/main.txt | |
|
21 | sed -i -e 's,[ ][ ]*$,,g' -e 's, , ,g' kallithea/public/js/graph.js | |||
21 |
|
22 | |||
22 | hg mani | xargs chmod -x |
|
23 | hg mani | xargs chmod -x | |
23 | hg loc 'set:!binary()&grep("^#!")&!(**_tmpl.py)&!(**/template**)' | xargs chmod +x |
|
24 | hg loc 'set:!binary()&grep("^#!")&!(**_tmpl.py)&!(**/template**)' | xargs chmod +x |
General Comments 0
You need to be logged in to leave comments.
Login now