Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | move the DeltaTree implementation out of line, remove debugging printfs etc. | Chris Lattner | 2008-04-12 | 1 | -0/+416 | |
| | | | | llvm-svn: 49591 | |||||
* | remove ifdefs | Chris Lattner | 2008-04-12 | 1 | -77/+0 | |
| | | | | llvm-svn: 49587 | |||||
* | Do an initial hack at replacing one of the incredibly inefficient | Chris Lattner | 2008-04-12 | 1 | -2/+13 | |
| | | | | | | | | | | | | | | | (but simple!) datastructures in the rewriter with a more complex but more efficient one. This replaces the Deltas vector with a specialized BTree that makes delta lookups much more efficient. This speeds up -emit-html on a 500K .i file from 157.154 to 27.127 seconds on my machine (5.8x). While this code is functional, it isn't very pretty, I have much refactoring planned for it, and will remove the USE_VECTOR ifdef. Stay tuned. llvm-svn: 49586 | |||||
* | Micro-optimization: Don't use ostringstream when using a C-string literal | Ted Kremenek | 2008-04-09 | 1 | -40/+28 | |
| | | | | | | will work just fine. llvm-svn: 49427 | |||||
* | Don't expand tabs in EscapeText, but rather expand them when writing out | Ted Kremenek | 2008-04-08 | 1 | -3/+14 | |
| | | | | | | | 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 | |||||
* | When substituting tabs during HTMLification, only add " " when we are | Ted Kremenek | 2008-04-08 | 1 | -1/+6 | |
| | | | | | | "escaping" spaces. llvm-svn: 49404 | |||||
* | Add ids for line numbers, allowing us to jump to arbitrary line numbers within | Ted Kremenek | 2008-04-07 | 1 | -1/+2 | |
| | | | | | | an HTMLified source file. llvm-svn: 49359 | |||||
* | Tweak message bubble color (gold) | Ted Kremenek | 2008-04-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 49357 | |||||
* | fix css font name, patch by Cédric Venet | Chris Lattner | 2008-04-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 49260 | |||||
* | Some cleanups in EscapeText and AddLineNumbers. Still investigating performance | Ted Kremenek | 2008-04-03 | 1 | -37/+47 | |
| | | | | | | issues. llvm-svn: 49150 | |||||
* | CSS tweaking on blue boxes. | Ted Kremenek | 2008-04-02 | 1 | -1/+2 | |
| | | | | llvm-svn: 49121 | |||||
* | Blue diagnostic boxes. | Ted Kremenek | 2008-04-02 | 1 | -4/+2 | |
| | | | | llvm-svn: 49117 | |||||
* | Added path sequence numbers in HTML output of PathDiagnostics. | Ted Kremenek | 2008-04-02 | 1 | -0/+1 | |
| | | | | llvm-svn: 49116 | |||||
* | Better handling for tabs with message bubbles. | Ted Kremenek | 2008-03-31 | 1 | -2/+4 | |
| | | | | llvm-svn: 49001 | |||||
* | Minor CSS tweaking (smaller h1 tags). | Ted Kremenek | 2008-03-27 | 1 | -1/+3 | |
| | | | | | | Bug fix in EscapeText (for std::string) where spaces were not properly emitted. llvm-svn: 48889 | |||||
* | Add html::EscapeText for std::string; use this function to escape text in ↵ | Ted Kremenek | 2008-03-27 | 1 | -0/+26 | |
| | | | | | | message bubbles. llvm-svn: 48884 | |||||
* | Added <h3> tag in HTML file output that contains the name of the source file. | Ted Kremenek | 2008-03-27 | 1 | -0/+1 | |
| | | | | llvm-svn: 48869 | |||||
* | Minor CSS tweaking: use webkit style CSS properties for shadows/rounded edges | Ted Kremenek | 2008-03-24 | 1 | -2/+4 | |
| | | | | | | for message bubbles. llvm-svn: 48754 | |||||
* | Added HTML highlighting for ranges. | Ted Kremenek | 2008-03-19 | 1 | -0/+3 | |
| | | | | llvm-svn: 48572 | |||||
* | Change colors of HTML message bubble. | Ted Kremenek | 2008-03-19 | 1 | -3/+6 | |
| | | | | llvm-svn: 48563 | |||||
* | More CSS enhancements to HTML code printing. | Ted Kremenek | 2008-03-19 | 1 | -0/+1 | |
| | | | | llvm-svn: 48557 | |||||
* | Misc. cleanups to HTML printing: make code rendered using tables; add | Ted Kremenek | 2008-03-19 | 1 | -26/+23 | |
| | | | | | | better div positioning for messages. llvm-svn: 48555 | |||||
* | Initial experimentation with adding boxed "annotations" to HTMLized source. | Ted Kremenek | 2008-03-19 | 1 | -2/+7 | |
| | | | | llvm-svn: 48540 | |||||
* | Moved generation of html header/footer with builtin CSS to the rewriter library. | Ted Kremenek | 2008-03-19 | 1 | -0/+44 | |
| | | | | llvm-svn: 48537 | |||||
* | More cleanups to the HTML rewriter (with line formatting), with better | Ted Kremenek | 2008-03-19 | 1 | -8/+26 | |
| | | | | | | pretty-printing of line numbers. llvm-svn: 48533 | |||||
* | Change "style" to "class" in HTML output. | Ted Kremenek | 2008-03-19 | 1 | -2/+2 | |
| | | | | llvm-svn: 48525 | |||||
* | More cleanups to HTML rewriter API: remove the InsertTag method; was too ↵ | Ted Kremenek | 2008-03-19 | 1 | -76/+8 | |
| | | | | | | | | | complicated and clients can achieve a cleaner design just by inserting tags directly. Reserve the "html" namespace for meta-level operations (e.g., escaping text, etc.) llvm-svn: 48524 | |||||
* | More HTML rewriter cleanups. Preliminary CSS support in code pretty-printing. | Ted Kremenek | 2008-03-18 | 1 | -33/+30 | |
| | | | | llvm-svn: 48518 | |||||
* | Some cleanups to the HTMLRewrite API. Added support for printing out line | Ted Kremenek | 2008-03-18 | 1 | -23/+105 | |
| | | | | | | numbers (more work to be done on aesthetics). llvm-svn: 48512 | |||||
* | Modified "InsertTag" (HTML rewriter) to have an optional "OutermostTag" flag to | Ted Kremenek | 2008-03-18 | 1 | -3/+17 | |
| | | | | | | | indicate whether or not the new tag should be the outermost tag at the specified location (in the case that other tags have been inserted at the same spot). llvm-svn: 48506 | |||||
* | Added the beginning of a set of rewriter functions for pretty-printing source | Ted Kremenek | 2008-03-18 | 1 | -0/+77 | |
| | | | | | | | code as HTML. Added a new driver option "--emit-html" to dump the source of the main input file as HTML. llvm-svn: 48505 | |||||
* | Added variant of "InsertText" in the Rewriter to support inserting text both | Ted Kremenek | 2008-03-18 | 1 | -5/+7 | |
| | | | | | | *before* and after a specific location. llvm-svn: 48504 | |||||
* | Bug fix in RewriteBuffer::getMappedOffset: potentially multiple deltas | Ted Kremenek | 2008-03-18 | 1 | -4/+6 | |
| | | | | | | | need to be skipped over when AfterInserts == true, as multiple deltas may share the same FileLoc. llvm-svn: 48503 | |||||
* | Make a major restructuring of the clang tree: introduce a top-level | Chris Lattner | 2008-03-15 | 2 | -0/+280 | |
lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. The top level now enforces that all the libs are built before Driver, but we don't care what order the libs are built in. This speeds up parallel builds, particularly incremental ones. llvm-svn: 48402 |