Commit Graph

357 Commits

Author SHA1 Message Date
Přemysl Eric Janouch bb224bafd0 More fixing.
* Fix a resource leak in LdLibrary.
* Add missing property change notifiers
  to ld_diagram_object_{get,set}_storage().
* Don't unref the parameter in ld_symbol_category_remove_{symbol,subcategory}
  if it wasn't actually removed from the internal list.
* Fix a cyclic dependency problem in LdDiagram.
2012-08-12 01:01:13 +02:00
Přemysl Eric Janouch f55afb6542 Put subcategories and symbols in different lists.
Removes some ugliness from the code.
2012-08-11 20:17:10 +02:00
Přemysl Eric Janouch b0ecd81212 Maintenance.
* Fix setting the GSETTINGS_SCHEMA_DIR environment variable.
* Use g_value_take_boxed() instead of deprecated
  g_value_set_boxed_take_ownership().
* Remove an unused variable.
* Clean up load_category() a bit.
2012-08-11 07:25:54 +02:00
Přemysl Eric Janouch 94f27cb38c Integrate cppcheck. 2012-04-17 10:28:46 +02:00
Přemysl Eric Janouch b3ccabe627 Clean up dead assignments. 2012-02-02 13:28:27 +01:00
Přemysl Eric Janouch d9a310a691 Try to fix the README in GitHub. 2012-01-29 22:53:09 +01:00
Přemysl Eric Janouch 745bbf0ce5 Fix the make-template.sh script. 2012-01-29 21:48:17 +01:00
Přemysl Eric Janouch 72b562760e Make CMakeLists.txt targets more generic. 2012-01-29 21:48:17 +01:00
Přemysl Eric Janouch 2e1adc3d56 Update Win32Depends.cmake. 2012-01-29 21:48:14 +01:00
Přemysl Eric Janouch ae8d44a75b Fix README headings. 2011-07-05 13:12:34 +02:00
Přemysl Eric Janouch 50b0d3c395 Ignore Qt Creator settings file in the tree. 2011-07-05 13:11:49 +02:00
Přemysl Eric Janouch 4e440eb35b Set StartupNotify=true in the desktop file. 2011-06-12 11:48:31 +02:00
Přemysl Eric Janouch b2223d6595 Integrate GSettings, remember View settings.
The org.logdiag ID has been chosen as I haven't found any specific rules
and com.github.logdiag seems not to be future-proof. This domain remains
available so far, anyway.

The schemas are compiled only when installed directly to CMAKE_INSTALL_PREFIX
to the root filesystem. When invoking `make install` with DESTDIR, only
the XML files are copied over as the schemas would have to be recompiled
later anyway.
2011-06-12 10:05:16 +02:00
Přemysl Eric Janouch e1e9a6d319 Fix make-template.sh.
It needs the bash shell interpreter to run.
2011-06-11 11:46:43 +02:00
Přemysl Eric Janouch 2509f0af52 Workaround the ANSI codepage limitation on Win32. 2011-06-10 14:52:22 +02:00
Přemysl Eric Janouch 5d1c8bbf75 Change the way command line arguments are parsed. 2011-06-10 14:51:42 +02:00
Přemysl Eric Janouch a2b898b610 Change the cursor when scrolling the view.
For consistency with other GTK+ applications.
2011-06-09 21:56:38 +02:00
Přemysl Eric Janouch c36ca83406 Update Win32Depends.cmake.
* Update the link for libbz2.
* Retrieve URLs for openSUSE packages from the directory listing,
  start using the stable openSUSE 11.4 repository.
* Check MD5 of packages that are already present.
2011-06-09 21:11:41 +02:00
Přemysl Eric Janouch d8fd4430fc Add scrolling using the middle mouse button.
A bit of refactoring, too.
2011-06-09 21:11:41 +02:00
Přemysl Eric Janouch 82bf779405 Disallow wheel zooming when holding mouse buttons. 2011-06-09 21:11:41 +02:00
Přemysl Eric Janouch cd66c3d84a Ignore terminals when hovering above selection.
Also fix checking for the shift key and rename the "object"
variable to "object_at_cursor" in button handlers.
2011-06-09 21:11:41 +02:00
Přemysl Eric Janouch 8001619bf1 Update German translation file. 2011-06-09 21:11:40 +02:00
Přemysl Eric Janouch 423afa8eec Fix .deb package generation.
Update the README instructions, too, since fakeroot is essential.
Ubuntu 11.04 did not want to accept the package previously.
2011-06-09 21:11:22 +02:00
Přemysl Eric Janouch ef2966e9bc Bump to version 0.1.2.
Update NEWS.
2011-03-07 17:29:27 +01:00
Přemysl Eric Janouch 7069108a0a Fix action labels in Czech and Slovak. 2011-03-07 17:29:27 +01:00
Přemysl Eric Janouch d4cff849f8 Change language team e-mail addresses. 2011-03-07 17:29:27 +01:00
Přemysl Eric Janouch 3430bf30bb Add German translation. 2011-03-07 17:29:27 +01:00
Přemysl Eric Janouch 0640067bf0 Add Polish translation. 2011-03-07 17:29:27 +01:00
Přemysl Eric Janouch 1c118251bd Update translations. 2011-03-07 17:29:27 +01:00
Přemysl Eric Janouch 94cb6ee53a Add toggle actions to the View menu.
So far these settings are not saved anywhere.
2011-03-07 17:29:27 +01:00
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