Age | Commit message (Collapse) | Author |
|
"Preferences" suggests it's about non-essential behavioural or visual
changes, but you need to configure TikZiT to use it properly (especially
adding node and edge styles).
Also, fix the title of the configuration window not to say "premable
editor".
|
|
Each document window has its own preview window, allowing multiple ones
to be open at once.
|
|
On X, window managers don't like WM_TRANSIENT_FOR being altered while a
window is visible; this meant that if you opened TikZiT and opened a
second main window and minimised the main window that had focus, the
toolbox and properties window would both disappear, with no way to get
them back (well, almost - the properties window could be retreived with
the menu item that shows/hides it).
Tested with KWin, Metacity (Gnome 2's WM), Mutter (Gnome 3) and xfwm4
(XFCE 4). Metacity and Mutter still behave a little oddly - you have to
click one of the main windows *twice* to get it to focus. KWin and
xfwm4 work fine.
|
|
|
|
Includes functions for testing if an anchor is valid.
|
|
Memory usage on Linux no longer shoots up after running the tikz parser
a handful of times.
|
|
|
|
|
|
|
|
|
|
These are just convenience wrappers for TikzGraphAssembler. As a
result, non of the GTK code uses TikzGraphAssembler directly.
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
It appears I broke this when rewriting the parser.
|
|
Even better than before!
|
|
No more locking! Also, the interface for TikzGraphAssembler is much
simpler.
Changes to OSX code are completely untested.
|
|
Better error messages and cleaner code in the body of the parser.
|
|
We build things up in stacks in the parser, rather than relying on
TikzGraphAssembler so much. This makes tikzparser.ym easier to follow
(IMHO).
|
|
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.
|
|
Parse anchors with spaces, like (3.north west).
|
|
Selecting edges and/or nodes and pressing shift-d will print info about
them to the console.
|
|
Fixes a crash when manually editing anchors on Linux.
|
|
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.
|
|
|
|
|
|
|
|
Generally, the first thing you want to do after creating a node or edge
style is to change its name from "newstyle".
|
|
Repeatedly pasting crazy-long single-line code into the buffer would
crash tikzit before.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Now when the graph has focus, shift+n will choose node selection,
shift+e edge selection and shift+b both.
|
|
Fixes rendering of newly-drawn edges in GTK+ version.
|
|
This reverts commit 0766b825aecf072ce4586d6b447bb782f2adb56b.
This appears to be just be a quirk of theme I was using at the time.
|
|
For some reason, GtkTreeView gets nice borders as standard, but
GtkIconView does not.
|
|
Otherwise it breaks the layout.
|
|
Mostly "@interface definition not found" warnings.
|
|
Fixes issue #9
|
|
Keywords like "rectangle" and "at" were not allowed unquoted by the
parser, but would not be quoted by the generator.
Fixes: #10
|
|
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.
|
|
|