summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-20directory structureAleks Kissinger
2017-01-20added GraphElementPropertyAleks Kissinger
2017-01-15working on parserAleks Kissinger
2017-01-13tool paletteAleks Kissinger
2017-01-11boilerplateAleks Kissinger
2017-01-11made new subdirAleks Kissinger
2017-01-02Merge branch 'arc'Aleks Kissinger
2015-07-22v1.1Alex Merry
2015-07-22Fix bison invocationAlex Merry
2015-03-25update anchors on edge reverseAleks Kissinger
2015-03-12Reverted flex/bison files together with TikzGraphAssembler to be compiled ↵Johan Paulsson
with no ARC
2015-02-25Conversion of common files to ifdef for ARCJohan Paulsson
2015-02-25Xcode friendly gitignoreJohan Paulsson
2015-02-18Merge branch 'master' into arcJohan Paulsson
Conflicts: tikzit/README
2015-02-18Dummy commitJohan Paulsson
2015-02-18Seeing if attribution goes to meJohan Paulsson
2015-02-18dummy commitAleks Kissinger
2015-02-18Missed a general Xcode fileJohan Paulsson
2014-03-25gui: adding a couple of preference optionsJohan Paulsson
Added preference options for autocompletion and inspectors on top.
2014-03-25Changed deprecated methodJohan Paulsson
Changed directoryContentsAtPath: deprecated in 10.5 to contentsOfDirectoryAtPath:error: introduced in 10.5
2014-03-25minor semantical errorsJohan Paulsson
2014-03-25fixing a couple of attributes that stopped selectable nodes from showingJohan Paulsson
2014-03-25dummy commitAleks Kissinger
2014-03-25trading a crash for a memory leakJohan Paulsson
2014-03-25osx gui: custom nodes preference panel shows tikzit preview and tikz code ↵Johan Paulsson
for selected custom node.
2014-03-23Converting from GC to ARCJohan Paulsson
This should only be for the osx specific code as all common files are left out. Hopefully this shouldn't introduce any problems on the other systems.
2014-03-23osx gui: initial creation of custom node shapes preference panelJohan Paulsson
2014-02-14Fix for crash when moving too close to each otherJohan Paulsson
Dividing by wrong variable causes the program to crash when moving nodes too close to each.
2013-12-02osx gui: Cosmetic changes to preference windowJohan Paulsson
Added icons for the three tabs and moved the preamble to be default tab as that is likely to be the one most users will want to go to first.
2013-12-02osx gui: Moved preamble window to preferences.Johan Paulsson
Moved the preamble window to the preference panel as a new tab. The PreambleController is now a subclass of NSView with related changes to the Preamble.xib. The toolbar that controlled default or custom preamble has been replaced with buttons in the interface.
2013-12-01osx gui: Added preference tab for Sparkle updater.Johan Paulsson
2013-12-01osx gui: Fixed dragging of the preview pdf to all applications.Johan Paulsson
2013-11-30osx gui: Added dragging of the preview pdf to other applications.Johan Paulsson
The preview area can be dragged as a pasteboard pdf to other applications rich text editor views. Notably, this means that small images can be made and emailed as PDFs. This is not dragging the PDFs as files so dragging to the finder for saving doesn’t work.
2013-10-11Fix rule dependencies for lexer/parser generationAlex Merry
Previously, if common/tikzparser.m existed but common/tikzparser.h did not, bison would not be re-run, and the build would fail elsewhere with an error about not finding tikzparser.h. The same would be true of the tikzlexer files. Issue #15
2013-09-01GTK: Properly clear the renderer from the old toolAlex Merry
Fixes, for example, unsetting the cursor when changing from the bounding box tool.
2013-09-01GTK: delay setting cursor on non-realised windowsAlex Merry
Calling -[WidgetSurface setCursor:] when the underlying GtkWidget has not been realised yet used to result in a warning that the GdkWindow did not exist. As a result, the cursor would not actually be set. To deal with this, if the widget has not been realised, we delay setting the cursor until it is.
2013-08-29When dragging, only snap leader node to gridAlex Merry
If you've carefully hand-positioned various nodes on a diagram relative to each other, and then want to move the whole thing around, you generally don't want to change their position relative to each other. So we only snap the node being dragged to the grid. Everything else in the selection maintains its position relative to that node.
2013-08-29fixed osx code and build to work with the new parserAleks Kissinger
2013-08-28remove old TikzParser.{h,m}, as this causes name clash on non-case-dependent ↵Aleks Kissinger
file system (e.g. OS X)
2013-08-28Make tikzparser.ym compatible with bison 2.3Alex Merry
2013-08-27Properly clear selection boxAlex Merry
It turns out the selection box, rather than being properly set to the zero rectangle, was being set to the value of an uninitialised NSRect created on the stack. This never caused any issues for me before, because my system compiles things with _FORTIFY_SOURCE by default, which zeros new variables. It was only when I (indirectly) disabled this for debugging in gdb that I started getting selection boxes appearing in odd places.
2013-08-27Make sure we never output numbers in scientific notationAlex Merry
Converting NSNumber to a string raises the possibility of outputing a number like 2.2e-8, as it essentially uses the %g format specifier. This then cannot be parsed. Since there is no built-in specifier for outputing floats with variable precision (ie: removing any trailing zeros), I cooked up a function to do just that. Currently set the maximum precision at 4dp (our normal grid layout only makes use of 2dp).
2013-08-25Redraw graphs when shapes are refreshedAlex Merry
2013-08-25Recalculate edge properties when shapes are refreshedAlex Merry
Shape sizes can change (if you're actively editing a shape), which can mean that some edge properties need to be recalculated. We do this at the graph, rather than edge, level to avoid the overhead of installing a notification for every single edge.
2013-08-25Memory management: release old shape dict when refreshedAlex Merry
2013-08-25Better debugging: set description for node and edge stylesAlex Merry
2013-08-22Unset default "center" anchor when applying a styleAlex Merry
Edges almost always want to be anchored to the "center" of an unstyled (style=none) node, as otherwise edges won't join up. However, this anchor should be discarded if a style is then set on the node, otherwise arrowheads tend to disappear.
2013-08-07Update NEWSAlex Merry
2013-08-07Allow preambles to omit the tikzit-specific preview stuffAlex Merry
The editable preambles include a bunch of things that *have* to be there for previews to work, which makes figuring out what you can edit hard. We now add a \documentclass automagically if it is missing, and if \begin{document} is missing, we assume the preview-specific stuff should be added. OSX changes are untested.
2013-08-07Add variant of stringWithContentsOfFile that produces an errorAlex Merry
It turns out that the [NSString stringWithContentsOfFile:] family of methods do not have a way of reporting why a file could not be read; [NSString stringWithContentsOfFile:usedEncoding:error:] will only set the error object if there was a problem with decoding. So, we cook our own variant that tries to figure out why opening the file failed. User-visible effect: in the GTK+ port, if you try to open a file from the "open recent" menu that no longer exists, you will get a more helpful error message.