Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-03-24 | GTK: highlight the bad symbol on parse errors | Alex Merry | |
2013-03-24 | Add methods to Graph to create from tikz | Alex Merry | |
These are just convenience wrappers for TikzGraphAssembler. As a result, non of the GTK code uses TikzGraphAssembler directly. | |||
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-24 | Disable the "remove properties" button when no property is selected | Alex Merry | |
2013-03-24 | Remove unused init methods | Alex Merry | |
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-22 | Save config to disk on closing preambles editor or settings dialog | Alex Merry | |
2013-03-22 | Add "space" shortcut to refresh preview without it grabbing focus | Alex Merry | |
2013-03-22 | Select the name field of newly created styles | Alex Merry | |
Generally, the first thing you want to do after creating a node or edge style is to change its name from "newstyle". | |||
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-28 | osx gui: error notification goes away on undo | Johan Paulsson | |
2013-02-27 | osx gui moved latex settings to preferences | Johan Paulsson | |
2013-02-26 | osx gui initial preferences panel with defaults support | Johan Paulsson | |
2013-02-26 | osx gui underlines the offending line on a parser error in document message | Johan Paulsson | |
2013-02-26 | osx gui parsing errors | Johan Paulsson | |
2013-02-13 | GTK: Add shortcuts for changing selection mode | Alex Merry | |
Now when the graph has focus, shift+n will choose node selection, shift+e edge selection and shift+b both. | |||
2013-02-12 | Make sure edge bounds include decorations | Alex Merry | |
Fixes rendering of newly-drawn edges in GTK+ version. | |||
2013-02-06 | Revert "Remove double-borders from edge style selector" | Alex Merry | |
This reverts commit 0766b825aecf072ce4586d6b447bb782f2adb56b. This appears to be just be a quirk of theme I was using at the time. | |||
2013-02-05 | Remove double-borders from edge style selector | Alex Merry | |
For some reason, GtkTreeView gets nice borders as standard, but GtkIconView does not. | |||
2013-02-05 | Force tool buttons to be icon-only | Alex Merry | |
Otherwise it breaks the layout. | |||
2013-02-04 | warnings-- | Alex Merry | |
Mostly "@interface definition not found" warnings. | |||
2013-02-04 | Add "no style" buttons to node/edge creation tools | Alex Merry | |
Fixes issue #9 | |||
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 | GTK: prevent the user from creating invalid tikz | Alex Merry | |
The free-form entry fields (graph element properties and node labels) are a potential source of invalid tikz code. Since we quote any dodgy-looking text with { and }, we just need to make sure there are no unmatched curly braces entered in those fields. This will turn the entry widgets red when there are unmatched braces, and refuse to make use of any such values. | |||
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 | Remove old debugging code | Alex Merry | |
2013-02-04 | Fix build when poppler is disabled | Alex Merry | |
2013-02-04 | GTK: show focus indicator for graph surface | Alex Merry | |
2013-02-04 | Only change style settings when OK is clicked | Alex Merry | |
If the user clicks Cancel, nothing changes. | |||
2013-02-04 | Put node and edge style editors into settings dialog | Alex Merry | |
2013-02-04 | Clean up the SettingsDialog class a little | Alex Merry | |