Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-03-24 | Document TikzGraphAssembler | Alex Merry | |
2013-03-24 | Make first/last_column count character offsets | Alex Merry | |
This means that tabs don't get treated specially. No-one can seem to agree how many spaces a tab should be, and the first thing we actually ended up doing was to undo the extra tab counting. | |||
2013-03-23 | Fixes to the parser error-reporting code | Alex Merry | |
2013-03-23 | Fix line counting for newlines in non-INITIAL modes | Alex Merry | |
2013-03-23 | Store parsed graph properties | Alex Merry | |
It appears I broke this when rewriting the parser. | |||
2013-03-23 | Bring back parser/lexer error reporting | Alex Merry | |
Even better than before! | |||
2013-03-23 | Make the parser/lexer reentrant | Alex Merry | |
No more locking! Also, the interface for TikzGraphAssembler is much simpler. Changes to OSX code are completely untested. | |||
2013-03-23 | Annotate token declarations in parser | Alex Merry | |
Better error messages and cleaner code in the body of the parser. | |||
2013-03-23 | Make the parser more coherent | Alex Merry | |
We build things up in stacks in the parser, rather than relying on TikzGraphAssembler so much. This makes tikzparser.ym easier to follow (IMHO). | |||
2013-03-22 | Rewrite the lexer to be context-aware | Alex Merry | |
It turns out Flex can do modal lexing. This means that we can switch mode for optional properties, and also for co-ordinates. As a result, the parser is much simpler and doesn't keel over all the time on valid input. | |||
2013-03-22 | Anchors can have spaces in them | Alex Merry | |
Parse anchors with spaces, like (3.north west). | |||
2013-03-22 | Add debugging option to Select tool | Alex Merry | |
Selecting edges and/or nodes and pressing shift-d will print info about them to the console. | |||
2013-03-22 | When the @property says we copy it, actually copy it | Alex Merry | |
Fixes a crash when manually editing anchors on Linux. | |||
2013-03-22 | Account for rounding errors when calculating edge head and tail | Alex Merry | |
Previously, we could find the "maximum exit point" of an edge to be very slightly inside the actual bounds; this would cause the actual exit point not to be found. So we expand the bounding rect very slightly. | |||
2013-03-22 | Fix parser hack for props containing the word "node" | Alex Merry | |
2013-03-13 | Prevent buffer overflows | Alex Merry | |
Repeatedly pasting crazy-long single-line code into the buffer would crash tikzit before. | |||
2013-03-13 | Fix the code to grab the first line | Alex Merry | |
2013-03-11 | Use a method that actually exists in GNUStep | Alex Merry | |
2013-02-28 | parser: gives correct error description if parse error is on first line | Johan Paulsson | |
2013-02-26 | osx gui underlines the offending line on a parser error in document message | Johan Paulsson | |
2013-02-12 | Make sure edge bounds include decorations | Alex Merry | |
Fixes rendering of newly-drawn edges in GTK+ version. | |||
2013-02-04 | Fix parsing of keywords in property names and values | Alex Merry | |
Keywords like "rectangle" and "at" were not allowed unquoted by the parser, but would not be quoted by the generator. Fixes: #10 | |||
2013-02-04 | {-quote keys as well as values in property lists | Alex Merry | |
2013-02-04 | Use the more descriptive "tikzList" instead of "stringList" | Alex Merry | |
This is a string that is supposed to be used in tikz, so make that explicit. | |||
2013-02-04 | Fix property list parsing | Alex Merry | |
QUOTEDSTRING (double quotes) is just not a thing in tikz. Also, allow keys to be {-quoted as well as values. | |||
2013-02-04 | Parse escaped { and } characters properly | Alex Merry | |
Within a {-quoted string (one surrounded by { and }), ignore any characters prefixed by backslash. | |||
2013-02-04 | Only change style settings when OK is clicked | Alex Merry | |
If the user clicks Cancel, nothing changes. | |||
2013-02-04 | Merge branch 'master' into multi-docs | Alex Merry | |
2013-01-29 | Fix variable declarations | Alex Merry | |
yy* vars are owned by the lexer file (and should be externed from elsewhere). | |||
2013-01-28 | fix incorrect use of pointer equality when comparing anchor strings | Aleks Kissinger | |
2013-01-27 | Better parser errors on syntax errors. Will show line number, description ↵ | Johan Paulsson | |
and where the error happened. Test function for delimited string if they will break reprising. | |||
2013-01-24 | Default preamble will include edges in osx. Added checks for null colour as ↵ | Johan Paulsson | |
coloured edges is not an option in osx. | |||
2013-01-24 | Anchor support for the parser and osx gui | Johan Paulsson | |
2012-12-11 | Remove the concept of an "active style" from StyleManager | Alex Merry | |
It's all tool-based in the GTK+ interface now. | |||
2012-12-03 | Fix file headers | Alex Merry | |
2012-10-31 | Allow spaces in properties | Alex Merry | |
2012-08-24 | Match Cocoa's method naming conventions | Alex Merry | |
We were naming properties starting with new, which is Cocoa's convention for methods that return fresh objects. Spotted due to a Clang warning. | |||
2012-06-29 | Do not set looseness prop if edge is straight | Alex Merry | |
2012-06-14 | Re-render bend incident edges when node style changes | Alex Merry | |
The node shape affects where edges terminate. This affects the shape of bent edges. | |||
2012-06-14 | Make sure inEdges and outEdges are up-to-date | Alex Merry | |
2012-06-13 | Be a bit more conservative about quoting properties | Alex Merry | |
2012-05-29 | Fix handling for property values containing = or , | Alex Merry | |
Equals and comma are special values that need to be quoted with curly braces. This both parses and generates such quoted strings, although they are only generated when necessary. | |||
2012-05-29 | Add vi modelines to the lexer/parser code | Alex Merry | |
2012-05-29 | Fix license header in DiamondShape files | Alex Merry | |
2012-05-24 | Remove useless declaration from TikzShape.m | Alex Merry | |
This file-local variable is never used. | |||
2012-05-24 | Draw regular polygons with an inner circle radius | Alex Merry | |
TikZ determines the size of a regular polygon by the radius of a circle inscribed inside the shape, touching the middle of each edge, not a circle outside the sahep, touching each vertex. | |||
2012-05-24 | Do not adjust the height of RegularPolyShape | Alex Merry | |
It might look more natural like that, but it's not how TikZ does it. | |||
2012-05-24 | Fix RegularPolyShape rotation to match TikZ | Alex Merry | |
In PGF/TikZ, regular polygons with rotation 0 have a side flat at the bottom. RegularPolyShape now does the same, and also takes its rotation in degrees. | |||
2012-05-23 | Start fixing shapes in the preamble | Alex Merry | |
RegularPolyShape needs fixing still, and the tikz shapes need sorting out. | |||
2012-05-07 | Correctly remove $ at end of latex commands | Alex Merry | |
Previously, a string like '$\alpha$' would retain the final $ when displayed on a label. |