summaryrefslogtreecommitdiff
path: root/tikzit/src/gtk
AgeCommit message (Collapse)Author
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-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-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-24Disable the "remove properties" button when no property is selectedAlex Merry
2013-03-24Remove unused init methodsAlex Merry
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-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-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-02-13GTK: Add shortcuts for changing selection modeAlex Merry
Now when the graph has focus, shift+n will choose node selection, shift+e edge selection and shift+b both.
2013-02-12Make sure edge bounds include decorationsAlex Merry
Fixes rendering of newly-drawn edges in GTK+ version.
2013-02-06Revert "Remove double-borders from edge style selector"Alex Merry
This reverts commit 0766b825aecf072ce4586d6b447bb782f2adb56b. This appears to be just be a quirk of theme I was using at the time.
2013-02-05Remove double-borders from edge style selectorAlex Merry
For some reason, GtkTreeView gets nice borders as standard, but GtkIconView does not.
2013-02-05Force tool buttons to be icon-onlyAlex Merry
Otherwise it breaks the layout.
2013-02-04warnings--Alex Merry
Mostly "@interface definition not found" warnings.
2013-02-04Add "no style" buttons to node/edge creation toolsAlex Merry
Fixes issue #9
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-04Remove old debugging codeAlex 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-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-23Remove unused filesAlex Merry
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