Commit Graph

39 Commits

Author SHA1 Message Date
dca71f66c3 Fix undoing, create a unit test for history. 2011-02-05 19:47:07 +01:00
6e8839d485 Don't install gtk-doc documentation yet. 2011-02-04 19:47:10 +01:00
26b5ff3f72 Update dependencies.
There's a JsonGenerator bug in json-glib 0.10.2.
2011-02-04 17:26:44 +01:00
e651ac258a Add a unit test for LdPointArray. 2011-02-03 08:13:56 +01:00
2744d84896 Introduce LdDiagramConnection. 2011-02-02 17:22:34 +01:00
caf06ff4e8 Introduce LdUndoAction. 2011-01-31 21:58:41 +01:00
6ff28b0992 Register a MIME type. 2011-01-30 15:29:19 +01:00
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
5d766cba77 Rename g_cclosure_user_marshal_* to ld_marshal_*. 2011-01-24 17:18:28 +01:00
33beece3ab Move the library toolbar to its own class. 2011-01-24 17:13:56 +01:00
4a9a8e8f0a Include liblogdiag.h as it was an external lib. 2011-01-24 04:42:18 +01:00
1235d571ae Fix installation location of gtk-doc help. 2011-01-23 15:40:31 +01:00
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
ea3793589e Prevent cleaning of generated icons. 2011-01-23 13:26:00 +01:00
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
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
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
a7cc4ef2a1 Add a README.md file.
Describe the application as a "schematic editor" everywhere.
2011-01-16 19:54:53 +01:00
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
68dce38450 Add an application icon. 2011-01-16 18:33:31 +01:00
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
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
96f7710c25 Introduce LdRectangle, LdPoint and LdPointArray.
Remove LdCanvasRect and LdSymbolArea.
2011-01-08 09:01:33 +01:00
9dc1822040 Fix problems discovered while testing on Windows.
* 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.
2010-12-20 05:20:21 +01:00
b44b3e6a54 Documentation maintenance.
* 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.
2010-12-18 17:47:37 +01:00
86e73f86c2 Rename LdDocument* to LdDiagram*.
My bad; this name is much more appropriate.
2010-12-16 11:34:02 +01:00
3d3a71d5d2 Prepare the project for json-glib.
This required writing a special CMake find module.
2010-12-05 15:30:21 +01:00
147cf2977a Initial LdDocument implementation.
The document maintains a list of LdDocumentObject objects.
2010-12-05 15:15:52 +01:00
9a242786b1 Redesign and implement the basic parts of LdLua.
There's a very strong bond between LdLua and LdLuaSymbol.
LdLuaSymbol is more like an interface to LdLua than a separate object.
2010-10-26 16:40:53 +02:00
efe45e9601 Convert LdSymbol into an abstract class.
Created LdLuaSymbol, which subclasses LdSymbol.
2010-10-17 14:05:53 +02:00
c0ec389b59 Renamed LdSymbolLibrary to LdLibrary. 2010-10-17 14:05:53 +02:00
5da5689541 WIP: Refactoring of the library and symbols 2010-10-17 14:05:53 +02:00
f250621519 Split ld-symbol-library.c.
Originally, there were three object classes defined in this file.
It would later become rather chaotic if left that way.
2010-09-20 18:18:30 +02:00
f675a7c07c Require Lua 5.1 and GTK+ 2.12. 2010-09-20 17:28:23 +02:00
2dd5dbaf67 Automatized generation of marshallers. 2010-09-19 19:12:36 +02:00
65bbe06267 Add marshaller files generated by glib-genmarshal. 2010-09-19 19:12:36 +02:00
341f51eb41 Renamed source files.
Also a little change in CMakeLists.txt.

The next commit is going to change the object prefix.
2010-09-19 19:12:12 +02:00
82cfa12920 A little bit of cleanup. 2010-09-14 07:19:00 +02:00
b230b69539 Initial commit 2010-09-13 19:24:53 +02:00