summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-02-04GTK: prevent the user from creating invalid tikzAlex 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 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-04Remove old debugging codeAlex Merry
2013-02-04Fix build when poppler is disabledAlex Merry
2013-02-04GTK: show focus indicator for graph surfaceAlex Merry
2013-02-04Only change style settings when OK is clickedAlex Merry
If the user clicks Cancel, nothing changes.
2013-02-04Put node and edge style editors into settings dialogAlex Merry
2013-02-04Clean up the SettingsDialog class a littleAlex Merry
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-28Associate utility windows with current main windowAlex Merry
This allows the window manager to raise the windows as a group, for example.
2013-01-28updated gitignoreAleks Kissinger
2013-01-28fix incorrect use of pointer equality when comparing anchor stringsAleks Kissinger
2013-01-27NSFormatter subclass for validating user input of tikz codeJohan Paulsson
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
2013-01-23Remove unused filesAlex Merry
2013-01-23Merge remote-tracking branch 'origin/master' into multi-docsAlex Merry
2013-01-22pushed changes to project for diamond shapeAleks Kissinger
2012-12-17Allow node and edge styles to be applied to selectionAlex Merry
Brings back some old functionality, but in a more compact way.
2012-12-17Factor out properties pane from properties windowAlex Merry
PropertiesWindow is now ContextWindow. Preparing for putting more stuff in this window.
2012-12-17Update props window when a window's document changesAlex Merry
A window's document can change when opening a document from a window that is has no backing file and no changes. The properties window was not getting updated propertly when this happened (it still referred to the old document). Now it is updated properly.
2012-12-17Use central models for node and edge stylesAlex Merry
2012-12-17Move the objc object release GFunc into gtkhelpersAlex Merry
2012-12-17Snap toolbox width to tool button widthAlex Merry
The toolbox width is forced to always be a multiple of the width of one of the tool buttons.
2012-12-17Remember the geometry of the utility windowsAlex Merry
Code largely stolen from the GIMP.
2012-12-17Disconnect the clipboard signal handler on window closeAlex Merry
Previously, if a window was closed and then the clipboard changed, update_paste_action would still be called with a now-invalid paste action.
2012-12-17Set "save as" dialog folder correctly for existing filesAlex Merry
We were trying to set it to the path to the file, instead of its containing folder, which was confusing the GKT+ dialog.
2012-12-17Better toolbox default sizeAlex Merry
The width should now be sufficient for the create node tool.
2012-12-14Don't grab the tool except on clicksAlex Merry
2012-12-14Add scrollbars to the tool style selectorsAlex Merry
2012-12-14Factor out the model for the edge style selectorAlex Merry
This allows us to use it in other widgets.
2012-12-14Factor out the model for the node style selectorAlex Merry
This allows us to use it in other widgets.
2012-12-14Remove unused functions from gtkhelpersAlex Merry
2012-12-14Factor out pixbufFromSurface from style selectorsAlex Merry
It's silly to have two copies of the same code in two different files.
2012-12-13Use the correct style manager for creation toolsAlex Merry
2012-12-12Implement (single-key) tool shortcutsAlex Merry
2012-12-12Allow the graph widget to grab focusAlex Merry
2012-12-11Remove the concept of an "active style" from StyleManagerAlex Merry
It's all tool-based in the GTK+ interface now.
2012-12-11Remove use of GtkFrame in tool windowsAlex Merry
It's unnecessary and a waste of space. Use bolded titles instead.
2012-12-11Fix property window layoutAlex Merry
There were spacing issues before
2012-12-07Add select tool option for drag-selecting edgesAlex Merry
Drag-select can now select nodes, edges or both.
2012-12-07Fix updating the property paneAlex Merry
2012-12-07Present windows if already shownAlex Merry
Also, allow the properties window to be hidden and shown
2012-12-07Add a propery editor windowAlex Merry
2012-12-07Improve config panels for create node/edge toolsAlex Merry