403a9d702a
Disable LdDiagramView scrollbars when not needed.
2011-02-20 12:54:15 +01:00
d4bfd8a504
Convert encoding of command line filenames.
...
Fixes Windows.
2011-02-19 23:27:00 +01:00
fdb6418733
Reset view to center for new diagrams.
2011-02-19 22:49:20 +01:00
781273c236
Open files from command line.
2011-02-19 22:49:20 +01:00
7fa6efbaec
Rename LdCanvas to LdDiagramView.
2011-02-19 22:49:20 +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
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
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
169a28cc23
Define github as the homepage for logdiag.
2011-02-07 18:03:15 +01:00
2b0672a2cb
Implement zooming in LdWindowMain.
...
Add convenience methods to LdCanvas.
2011-02-04 20:19:01 +01:00
c091f71f9a
Offer the undo functionality in LdWindowMain.
...
Kill the "Export" action for now.
2011-02-01 14:52:27 +01:00
400568ed7d
Add some reminder comments.
2011-01-29 13:09:16 +01:00
cf3e4ae473
Fix program messages and gtk-doc comments.
2011-01-28 17:50:21 +01:00
b782dae4b2
Make ld_canvas_new() return a GtkWidget reference.
...
For consistency with GTK+.
2011-01-24 17:22:37 +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
68dce38450
Add an application icon.
2011-01-16 18:33:31 +01:00
81f116ed12
Handle Edit menu actions (Delete, Select All).
2011-01-16 18:33:31 +01:00
1201caf8a4
Use JsonObject for LdDiagramObject parameters.
...
Make LdDiagramObject a regular class.
2011-01-15 17:59:07 +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
01d771403e
Write a signature to diagram files.
2011-01-10 06:56:07 +01:00
d7c22f10d5
Fix drawing of symbol menus.
2011-01-10 05:19:32 +01:00
d785feeb82
Show names of symbols in the statusbar.
2011-01-10 04:58:32 +01:00
09a6e91f96
Remove a FIXME.
...
We don't really need to set the GError to anything.
2011-01-10 04:34:24 +01:00
bd4ca0dd29
Simulate motion events when needed.
2011-01-10 04:24:16 +01:00
a3eaab63ff
Draw category icons with style colors.
...
Previously the icons have been black in all themes.
2011-01-10 03:45:38 +01:00
73b611a844
Add a View menu to LdWindowMain, disabled so far.
2011-01-09 13:54:20 +01:00
1677e320a3
Add a "zoom" property to LdCanvas.
2011-01-09 08:35:40 +01:00
9db7e667ac
Add hide_terminals() to LdCanvas.
2011-01-09 08:10:20 +01:00
01541d7c46
Add a "class" property to LdDiagramSymbol.
...
Also add missing gtk-doc comments
for ld_diagram_symbol_{get,set}_class().
2011-01-09 07:30:01 +01:00
1cf5b9cd83
Make ld_lua_logdiag_register() a bit safer.
2011-01-09 07:09:18 +01:00
54ef5ce450
Fix comments.
2011-01-09 07:08:39 +01:00
8243114d09
Draw diagram objects in reversed order.
...
Previously older objects drew on top of newer ones.
2011-01-09 06:05:43 +01:00
911fac4c2f
Replace GSList with GList in LdDiagram.
...
This has been an unnecessary limitation.
2011-01-09 05:58:34 +01:00
9de3a0976d
Ensure that the canvas is focused.
2011-01-09 05:52:27 +01:00
800a381129
Call bind_textdomain_codeset().
2011-01-09 05:40:25 +01:00
3aeedd37b6
When zooming, focus on the cursor.
2011-01-09 05:32:08 +01:00
61ae34236a
Highlight symbol terminals on mouse hover.
2011-01-09 04:50:58 +01:00
f12df021f7
Refactor queue_object_redraw().
2011-01-09 04:41:41 +01:00
2328058b46
Add ld_point_distance().
2011-01-09 04:35:10 +01:00
fe996324d3
Take a better approach to drawing the grid.
...
If the diagram is zoomed out too much, just use bigger steps between dots.
2011-01-08 16:41:55 +01:00
909a0352cc
Don't draw the grid when it would be too narrow.
...
This prevents eating all the memory.
2011-01-08 12:11:08 +01:00
edd64aa132
Read terminals from Lua scripts and export them.
...
Also add a missing part of LdSymbol API.
2011-01-08 12:09:45 +01:00
7ce03bac9d
Make LdCanvas zoom on mouse wheel.
2011-01-08 12:05:59 +01:00
96f7710c25
Introduce LdRectangle, LdPoint and LdPointArray.
...
Remove LdCanvasRect and LdSymbolArea.
2011-01-08 09:01:33 +01:00
fda123249a
Export more cairo methods to Lua.
2011-01-07 16:15:58 +01:00
6b5bae881c
Update copyright years.
2011-01-07 05:13:00 +01:00