Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Draw diagram objects in reversed order. | Přemysl Janouch | 2011-01-09 | 1 | -5/+5 |
| | | | | Previously older objects drew on top of newer ones. | ||||
* | Replace GSList with GList in LdDiagram. | Přemysl Janouch | 2011-01-09 | 3 | -33/+33 |
| | | | | This has been an unnecessary limitation. | ||||
* | Ensure that the canvas is focused. | Přemysl Janouch | 2011-01-09 | 1 | -0/+5 |
| | |||||
* | Call bind_textdomain_codeset(). | Přemysl Janouch | 2011-01-09 | 1 | -1/+2 |
| | |||||
* | When zooming, focus on the cursor. | Přemysl Janouch | 2011-01-09 | 1 | -0/+13 |
| | |||||
* | Add an inductor symbol. | Přemysl Janouch | 2011-01-09 | 1 | -0/+34 |
| | |||||
* | Highlight symbol terminals on mouse hover. | Přemysl Janouch | 2011-01-09 | 1 | -0/+114 |
| | |||||
* | Refactor queue_object_redraw(). | Přemysl Janouch | 2011-01-09 | 1 | -15/+27 |
| | |||||
* | Add ld_point_distance(). | Přemysl Janouch | 2011-01-09 | 2 | -0/+23 |
| | |||||
* | Take a better approach to drawing the grid. | Přemysl Janouch | 2011-01-08 | 1 | -4/+6 |
| | | | | If the diagram is zoomed out too much, just use bigger steps between dots. | ||||
* | Don't draw the grid when it would be too narrow. | Přemysl Janouch | 2011-01-08 | 1 | -0/+3 |
| | | | | This prevents eating all the memory. | ||||
* | Read terminals from Lua scripts and export them. | Přemysl Janouch | 2011-01-08 | 5 | -7/+113 |
| | | | | Also add a missing part of LdSymbol API. | ||||
* | Make LdCanvas zoom on mouse wheel. | Přemysl Janouch | 2011-01-08 | 1 | -5/+42 |
| | |||||
* | Introduce LdRectangle, LdPoint and LdPointArray. | Přemysl Janouch | 2011-01-08 | 12 | -147/+344 |
| | | | | Remove LdCanvasRect and LdSymbolArea. | ||||
* | Add basic logical symbols (NOT, AND, OR). | Přemysl Janouch | 2011-01-07 | 3 | -0/+137 |
| | |||||
* | Export more cairo methods to Lua. | Přemysl Janouch | 2011-01-07 | 1 | -43/+129 |
| | |||||
* | Update copyright years. | Přemysl Janouch | 2011-01-07 | 2 | -3/+3 |
| | |||||
* | Allow object selection in LdCanvas. | Přemysl Janouch | 2011-01-07 | 1 | -41/+111 |
| | | | | Refactor a part of LdCanvas in the process. | ||||
* | Introduce structure LdCanvasRect. | Přemysl Janouch | 2011-01-06 | 1 | -1/+40 |
| | | | | | It's basically the same as cairo_rectangle_t, just in our own namespace. | ||||
* | Change symbol clip tolerance to widget units. | Přemysl Janouch | 2011-01-06 | 1 | -9/+9 |
| | | | | As line width is in pixels, too, this makes much more sense. | ||||
* | Redraw LdCanvas on LdDiagram changes. | Přemysl Janouch | 2011-01-05 | 1 | -0/+31 |
| | |||||
* | Add new objects to the start of LdDiagram's list. | Přemysl Janouch | 2011-01-05 | 1 | -1/+1 |
| | | | | | This way it doesn't have to go through the whole linked list to find a place for the objects. | ||||
* | Add a "selection-changed" signal to LdDiagram. | Přemysl Janouch | 2011-01-05 | 2 | -4/+30 |
| | | | | Make existing code emit this signal. | ||||
* | Add ld_diagram_{select,unselect}_all(). | Přemysl Janouch | 2011-01-05 | 2 | -6/+40 |
| | |||||
* | Export cairo_{get,set}_line_width to Lua symbols. | Přemysl Janouch | 2011-01-05 | 1 | -1/+37 |
| | |||||
* | Draw selected objects with another color. | Přemysl Janouch | 2011-01-05 | 2 | -7/+70 |
| | | | | | | | | Store all colors in LdCanvasPrivate and initialize them upon object creation. This creates a base for color themes. Make attempts to try adding an object that's not a part of the document to the selection issue a warning. | ||||
* | Move lines around. No functional change. | Přemysl Janouch | 2011-01-04 | 10 | -124/+117 |
| | |||||
* | Make adding symbols to the diagram possible. | Přemysl Janouch | 2011-01-04 | 3 | -3/+277 |
| | | | | | | This required creating a simple framework for operations to LdCanvas. It is probable that it's going to require some changes when other operations are added. The basic idea behind it seems to be good, though. | ||||
* | Fix the desktop file. | Přemysl Janouch | 2011-01-04 | 1 | -2/+2 |
| | | | | The "Exec" and "Name" entries were swapped. | ||||
* | Fix the "library" property in LdCanvas. | Přemysl Janouch | 2011-01-04 | 1 | -1/+1 |
| | |||||
* | Partial refactoring of LdCanvas. | Přemysl Janouch | 2011-01-04 | 1 | -48/+87 |
| | | | | draw_symbol() had been doing too much. | ||||
* | Split in-out parameters into separate in and out. | Přemysl Janouch | 2011-01-03 | 2 | -25/+29 |
| | | | | | | In functions: ld_canvas_diagram_to_widget_coords() ld_canvas_widget_to_diagram_coords() | ||||
* | Update the copy of FindGTK2.cmake. | Přemysl Janouch | 2010-12-24 | 1 | -10/+41 |
| | |||||
* | Fix problems discovered while testing on Windows. | Přemysl Janouch | 2010-12-20 | 3 | -4/+21 |
| | | | | | | | * Set the working directory for glib-genmarshal correctly. * Use one more path suffix when searching for glibconfig.h. * Don't assume that gdk_screen_get_resolution() returns a useful value. | ||||
* | Documentation maintenance. | Přemysl Janouch | 2010-12-18 | 2 | -21/+19 |
| | | | | | | | * Do not require gtk-doc to be installed. * Use FindPackageHandleStandardArgs in FindGtkDoc.cmake. * Fix installation (wrong source path). * Don't install neither the documentation nor the desktop file on Windows. | ||||
* | LdCanvas maintenance. | Přemysl Janouch | 2010-12-18 | 2 | -25/+27 |
| | | | | | | | | * Rename ld_canvas_translate_*_coordinates() to ld_canvas_*_to_*_coords(). * Add missing parameter assertions to those functions. * Rename local variables in draw_grid(). * Use gdk_cairo_rectangle() in expose-event handler. * Update comments. | ||||
* | Make the symbol menu grab focus. | Přemysl Janouch | 2010-12-18 | 1 | -1/+38 |
| | | | | | | | | | This way when the user clicks outside the menu when it is open, the menu will close itself first. Keyboard input is however still not handled. The symbol menu should be redesigned. | ||||
* | Rename LdDocument* to LdDiagram*. | Přemysl Janouch | 2010-12-16 | 17 | -1065/+1066 |
| | | | | My bad; this name is much more appropriate. | ||||
* | Overall cleanup. | Přemysl Janouch | 2010-12-16 | 6 | -20/+25 |
| | | | | | | | | | * Add missing asserts to exported functions. * Unify formatting. * Fix the gtk-doc comment for ld_symbol_category_set_human_name(). * Make ld_library_load() reflect it's declaration. * Remove an unused variable in ld_library_load_cb(). * Change all char's to gchar's. | ||||
* | Implement diagram operations in UI. | Přemysl Janouch | 2010-12-16 | 1 | -47/+460 |
| | | | | | | | * Now diagrams can be created, loaded and saved. * Define descriptions and accelerators for actions. * Set irrelevant actions unsensitive. * Also remove redundant comments for clarity. | ||||
* | Add change notifications to properties. | Přemysl Janouch | 2010-12-16 | 4 | -3/+21 |
| | | | | | | Also fix the "human-name" property in LdSymbolCategory and correct gtk-doc comments for coordinates properties accessors in LdDocumentObject. | ||||
* | Remove redundant flags from signals. | Přemysl Janouch | 2010-12-12 | 2 | -3/+3 |
| | |||||
* | LdWindowMain cleanup. | Přemysl Janouch | 2010-12-12 | 3 | -74/+59 |
| | | | | | | | | | | * Restructure the initialization code. * Move LdCanvas event mask setting to ld-canvas.c. * Remove some redundant code. * Use consistent naming. * Update comments. Practically no functional change. | ||||
* | Rename local LdCanvas methods. | Přemysl Janouch | 2010-12-12 | 1 | -5/+5 |
| | | | | Use a "real" prefix, as GTK+ does. | ||||
* | Stubplement LdDocument file operations. | Přemysl Janouch | 2010-12-11 | 2 | -8/+47 |
| | | | | Prototypes for these functions were wrong; fixed. | ||||
* | Add a "modified" property to LdDocument. | Přemysl Janouch | 2010-12-11 | 2 | -16/+148 |
| | | | | | | | The property is set to TRUE whenever the document changes. The user may set it back to FALSE with ld_document_set_modified(). Also don't emit the "changed" signal when nothing has happened. | ||||
* | Rename local LdLuaSymbol methods. | Přemysl Janouch | 2010-12-11 | 1 | -15/+15 |
| | | | | | | | Use a "real" prefix, as GTK+ does. Also make the implementations of virtual functions really static, as they prototypes were telling. | ||||
* | Add a main toolbar. | Přemysl Janouch | 2010-12-11 | 2 | -17/+30 |
| | | | | So far it has no special powers. This should change in the future. | ||||
* | Check for name collisions in symbol categories. | Přemysl Janouch | 2010-12-11 | 1 | -3/+24 |
| | |||||
* | Add category.json files for testing categories. | Přemysl Janouch | 2010-12-11 | 2 | -0/+10 |
| |