Přemysl Eric Janouch
26b5ff3f72
Update dependencies.
...
There's a JsonGenerator bug in json-glib 0.10.2.
2011-02-04 17:26:44 +01:00
Přemysl Eric Janouch
f2005e3b2f
Make LdDiagram work with json-glib 0.10.
2011-02-04 17:17:57 +01:00
Přemysl Eric Janouch
e651ac258a
Add a unit test for LdPointArray.
2011-02-03 08:13:56 +01:00
Přemysl Eric Janouch
75c2358b69
Extend LdPointArray.
2011-02-02 23:53:38 +01:00
Přemysl Eric Janouch
f864693f1b
Update gtk-doc documentation.
2011-02-02 17:26:04 +01:00
Přemysl Eric Janouch
2744d84896
Introduce LdDiagramConnection.
2011-02-02 17:22:34 +01:00
Přemysl Eric Janouch
539f537846
Fix drawing of the grid.
2011-02-01 17:21:08 +01:00
Přemysl Eric Janouch
a967a2c3b8
Bind actions to cursor keys in LdCanvas.
...
If there's a selection, move it. Otherwise move the viewport.
2011-02-01 14:52:48 +01:00
Přemysl Eric Janouch
c091f71f9a
Offer the undo functionality in LdWindowMain.
...
Kill the "Export" action for now.
2011-02-01 14:52:27 +01:00
Přemysl Eric Janouch
18f5da9529
Add an undo framework to LdDiagram.
...
Modify LdDiagram and LdDiagramObject to use it.
Trash commit c2403fdcf7
.
2011-02-01 14:52:17 +01:00
Přemysl Eric Janouch
caf06ff4e8
Introduce LdUndoAction.
2011-01-31 21:58:41 +01:00
Přemysl Eric Janouch
6ff28b0992
Register a MIME type.
2011-01-30 15:29:19 +01:00
Přemysl Eric Janouch
c07d5f552d
Connect to the "data-changed" signal in LdDiagram.
...
Also rewrite some of the functions.
2011-01-29 15:19:52 +01:00
Přemysl Eric Janouch
400568ed7d
Add some reminder comments.
2011-01-29 13:09:16 +01:00
Přemysl Eric Janouch
cf3e4ae473
Fix program messages and gtk-doc comments.
2011-01-28 17:50:21 +01:00
Přemysl Eric Janouch
c2403fdcf7
Extend LdDiagramObject.
...
* 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.
2011-01-28 16:29:18 +01:00
Přemysl Eric Janouch
b7fa5372fd
Update package links in Win32Depends.cmake.
2011-01-27 19:16:13 +01:00
Přemysl Eric Janouch
d6de5609ed
Remove marshallers from the tree and ignore them.
...
Require glib-genmarshal (a part of the standard GTK+ distribution).
2011-01-27 18:56:41 +01:00
Přemysl Eric Janouch
17bf37ceba
Rename ld_diagram_object_{get,set}_data().
...
Make small corrections.
2011-01-27 16:31:20 +01:00
Přemysl Eric Janouch
b782dae4b2
Make ld_canvas_new() return a GtkWidget reference.
...
For consistency with GTK+.
2011-01-24 17:22:37 +01:00
Přemysl Eric Janouch
5d766cba77
Rename g_cclosure_user_marshal_* to ld_marshal_*.
2011-01-24 17:18:28 +01:00
Přemysl Eric Janouch
33beece3ab
Move the library toolbar to its own class.
2011-01-24 17:13:56 +01:00
Přemysl Eric Janouch
4a9a8e8f0a
Include liblogdiag.h as it was an external lib.
2011-01-24 04:42:18 +01:00
Přemysl Eric Janouch
9a49a2219a
Fix gtk-doc comments for signals.
2011-01-23 15:52:52 +01:00
Přemysl Eric Janouch
1235d571ae
Fix installation location of gtk-doc help.
2011-01-23 15:40:31 +01:00
Přemysl Eric Janouch
18b732653e
Update FindGtkDoc.cmake.
...
* Hack up support for gtkdoc-scangobj and use it in CMakeLists.txt.
* Trash gtkdoc-mktmpl, we won't need it.
* Always remove SGML/XML/HTML directories before filling them.
2011-01-23 15:17:11 +01:00
Přemysl Eric Janouch
ea3793589e
Prevent cleaning of generated icons.
2011-01-23 13:26:00 +01:00
Přemysl Eric Janouch
f5079833eb
Set up the project for NSIS.
...
Make lines in the LICENSE file shorter, so they don't wrap there.
2011-01-22 20:18:46 +01:00
Přemysl Eric Janouch
37e2c5f01f
Generate more icons.
...
* Add automatic icon generation to CMakeLists.txt.
These icons are generated from the scalable SVG image.
* Add pregenerated icons to the tree.
* Link an icon to the Windows binary.
2011-01-22 18:07:12 +01:00
Přemysl Eric Janouch
2f5f87119d
Integrate support for MinGW Win32 builds.
...
* Add Win32Depends.cmake, which retrieves all dependencies from
the Internet. Other ways of building the application on Win32
are not supported.
* Install the application correctly on Win32.
* Make FindGTK2.cmake search for GIO.
* Make the project a C-only project, so g++ is not needed.
* Remove obsolete checks for strtok().
* Set WIN32_EXECUTABLE on the application.
2011-01-22 18:07:08 +01:00
Přemysl Eric Janouch
a7cc4ef2a1
Add a README.md file.
...
Describe the application as a "schematic editor" everywhere.
2011-01-16 19:54:53 +01:00
Přemysl Eric Janouch
f111aa05d7
Update CMakeLists.txt.
...
* Install the LICENSE file.
* Install share/gui and share/library.
* Fix installation location of gtk-doc help.
* Wrap lines where appropriate.
2011-01-16 18:56:42 +01:00
Přemysl Eric Janouch
63420c26cf
Fix the .desktop file.
...
Missing trailing colon in the Categories entry.
2011-01-16 18:33:31 +01:00
Přemysl Eric Janouch
68dce38450
Add an application icon.
2011-01-16 18:33:31 +01:00
Přemysl Eric Janouch
81f116ed12
Handle Edit menu actions (Delete, Select All).
2011-01-16 18:33:31 +01:00
Přemysl Eric Janouch
60a00e3551
Refactor LdDiagram selection handling methods.
...
Add ld_diagram_remove_selection().
2011-01-16 18:33:19 +01:00
Přemysl Eric Janouch
6854c8a643
Revert the order of LdDiagram objects.
...
Now they go from oldest to newest.
2011-01-16 14:33:52 +01:00
Přemysl Eric Janouch
cb278a2bf1
Use properties instead of accessor methods.
2011-01-16 14:22:21 +01:00
Přemysl Eric Janouch
5124cf8d71
Basic implementation of loading.
...
Add an error domain for the purpose of returning errors.
2011-01-16 13:36:11 +01:00
Přemysl Eric Janouch
e9da09f196
Basic implementation of saving.
...
When the objects are stored, ensure that they have a "type" member
that makes it possible to determine their class/purpose.
2011-01-16 12:17:51 +01:00
Přemysl Eric Janouch
1201caf8a4
Use JsonObject for LdDiagramObject parameters.
...
Make LdDiagramObject a regular class.
2011-01-15 17:59:07 +01:00
Přemysl Eric Janouch
9c5ade156a
Make config.h.in fit between other source files.
2011-01-10 17:09:40 +01:00
Přemysl Eric Janouch
616c49a505
Make a separate library.
...
This is required for gtkdoc-scangobj. So far it's much like it's been
before, the main differences are that source files are in two directories
from now on and the build process has two stages.
2011-01-10 17:07:02 +01:00
Přemysl Eric Janouch
63b36a2b5b
Use a central header.
...
$ time (make clean; make)
Before: ~8.0 seconds
After: ~8.1 seconds
2011-01-10 11:27:05 +01:00
Přemysl Eric Janouch
01d771403e
Write a signature to diagram files.
2011-01-10 06:56:07 +01:00
Přemysl Eric Janouch
d7c22f10d5
Fix drawing of symbol menus.
2011-01-10 05:19:32 +01:00
Přemysl Eric Janouch
d785feeb82
Show names of symbols in the statusbar.
2011-01-10 04:58:32 +01:00
Přemysl Eric Janouch
09a6e91f96
Remove a FIXME.
...
We don't really need to set the GError to anything.
2011-01-10 04:34:24 +01:00
Přemysl Eric Janouch
bd4ca0dd29
Simulate motion events when needed.
2011-01-10 04:24:16 +01:00
Přemysl Eric Janouch
a3eaab63ff
Draw category icons with style colors.
...
Previously the icons have been black in all themes.
2011-01-10 03:45:38 +01:00