Commit Graph

145 Commits

Author SHA1 Message Date
Přemysl Eric Janouch 5c17944454 GTK+ 3: Fix compilation, scrolling, drawing 2015-01-19 04:00:06 +01:00
Přemysl Eric Janouch fa602c20ec Show something more helpful on file open error. 2012-10-09 18:06:00 +02:00
Přemysl Eric Janouch 0066917014 Support multiple filenames on command line.
Should work fine, although I doubt anyone would use it.
2012-10-09 18:03:28 +02:00
Přemysl Eric Janouch 366cfa3473 Show diagram zoom in the main window. 2012-10-09 07:06:52 +02:00
Přemysl Eric Janouch da3e53215b Load symbols from user XDG_DATA_HOME, too. 2012-10-09 06:40:16 +02:00
Přemysl Eric Janouch 295c18ae47 Update copyrights. 2012-10-08 10:35:09 +02:00
Přemysl Eric Janouch 733dfef8e0 Renaming.
LdCategoryViewIf -> LdCategoryView -> LdCategoryTreeView
2012-10-08 09:11:32 +02:00
Přemysl Eric Janouch 16d45a485f Add LdCategoryViewIf.
Deduplicates parts of LdCategory{,Symbol}View.
2012-10-08 08:07:51 +02:00
Přemysl Eric Janouch 492daa3ce3 Show symbol names in the statusbar again..
Not very clean but serves its purpose.
2012-10-08 07:29:58 +02:00
Přemysl Eric Janouch 24b4e9956b Add a usage hint to the main window. 2012-10-08 07:29:58 +02:00
Přemysl Eric Janouch 66aca31467 Change main window dimensions.
Fine-tuned for my Ubuntu, I admit.
2012-10-08 07:29:58 +02:00
Přemysl Eric Janouch 15d8c257d1 Add an LdCategory * argument to new() functions. 2012-10-08 07:29:58 +02:00
Přemysl Eric Janouch 3290aa877d Rename LdLibraryPane to LdCategoryView.
And make it load categories recursively using itself.
2012-10-08 07:29:57 +02:00
Přemysl Eric Janouch 00a50737f3 Replace LdLibraryToolbar with LdLibraryPane. 2012-10-08 00:12:58 +02:00
Přemysl Eric Janouch a18b6d6f35 Start making a replacement for LdLibraryToolbar.
The main advantages are the lack of need to create an icon
for each category there is in the library and faster workflow.
2012-10-08 00:12:58 +02:00
Přemysl Eric Janouch d9ce2716ed Fix saving.
What the user expects (TM).
2012-08-12 16:33:49 +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 b3ccabe627 Clean up dead assignments. 2012-02-02 13:28:27 +01: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 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 582b24562c Update translations.
Add translators to the About dialog.
2011-03-04 17:42:32 +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 d4bfd8a504 Convert encoding of command line filenames.
Fixes Windows.
2011-02-19 23:27:00 +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 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 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 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 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 169a28cc23 Define github as the homepage for logdiag. 2011-02-07 18:03:15 +01:00
Přemysl Eric Janouch 2b0672a2cb Implement zooming in LdWindowMain.
Add convenience methods to LdCanvas.
2011-02-04 20:19:01 +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 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 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 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 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 1201caf8a4 Use JsonObject for LdDiagramObject parameters.
Make LdDiagramObject a regular class.
2011-01-15 17:59:07 +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