summaryrefslogtreecommitdiff
path: root/tikzit/src/common
AgeCommit message (Collapse)Author
2013-03-22Add debugging option to Select toolAlex Merry
Selecting edges and/or nodes and pressing shift-d will print info about them to the console.
2013-03-22When the @property says we copy it, actually copy itAlex Merry
Fixes a crash when manually editing anchors on Linux.
2013-03-22Account for rounding errors when calculating edge head and tailAlex 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-22Fix parser hack for props containing the word "node"Alex Merry
2013-03-13Prevent buffer overflowsAlex Merry
Repeatedly pasting crazy-long single-line code into the buffer would crash tikzit before.
2013-03-13Fix the code to grab the first lineAlex Merry
2013-03-11Use a method that actually exists in GNUStepAlex Merry
2013-02-28parser: gives correct error description if parse error is on first lineJohan Paulsson
2013-02-26osx gui underlines the offending line on a parser error in document messageJohan Paulsson
2013-02-12Make sure edge bounds include decorationsAlex Merry
Fixes rendering of newly-drawn edges in GTK+ version.
2013-02-04Fix parsing of keywords in property names and valuesAlex 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 listsAlex Merry
2013-02-04Use 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-04Fix property list parsingAlex Merry
QUOTEDSTRING (double quotes) is just not a thing in tikz. Also, allow keys to be {-quoted as well as values.
2013-02-04Parse escaped { and } characters properlyAlex Merry
Within a {-quoted string (one surrounded by { and }), ignore any characters prefixed by backslash.
2013-02-04Only change style settings when OK is clickedAlex Merry
If the user clicks Cancel, nothing changes.
2013-02-04Merge branch 'master' into multi-docsAlex Merry
2013-01-29Fix variable declarationsAlex Merry
yy* vars are owned by the lexer file (and should be externed from elsewhere).
2013-01-28fix incorrect use of pointer equality when comparing anchor stringsAleks Kissinger
2013-01-27Better 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-24Default preamble will include edges in osx. Added checks for null colour as ↵Johan Paulsson
coloured edges is not an option in osx.
2013-01-24Anchor support for the parser and osx guiJohan Paulsson
2012-12-11Remove the concept of an "active style" from StyleManagerAlex Merry
It's all tool-based in the GTK+ interface now.
2012-12-03Fix file headersAlex Merry
2012-10-31Allow spaces in propertiesAlex Merry
2012-08-24Match Cocoa's method naming conventionsAlex 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-29Do not set looseness prop if edge is straightAlex Merry
2012-06-14Re-render bend incident edges when node style changesAlex Merry
The node shape affects where edges terminate. This affects the shape of bent edges.
2012-06-14Make sure inEdges and outEdges are up-to-dateAlex Merry
2012-06-13Be a bit more conservative about quoting propertiesAlex Merry
2012-05-29Fix 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-29Add vi modelines to the lexer/parser codeAlex Merry
2012-05-29Fix license header in DiamondShape filesAlex Merry
2012-05-24Remove useless declaration from TikzShape.mAlex Merry
This file-local variable is never used.
2012-05-24Draw regular polygons with an inner circle radiusAlex 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-24Do not adjust the height of RegularPolyShapeAlex Merry
It might look more natural like that, but it's not how TikZ does it.
2012-05-24Fix RegularPolyShape rotation to match TikZAlex 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-23Start fixing shapes in the preambleAlex Merry
RegularPolyShape needs fixing still, and the tikz shapes need sorting out.
2012-05-07Correctly remove $ at end of latex commandsAlex Merry
Previously, a string like '$\alpha$' would retain the final $ when displayed on a label.
2012-05-04Edges can now be reversed easilyAlex Merry
2012-04-19Stop tikzit crashing on copyAlex Merry
It turns out that applying fast enumeration directly to an NSMapTable does something weird, and it should be applied to one of the enumerator objects instead.
2012-04-18Ignore unescaped dollar signs in labelsAlex Merry
Dollar signs indicate start/end of math-mode, so don't display them
2012-04-18Add edge coloursAlex Merry
2012-04-17Add "ldots" to the tex constants fileAlex Merry
2012-03-14Use KVO for listening to style changes in the selectorsrandomguy3
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@426 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
2012-03-11Tidy methods uprandomguy3
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@425 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
2012-03-10Better parse error reportingrandomguy3
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@424 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
2012-03-10Fix memory issuesrandomguy3
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@423 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
2012-03-10Make common code KVC compliant, and implement NSCopying where relevantrandomguy3
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@420 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
2012-03-08Fix how copying is implementedrandomguy3
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@419 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64