summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-08-07GTK: make presentError: methods cope with null errorsAlex Merry
We can't always guarantee that library code will produce an error object when things fail; default to "unknown error" if the error object is null or does not have a message.
2013-08-06Copy anchors when copying an EdgeAlex Merry
Previously, copying-and-pasting a graph would lose source and target anchor information.
2013-08-04GTK: holding down ctrl pans, regardless of toolAlex Merry
If the user presses the LMB whilst holding ctrl, we bypass the tool and enter panning mode, where dragging the mouse moves around the graph, until the LMB is released.
2013-08-04GTK: SelectTool: return to QuietState on mouse releaseAlex Merry
2013-08-03Better dependency informationAlex Merry
Be explicit about what versions we require.
2013-08-03Cook our own bison/flex checks instead of AC_PROG_LEX/YACCAlex Merry
Given we specifically want bison and flex, and not other yacc/lex implementations with their various deficiencies, we don't need autoconf's detection magic.
2013-08-03Demand actual bison and flex, rather than yacc and lexAlex Merry
We use bison/flex extensions, so we need those actual tools.
2013-08-02Tidy up and document bison decls in tikzparser.ymAlex Merry
2013-08-02Use flex and bison options instead of #definesAlex Merry
Defining YY_EXTRA_TYPE is not the "proper" way to set that type (a %option should be used instead), and defining YYLEX_PARAM will no longer work with bison 3 (%lex-param is the correct thing to use).
2013-08-02Improve description in .desktop and .spec filesAlex Merry
2013-07-29Do not reverse the order of the properties when parsingAlex Merry
2013-07-29Allow empty square brackets for properties listAlex Merry
2013-05-17Add mimetype iconsAlex Merry
2013-05-17Improve logo SVG vectorisationAlex Merry
2013-05-17Register a mimetype for TikZ documentsAlex Merry
2013-05-17SPEC file: fix license string for openSUSEAlex Merry
2013-05-17Website: there are now Debian packages on OBSAlex Merry
2013-05-07GTK: 1.0 releasev1.0Alex Merry
2013-05-07Change "preferences" to "configuration"Alex Merry
"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".
2013-05-07GTK+: One preview window per main windowAlex Merry
Each document window has its own preview window, allowing multiple ones to be open at once.
2013-04-02Prevent toolbox getting lost when minimising windowsAlex Merry
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.
2013-03-27Allow empty anchor namesAlex Merry
2013-03-26Add edge anchor editing to GTK portAlex Merry
Includes functions for testing if an anchor is valid.
2013-03-25Catch some memory leaksAlex Merry
Memory usage on Linux no longer shoots up after running the tikz parser a handful of times.
2013-03-25Fix issues found by the clang static analyzerAlex Merry
2013-03-25Fix clang warningsAlex Merry
2013-03-24GTK: print backtrace on unhandled exceptionsAlex Merry
2013-03-24GTK: highlight the bad symbol on parse errorsAlex Merry
2013-03-24Add methods to Graph to create from tikzAlex Merry
These are just convenience wrappers for TikzGraphAssembler. As a result, non of the GTK code uses TikzGraphAssembler directly.
2013-03-24Document TikzGraphAssemblerAlex Merry
2013-03-24Make first/last_column count character offsetsAlex 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-24Disable the "remove properties" button when no property is selectedAlex Merry
2013-03-24Remove unused init methodsAlex Merry
2013-03-23Fixes to the parser error-reporting codeAlex Merry
2013-03-23Fix line counting for newlines in non-INITIAL modesAlex Merry
2013-03-23Store parsed graph propertiesAlex Merry
It appears I broke this when rewriting the parser.
2013-03-23Bring back parser/lexer error reportingAlex Merry
Even better than before!
2013-03-23Make the parser/lexer reentrantAlex Merry
No more locking! Also, the interface for TikzGraphAssembler is much simpler. Changes to OSX code are completely untested.
2013-03-23Annotate token declarations in parserAlex Merry
Better error messages and cleaner code in the body of the parser.
2013-03-23Make the parser more coherentAlex 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-22Rewrite the lexer to be context-awareAlex 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-22Anchors can have spaces in themAlex Merry
Parse anchors with spaces, like (3.north west).
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-22Save config to disk on closing preambles editor or settings dialogAlex Merry
2013-03-22Add "space" shortcut to refresh preview without it grabbing focusAlex Merry
2013-03-22Select the name field of newly created stylesAlex 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-13Prevent buffer overflowsAlex Merry
Repeatedly pasting crazy-long single-line code into the buffer would crash tikzit before.