[TTRACE-2] Eliminate a few uses of Reflection in tools.trace Created: 28/Oct/12 Updated: 01/Dec/12 Resolved: 01/Dec/12 |
|
| Status: | Resolved |
| Project: | tools.trace |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Enhancement | Priority: | Minor |
| Reporter: | Andy Fingerhut | Assignee: | Luc Préfontaine |
| Resolution: | Completed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Patch: | Code |
| Description |
|
There are a few instances of reflection in tools.trace code that can be eliminated with suitable type hints. |
| Comments |
| Comment by Andy Fingerhut [ 28/Oct/12 10:32 PM ] |
|
ttrace-2-eliminate-reflection-v1.txt dated Oct 28 2012 eliminates all current uses of reflection in tools.trace code by adding type hints. |
| Comment by Luc Préfontaine [ 14/Nov/12 6:14 PM ] |
|
Done in 0.7.4 |
| Comment by Luc Préfontaine [ 01/Dec/12 3:36 PM ] |
|
Issued 0.7.5, mising readme but was fixed in 0.7.4 |
| Comment by Luc Préfontaine [ 01/Dec/12 3:37 PM ] |
|
Fixed in 0.7.5 |
[TTRACE-1] Two convenience predicate functions useful for IDE-tools Created: 23/Apr/12 Updated: 01/Dec/12 Resolved: 01/Dec/12 |
|
| Status: | Resolved |
| Project: | tools.trace |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Enhancement | Priority: | Minor |
| Reporter: | Frank Siebenlist | Assignee: | Luc Préfontaine |
| Resolution: | Completed | Votes: | 0 |
| Labels: | enhancement | ||
| Patch: | Code and Test |
| Description |
|
In our IDE-tool clj-ns-browser, we show the user a list of vars and make it easy to add a trace by selecting a var and clicking a button. In order to only enable the button for a var that is traceable, we use predicate "var-traceable?". In order to change the button text from "trace" to "untrace", we use predicate "var-traced?". Both "var-traceable?" and "var-traced?" are aware of tools.trace internals - ideally, we would like to remain oblivious to trace's inners... Our implementations for the predicates is at: https://gist.github.com/2472261 Thanks for the great tool! |
| Comments |
| Comment by Luc Préfontaine [ 14/Nov/12 5:56 PM ] |
|
Done, however the names where changed to traced? and traceable?. |
| Comment by Luc Préfontaine [ 14/Nov/12 6:18 PM ] |
|
Done is 0.7.4 |
| Comment by Luc Préfontaine [ 01/Dec/12 3:38 PM ] |
|
Done, "good" version is 0.7.5 (readme & comments need an update in 0.7.4") |