Commit Graph

198 Commits

Author SHA1 Message Date
ac56c16ab8 Update the symbol library. 2011-02-14 10:46:57 +01:00
baed5ee4bd Allow rotation of symbols.
Bind this action to the right mouse button.

Due to limitations of json-glib, we can't store rotation as an enum.
2011-02-14 10:14:28 +01:00
5ccabad6ce Emit "cancel-operation", don't call the handler. 2011-02-14 08:46:41 +01:00
1730064ed3 Avoid too wide items in symbol menus. 2011-02-14 08:21:30 +01:00
8ac4674a8e Fix ld-types.h for gtk-doc. 2011-02-14 06:41:08 +01:00
0841e75076 Change the current directory on Windows.
So the application can always find it's files.
2011-02-13 21:14:24 +01:00
bc491d0d0f Update translations. 2011-02-13 20:55:03 +01:00
cffc6f01a5 Use gtk_init_with_args(). 2011-02-13 20:55:03 +01:00
ebd4cd3a17 Various changes to LdWindowMain.
* Convert filenames from system locale.
* Internationalize.
* Split diagram_show_open_dialog().
2011-02-13 20:17:21 +01:00
69f3ce89c5 Register the file type on Windows. 2011-02-13 17:51:56 +01:00
5fd66ada46 Add a header image for NSIS. 2011-02-13 17:46:53 +01:00
440a9da5fc Only install the MS-Windows GTK+ theme on Win32. 2011-02-12 18:54:54 +01:00
ee8a82925f Update json-glib checksums.
The files have been rebuilt or repacked.
2011-02-12 18:54:54 +01:00
66dc2948df Add Czech translation. 2011-02-12 18:54:42 +01:00
948e9d53d2 Update translation template. 2011-02-12 18:40:21 +01:00
9a217e97c8 Change the way translations are done.
* Require gettext-tools to build.
* Depend on libintl on Win32.
2011-02-12 18:40:16 +01:00
68e6e4a7e8 Make symbol menus nicer. 2011-02-12 18:26:27 +01:00
b7875c361f Update the symbol library, add trivial text API. 2011-02-12 18:26:15 +01:00
299ce010bd Update the symbol library.
* Add bipolar, IGFET and JFET transistors.
* Add more variants to some symbols.
* Add a symbol for a simple terminal.
* Avoid unneccessary stroke() calls.
* Fix comments.
2011-02-11 18:37:00 +01:00
2c5f2f5b3f Export more cairo functions to Lua.
Also rewrite the wrappers to be shorter.
2011-02-11 18:07:49 +01:00
d96acedcdb Speed up drawing of the grid. 2011-02-10 06:03:41 +01:00
39fb4bb56f Make all variables in Lua scripts local. 2011-02-09 14:18:22 +01:00
ab3e2733ce Add build instructions for Windows to README. 2011-02-08 10:56:00 +01:00
93bac99a10 Make CPack information more NSIS-friendly.
1. It's wont process UTF-8 correctly, so let's cripple my name.
2. Add a project URL, again in a crippled format.
2011-02-08 00:38:44 +01:00
da34bbb3bb Fix Win32Depends.cmake.
I've known about this all the time, hoping it's not a problem.
2011-02-07 23:28:55 +01:00
8ddea0ecad Bump version to 0.1.0. 2011-02-07 20:46:29 +01:00
a27122e3ae Fix generation of NSIS installer packages. 2011-02-07 20:34:48 +01:00
ea6bae70e5 Normalize CMakeLists.txt.
Use the full version number in package names.
2011-02-07 19:20:53 +01:00
97f7d2808f Update README. 2011-02-07 19:10:29 +01:00
169a28cc23 Define github as the homepage for logdiag. 2011-02-07 18:03:15 +01:00
ea9267665d Add some hints for CPack RPM generator. 2011-02-07 17:53:31 +01:00
be10a5602b Fix the win32-depends target.
Now the target seems to be quite useless, but let's keep it there.
2011-02-07 17:00:31 +01:00
2aac9c6f23 Fix drawing of symbol menus. 2011-02-07 13:53:56 +01:00
847945f051 Split the inductor symbol in two, remove pads. 2011-02-07 13:53:55 +01:00
00d9072c5b Add some miscellaneous symbols. 2011-02-07 13:53:49 +01:00
1277b6eaaf Add support for LdDiagramConnection to LdCanvas.
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.
2011-02-07 01:10:17 +01:00
ee95916749 Fix memory leaks in LdDiagramConnection. 2011-02-06 18:29:35 +01:00
107ec13506 Fix a memory leak in LdDiagramSymbol. 2011-02-06 17:57:37 +01:00
7f08a51c66 Extend symbol area to whole pixels.
This gives better cairo performance.
2011-02-06 12:36:11 +01:00
2dcf578c12 Use correct rounding when moving selection. 2011-02-05 20:17:39 +01:00
dca71f66c3 Fix undoing, create a unit test for history. 2011-02-05 19:47:07 +01:00
611b11508a Make grid dots pixel-sharp. 2011-02-05 18:52:51 +01:00
3cec64ebe8 Refactor ld-canvas.c, extend LdCanvas operations.
Now objects can be selected and moved by dragging the mouse.
2011-02-05 18:48:11 +01:00
2b0672a2cb Implement zooming in LdWindowMain.
Add convenience methods to LdCanvas.
2011-02-04 20:19:01 +01:00
6e8839d485 Don't install gtk-doc documentation yet. 2011-02-04 19:47:10 +01:00
5ec4e59ea5 Use MD5 checksums in Win32Depends.cmake. 2011-02-04 18:40:27 +01:00
26b5ff3f72 Update dependencies.
There's a JsonGenerator bug in json-glib 0.10.2.
2011-02-04 17:26:44 +01:00
f2005e3b2f Make LdDiagram work with json-glib 0.10. 2011-02-04 17:17:57 +01:00
e651ac258a Add a unit test for LdPointArray. 2011-02-03 08:13:56 +01:00
75c2358b69 Extend LdPointArray. 2011-02-02 23:53:38 +01:00