Commit Graph

377 Commits

Author SHA1 Message Date
Přemysl Eric Janouch c8caca073f Add API for turning off the grid. 2011-03-07 17:29:26 +01:00
Přemysl Eric Janouch 6ae08ee425 Glue to terminal points when creating connections. 2011-03-07 17:29:26 +01:00
Přemysl Eric Janouch 89b20380d3 Allow rotating of symbols while placing them. 2011-03-07 17:29:26 +01:00
Přemysl Eric Janouch e40591feb8 Add the ohmmeter back again.
This time, it's a regular curve.
2011-03-07 17:29:26 +01:00
Přemysl Eric Janouch 01dea6fb2e Add separate plus and minus signs. 2011-03-07 17:29:26 +01:00
Přemysl Eric Janouch f821e029d7 Add a user guide for Microsoft Windows.
Currently in two translations, Czech and English.

Only the XeLaTeX sources are provided.

This is to be later replaced by a multiplatform, multilingual
DocBook-based documentation, but that requires a bit more work
on integrating it with CMake and all.
2011-03-07 17:29:26 +01:00
Přemysl Eric Janouch df5f14060b Add Slovak translation. 2011-03-07 17:29:19 +01:00
Přemysl Eric Janouch 582b24562c Update translations.
Add translators to the About dialog.
2011-03-04 17:42:32 +01:00
Přemysl Eric Janouch bd1b3adf56 Update symbol library.
* Workaround the Windows pangocairo bug by drawing text
  with curves. Remove some of the meters.
* Remove terminal lines from meters and voltage sources,
  add vertical terminal points instead.
2011-02-24 08:14:48 +01:00
Přemysl Eric Janouch 8cdefbca29 Bump version to 0.1.1. 2011-02-20 14:46:47 +01:00
Přemysl Eric Janouch 0aaa214a75 Update NEWS. 2011-02-20 14:46:47 +01:00
Přemysl Eric Janouch b37f856557 Update links in Win32Depends.cmake. 2011-02-20 14:46:47 +01:00
Přemysl Eric Janouch 7d2b3a8c2f Install the NEWS file. 2011-02-20 14:46:46 +01:00
Přemysl Eric Janouch 95b92e12f9 Fix gtk-doc comments. 2011-02-20 13:39:44 +01:00
Přemysl Eric Janouch 403a9d702a Disable LdDiagramView scrollbars when not needed. 2011-02-20 12:54:15 +01:00
Přemysl Eric Janouch f9827e2ff3 Refactor oper_connect_motion(). 2011-02-20 12:41:45 +01:00
Přemysl Eric Janouch d4bfd8a504 Convert encoding of command line filenames.
Fixes Windows.
2011-02-19 23:27:00 +01:00
Přemysl Eric Janouch 8f8866ffc4 Fix transistor symbols. 2011-02-19 22:49:21 +01:00
Přemysl Eric Janouch f074bc6742 Also find terminals on ends of connections. 2011-02-19 22:49:21 +01:00
Přemysl Eric Janouch 8aef3fc772 Use "typedef struct" in ld-diagram-view.c. 2011-02-19 22:49:20 +01:00
Přemysl Eric Janouch b5ff3b5bbb Don't emit changes when reading.
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.
2011-02-19 22:49:20 +01:00
Přemysl Eric Janouch 58e3e43c15 Change voltage source symbols. 2011-02-19 22:49:20 +01:00
Přemysl Eric Janouch fdb6418733 Reset view to center for new diagrams. 2011-02-19 22:49:20 +01:00
Přemysl Eric Janouch 6820d27efa Add "x" and "y" properties to LdDiagramView.
Plus a bit of refactoring.
2011-02-19 22:49:20 +01:00
Přemysl Eric Janouch 781273c236 Open files from command line. 2011-02-19 22:49:20 +01:00
Přemysl Eric Janouch 7fa6efbaec Rename LdCanvas to LdDiagramView. 2011-02-19 22:49:20 +01:00
Přemysl Eric Janouch 6a8238846c Add a symbol for junctions. 2011-02-19 22:49:20 +01:00
Přemysl Eric Janouch 412a01690b Change selection color to red.
To make it more distinctive.
2011-02-19 22:49:20 +01:00
Přemysl Eric Janouch 841e9e9f85 Fix README.
The sentence about goals doesn't seem to have any sense.
2011-02-19 22:48:22 +01:00
Přemysl Eric Janouch ac56c16ab8 Update the symbol library. 2011-02-14 10:46:57 +01:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch 5ccabad6ce Emit "cancel-operation", don't call the handler. 2011-02-14 08:46:41 +01:00
Přemysl Eric Janouch 1730064ed3 Avoid too wide items in symbol menus. 2011-02-14 08:21:30 +01:00
Přemysl Eric Janouch 8ac4674a8e Fix ld-types.h for gtk-doc. 2011-02-14 06:41:08 +01:00
Přemysl Eric Janouch 0841e75076 Change the current directory on Windows.
So the application can always find it's files.
2011-02-13 21:14:24 +01:00
Přemysl Eric Janouch bc491d0d0f Update translations. 2011-02-13 20:55:03 +01:00
Přemysl Eric Janouch cffc6f01a5 Use gtk_init_with_args(). 2011-02-13 20:55:03 +01:00
Přemysl Eric Janouch ebd4cd3a17 Various changes to LdWindowMain.
* Convert filenames from system locale.
* Internationalize.
* Split diagram_show_open_dialog().
2011-02-13 20:17:21 +01:00
Přemysl Eric Janouch 69f3ce89c5 Register the file type on Windows. 2011-02-13 17:51:56 +01:00
Přemysl Eric Janouch 5fd66ada46 Add a header image for NSIS. 2011-02-13 17:46:53 +01:00
Přemysl Eric Janouch 440a9da5fc Only install the MS-Windows GTK+ theme on Win32. 2011-02-12 18:54:54 +01:00
Přemysl Eric Janouch ee8a82925f Update json-glib checksums.
The files have been rebuilt or repacked.
2011-02-12 18:54:54 +01:00
Přemysl Eric Janouch 66dc2948df Add Czech translation. 2011-02-12 18:54:42 +01:00
Přemysl Eric Janouch 948e9d53d2 Update translation template. 2011-02-12 18:40:21 +01:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch 68e6e4a7e8 Make symbol menus nicer. 2011-02-12 18:26:27 +01:00
Přemysl Eric Janouch b7875c361f Update the symbol library, add trivial text API. 2011-02-12 18:26:15 +01:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch 2c5f2f5b3f Export more cairo functions to Lua.
Also rewrite the wrappers to be shorter.
2011-02-11 18:07:49 +01:00
Přemysl Eric Janouch d96acedcdb Speed up drawing of the grid. 2011-02-10 06:03:41 +01:00