aboutsummaryrefslogtreecommitdiff
path: root/liblogdiag
Commit message (Collapse)AuthorAgeFilesLines
* Disallow wheel zooming when holding mouse buttons.Přemysl Janouch2011-06-091-0/+4
|
* Ignore terminals when hovering above selection.Přemysl Janouch2011-06-091-24/+34
| | | | | Also fix checking for the shift key and rename the "object" variable to "object_at_cursor" in button handlers.
* Add API for turning off the grid.Přemysl Janouch2011-03-072-1/+40
|
* Glue to terminal points when creating connections.Přemysl Janouch2011-03-071-10/+18
|
* Allow rotating of symbols while placing them.Přemysl Janouch2011-03-071-5/+13
|
* Fix gtk-doc comments.Přemysl Janouch2011-02-202-3/+5
|
* Disable LdDiagramView scrollbars when not needed.Přemysl Janouch2011-02-201-3/+0
|
* Refactor oper_connect_motion().Přemysl Janouch2011-02-201-25/+51
|
* Also find terminals on ends of connections.Přemysl Janouch2011-02-191-48/+112
|
* Use "typedef struct" in ld-diagram-view.c.Přemysl Janouch2011-02-191-21/+18
|
* Don't emit changes when reading.Přemysl Janouch2011-02-191-14/+27
| | | | | | | | | | When the value for a property isn't present in it's JsonObject, it can be assigned upon reading. Previously this could generate history events even when just viewing an old diagram with some of newer properties missing. Modify the code, so setting to default doesn't count as a change anymore.
* Add "x" and "y" properties to LdDiagramView.Přemysl Janouch2011-02-192-22/+119
| | | | Plus a bit of refactoring.
* Rename LdCanvas to LdDiagramView.Přemysl Janouch2011-02-199-481/+488
|
* Change selection color to red.Přemysl Janouch2011-02-191-1/+1
| | | | To make it more distinctive.
* Allow rotation of symbols.Přemysl Janouch2011-02-144-16/+181
| | | | | | Bind this action to the right mouse button. Due to limitations of json-glib, we can't store rotation as an enum.
* Emit "cancel-operation", don't call the handler.Přemysl Janouch2011-02-141-6/+12
|
* Avoid too wide items in symbol menus.Přemysl Janouch2011-02-141-0/+2
|
* Fix ld-types.h for gtk-doc.Přemysl Janouch2011-02-141-10/+9
|
* Make symbol menus nicer.Přemysl Janouch2011-02-121-1/+10
|
* Update the symbol library, add trivial text API.Přemysl Janouch2011-02-121-0/+33
|
* Export more cairo functions to Lua.Přemysl Janouch2011-02-111-61/+63
| | | | Also rewrite the wrappers to be shorter.
* Speed up drawing of the grid.Přemysl Janouch2011-02-101-18/+41
|
* Fix drawing of symbol menus.Přemysl Janouch2011-02-071-2/+2
|
* Add support for LdDiagramConnection to LdCanvas.Přemysl Janouch2011-02-073-212/+608
| | | | | | | | Heavy LdCanvas refactoring, some modifications to ld-types. It just wasn't possible for me to further work with an old, 2000 lines long file without shuffling everything around at the same time.
* Fix memory leaks in LdDiagramConnection.Přemysl Janouch2011-02-061-1/+2
|
* Fix a memory leak in LdDiagramSymbol.Přemysl Janouch2011-02-063-7/+15
|
* Extend symbol area to whole pixels.Přemysl Janouch2011-02-061-0/+5
| | | | This gives better cairo performance.
* Use correct rounding when moving selection.Přemysl Janouch2011-02-051-3/+6
|
* Fix undoing, create a unit test for history.Přemysl Janouch2011-02-051-1/+1
|
* Make grid dots pixel-sharp.Přemysl Janouch2011-02-051-2/+5
|
* Refactor ld-canvas.c, extend LdCanvas operations.Přemysl Janouch2011-02-051-106/+374
| | | | Now objects can be selected and moved by dragging the mouse.
* Implement zooming in LdWindowMain.Přemysl Janouch2011-02-042-4/+60
| | | | Add convenience methods to LdCanvas.
* Make LdDiagram work with json-glib 0.10.Přemysl Janouch2011-02-041-2/+6
|
* Extend LdPointArray.Přemysl Janouch2011-02-025-30/+150
|
* Update gtk-doc documentation.Přemysl Janouch2011-02-024-6/+7
|
* Introduce LdDiagramConnection.Přemysl Janouch2011-02-026-17/+402
|
* Fix drawing of the grid.Přemysl Janouch2011-02-011-1/+12
|
* Bind actions to cursor keys in LdCanvas.Přemysl Janouch2011-02-013-1/+65
| | | | If there's a selection, move it. Otherwise move the viewport.
* Add an undo framework to LdDiagram.Přemysl Janouch2011-02-016-333/+495
| | | | | | Modify LdDiagram and LdDiagramObject to use it. Trash commit c2403fdcf7885d7da1efa2c0dfb3e294f760ca9c.
* Introduce LdUndoAction.Přemysl Janouch2011-01-313-0/+205
|
* Connect to the "data-changed" signal in LdDiagram.Přemysl Janouch2011-01-291-70/+96
| | | | Also rewrite some of the functions.
* Add some reminder comments.Přemysl Janouch2011-01-291-0/+3
|
* Fix program messages and gtk-doc comments.Přemysl Janouch2011-01-2817-307/+308
|
* Extend LdDiagramObject.Přemysl Janouch2011-01-284-45/+319
| | | | | | | | * Add generic methods for data storage, making it able to store data in a hierarchy. * Reimplement ld_diagram_{get,set}_data_for_param on top of the generic methods. * Add a "data-changed" signal.
* Remove marshallers from the tree and ignore them.Přemysl Janouch2011-01-272-153/+0
| | | | Require glib-genmarshal (a part of the standard GTK+ distribution).
* Rename ld_diagram_object_{get,set}_data().Přemysl Janouch2011-01-273-30/+30
| | | | Make small corrections.
* Make ld_canvas_new() return a GtkWidget reference.Přemysl Janouch2011-01-242-2/+2
| | | | For consistency with GTK+.
* Rename g_cclosure_user_marshal_* to ld_marshal_*.Přemysl Janouch2011-01-244-31/+31
|
* Move the library toolbar to its own class.Přemysl Janouch2011-01-246-0/+889
|
* Fix gtk-doc comments for signals.Přemysl Janouch2011-01-233-3/+5
|