#
6929bd80 |
| 17-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
don't give macros a background
llvm-svn: 49871
|
#
f2191261 |
| 17-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
Make sure popup is on top over other spans. wrap long line.
llvm-svn: 49870
|
#
c2c08caf |
| 17-Apr-2008 |
Ted Kremenek <kremenek@apple.com> |
Add support in HTML macro expansion for hovering over a macro and automatically expanding its definition. This is a pure CSS solution.
Tested on IE7, Firefox 3b4, and Safari 3.1.
Patch by Cedric V
Add support in HTML macro expansion for hovering over a macro and automatically expanding its definition. This is a pure CSS solution.
Tested on IE7, Firefox 3b4, and Safari 3.1.
Patch by Cedric Venet!
llvm-svn: 49865
show more ...
|
#
f1c70d79 |
| 17-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
insert macro expansions into floating divs. For now, they are always displayed, but we want some javascript or something toggle their display.
llvm-svn: 49836
|
#
775fdd36 |
| 16-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
correctly hilight multi-line macro definitions and other preprocessor directives.
llvm-svn: 49828
|
#
10dbbb0c |
| 16-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
Make HighlightRange correctly handle multi-line ranges. This causes us to correctly handle multi-line comments.
llvm-svn: 49827
|
#
8e3006a4 |
| 16-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
add a new HighlightRange API, it doesn't handle multiline ranges yet, but it will soon...
llvm-svn: 49825
|
#
e9786c31 |
| 16-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
reenable highlighting of (the first line of) comments
llvm-svn: 49816
|
#
0bb0e7ee |
| 16-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
switch from relexing with the preprocessor to do syntax highlighting to relexing with the Lexer. This is cheaper and gives us some advantages. For now we start highlighting preprocessor directives
switch from relexing with the preprocessor to do syntax highlighting to relexing with the Lexer. This is cheaper and gives us some advantages. For now we start highlighting preprocessor directives (which need improvement), and disable comments. Comments to be restored later.
llvm-svn: 49815
show more ...
|
#
03b8fcc2 |
| 16-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
Take a stab at highlighting #defines and #includes. This doesn't work yet.
llvm-svn: 49781
|
#
5e69a2dd |
| 16-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
Syntax highlight keywords. I assume someone else will pick less appaling colors.
llvm-svn: 49780
|
#
a5a75e7a |
| 16-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
split syntax highlighting of macros from keywords and comments, allowing us to use a cheaper means to highlight keywords and making it so that comments won't foul up macro expansions.
Start highligh
split syntax highlighting of macros from keywords and comments, allowing us to use a cheaper means to highlight keywords and making it so that comments won't foul up macro expansions.
Start highlighting macro expansions.
llvm-svn: 49779
show more ...
|
#
060d8aa2 |
| 16-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
Add a mode of hackily syntax highlighting comments. This has a number of problems, including the fact that it doesn't work well with multi-line comments due to Ted's crazy table. However, that cou
Add a mode of hackily syntax highlighting comments. This has a number of problems, including the fact that it doesn't work well with multi-line comments due to Ted's crazy table. However, that could be fixed, and it does work with single-line ones :).
llvm-svn: 49778
show more ...
|
#
c326f7e8 |
| 16-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
Switch AddLineNumbers to hack on a rewritebuffer instead of on a rewriter, getting sourcelocations out of the picture.
llvm-svn: 49775
|
#
e7d696ec |
| 16-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
In html::EscapeText, instead of going through the rewriter with a SourceLocation to get a RewriteBuffer, poke the RewriteBuffer with an offset directly. THis is no faster, but results in cleaner co
In html::EscapeText, instead of going through the rewriter with a SourceLocation to get a RewriteBuffer, poke the RewriteBuffer with an offset directly. THis is no faster, but results in cleaner code.
llvm-svn: 49774
show more ...
|
#
05e5310a |
| 16-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
switch AddLineNumber to use a SmallString instead of sstream. This speeds up -emit-html on ted's testcase by 29% (.138 -> 0.107s) in a release build.
llvm-svn: 49767
|
#
7d6219f5 |
| 15-Apr-2008 |
Ted Kremenek <kremenek@apple.com> |
For HTML diagnostics, output more information about a bug report.
llvm-svn: 49742
|
#
f17d5758 |
| 09-Apr-2008 |
Ted Kremenek <kremenek@apple.com> |
Micro-optimization: Don't use ostringstream when using a C-string literal will work just fine.
llvm-svn: 49427
|
#
5f7ece0b |
| 08-Apr-2008 |
Ted Kremenek <kremenek@apple.com> |
Don't expand tabs in EscapeText, but rather expand them when writing out the HTML file. This should reduce the amount of memory pressure on the rewriter for files that have a lot of tabs.
llvm-svn:
Don't expand tabs in EscapeText, but rather expand them when writing out the HTML file. This should reduce the amount of memory pressure on the rewriter for files that have a lot of tabs.
llvm-svn: 49406
show more ...
|
#
b1f773ca |
| 08-Apr-2008 |
Ted Kremenek <kremenek@apple.com> |
When substituting tabs during HTMLification, only add " " when we are "escaping" spaces.
llvm-svn: 49404
|
#
a9077ab6 |
| 07-Apr-2008 |
Ted Kremenek <kremenek@apple.com> |
Add ids for line numbers, allowing us to jump to arbitrary line numbers within an HTMLified source file.
llvm-svn: 49359
|
#
bd1bd884 |
| 07-Apr-2008 |
Ted Kremenek <kremenek@apple.com> |
Tweak message bubble color (gold)
llvm-svn: 49357
|
#
e8e1e113 |
| 06-Apr-2008 |
Chris Lattner <sabre@nondot.org> |
fix css font name, patch by Cédric Venet
llvm-svn: 49260
|
#
c5991792 |
| 03-Apr-2008 |
Ted Kremenek <kremenek@apple.com> |
Some cleanups in EscapeText and AddLineNumbers. Still investigating performance issues.
llvm-svn: 49150
|
#
84041843 |
| 02-Apr-2008 |
Ted Kremenek <kremenek@apple.com> |
CSS tweaking on blue boxes.
llvm-svn: 49121
|