Commit 36e8651
mgricken
Rewrote makeRelativeTo so that it does not return bogus paths
on Windows (or platforms with multiple file system roots anymore).
If a path on drive D:\ should be made relative to something on
path D:\, the function now simply returns the absolute path of
the file to be made relative. That's as relative as it can get
with multiple file systems.
Updated properties to benefit from that.
M src/edu/rice/cs/drjava/config/EagerFileListProperty.java
M src/edu/rice/cs/drjava/ui/MainFrame.java
M src/edu/rice/cs/util/FileOps.java
git-svn-id: file:///tmp/test-svn/trunk@4390 fe72c1cf-3628-48e9-8b72-1c46755d3cff1 parent 3b64166 commit 36e8651
File tree
3 files changed
+44
-8
lines changed- drjava/src/edu/rice/cs
- drjava
- config
- ui
- util
3 files changed
+44
-8
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
99 | | - | |
| 100 | + | |
| 101 | + | |
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| |||
3344 | 3345 | | |
3345 | 3346 | | |
3346 | 3347 | | |
3347 | | - | |
| 3348 | + | |
3348 | 3349 | | |
3349 | 3350 | | |
3350 | 3351 | | |
| |||
3373 | 3374 | | |
3374 | 3375 | | |
3375 | 3376 | | |
3376 | | - | |
| 3377 | + | |
3377 | 3378 | | |
3378 | 3379 | | |
3379 | 3380 | | |
| |||
3445 | 3446 | | |
3446 | 3447 | | |
3447 | 3448 | | |
3448 | | - | |
| 3449 | + | |
| 3450 | + | |
3449 | 3451 | | |
3450 | 3452 | | |
3451 | 3453 | | |
3452 | 3454 | | |
3453 | 3455 | | |
3454 | | - | |
| 3456 | + | |
3455 | 3457 | | |
3456 | 3458 | | |
3457 | 3459 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
142 | 155 | | |
143 | 156 | | |
144 | 157 | | |
| |||
148 | 161 | | |
149 | 162 | | |
150 | 163 | | |
151 | | - | |
152 | | - | |
153 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
154 | 169 | | |
155 | 170 | | |
156 | 171 | | |
157 | 172 | | |
158 | 173 | | |
159 | 174 | | |
160 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
161 | 193 | | |
162 | 194 | | |
163 | 195 | | |
| |||
0 commit comments