Commit Graph

116 Commits

Author SHA1 Message Date
4f01392de5
Add basic print functionality
Sadly, the line width depends on the widget's DPI, which seems to
even cause uneven lines on Windows, where virtual printers claim
high DPI.  It might also be an unrelated problem.

Similarly, selected objects are exported highlighted.

Other than that, it works quite well.

Add a manifest to make the print dialog look nice with the older
GTK+ bundle we depend upon.

The RC file could theoretically be scanned for /\s+"([^"]+)"\s*$/,
unescaped, and the results configure_file()-stamped.
2021-10-28 05:57:27 +02:00
bc8ceebef7
Add clang-format configuration, clean up 2021-10-25 18:06:50 +02:00
384dad7bd8
Get rid of extra semicolons after macros 2021-10-25 00:27:32 +02:00
1ca42eb8e2
Update a comment about widget styling 2021-10-17 08:33:11 +02:00
3102bc0cb9
LdCategorySymbolView: work around a mysterious bug
We sometimes get a deselecting event when toying around with menus
and then dragging.  There might be a simpler reproducer.
2021-07-24 10:44:19 +02:00
af14119165
Name change
Also some copyright years fix-ups/updates.
2020-09-28 04:49:03 +02:00
c2caf2b825
Fix assertion failures on quitting 2018-06-25 03:51:38 +02:00
f75c15fda5
Workaround an issue with getting theme colours
I see that GTK+ 3 is no longer something to be used.
2018-06-25 03:42:38 +02:00
c09acf120c
Make gtk-doc work again
gtk-doc has gained an official CMake module which can fix xrefs.

Meanwhile, our old module has stopped working for whatever reason,
might be that I've botched the LdCategoryView interface somehow.
2018-06-24 23:27:26 +02:00
ced3913e68
Fix and update LICENSE 2017-02-03 23:06:48 +01:00
af51c00c93 Try making it build with GTK+ 3.4 2015-02-08 15:48:01 +01:00
cd3599bd1b Silence other stupid deprecation warnings 2015-01-20 09:47:00 +01:00
1adeac6c22 Fix additional deprecation warnings
Again with more code.
2015-01-20 09:36:43 +01:00
13f212d4e9 Fix motion simulation 2015-01-20 09:07:58 +01:00
a7f869b707 Fix zooming with mouse wheel 2015-01-20 08:03:02 +01:00
fb6f89fb5c Fix a depreciation warning
With a ton of additional code.
2015-01-20 07:58:57 +01:00
e1225accf4 Fix a few deprecation warnings 2015-01-20 07:41:54 +01:00
5b16953a2f Fix drag and drop
GTK+ 3 started sending leave notifications upon starting a DND operation.
2015-01-20 07:41:04 +01:00
616650c558 Fix LdCategorySymbolView size negotiation
In GTK+ 3 I don't need the negotiation hack anymore.
2015-01-19 04:00:33 +01:00
5c17944454 GTK+ 3: Fix compilation, scrolling, drawing 2015-01-19 04:00:06 +01:00
c41f3ae529 Switch to GTK3 via pkg-config, start the port 2015-01-19 00:02:48 +01:00
6e6cf05093 We Lua 5.2 now
Lua 5.1 seems to have been obsoleted.  Luckily this was pretty simple.
2015-01-18 23:29:53 +01:00
f0ac99072e Win32 bugfixes.
* Force redraw on LdCategorySymbolView size allocation.
* Fix an infinite loop sometimes caused by update_adjustments().
2012-10-10 20:35:52 +02:00
295c18ae47 Update copyrights. 2012-10-08 10:35:09 +02:00
b19326a1e0 Code reordering. 2012-10-08 10:10:29 +02:00
733dfef8e0 Renaming.
LdCategoryViewIf -> LdCategoryView -> LdCategoryTreeView
2012-10-08 09:11:32 +02:00
16d45a485f Add LdCategoryViewIf.
Deduplicates parts of LdCategory{,Symbol}View.
2012-10-08 08:07:51 +02:00
492daa3ce3 Show symbol names in the statusbar again..
Not very clean but serves its purpose.
2012-10-08 07:29:58 +02:00
3b85eeec8d Add drag and drop support for symbols. 2012-10-08 07:29:58 +02:00
c12c6fbf56 Make LdCategorySymbolView show symbols. 2012-10-08 07:29:58 +02:00
09d6bda3db Add ld_category_get_path() and use it. 2012-10-08 07:29:58 +02:00
15d8c257d1 Add an LdCategory * argument to new() functions. 2012-10-08 07:29:58 +02:00
ec4f78c008 Stub LdCategorySymbolView. 2012-10-08 07:29:58 +02:00
819917536e Get rid of the `expander prefix' property.
And make the root be named after whatever the path separator is set to.
2012-10-08 07:29:57 +02:00
8acfeae8c8 Make child Categories point back to their parents. 2012-10-08 07:29:57 +02:00
47023938ca Fix property type in LdCategoryView. 2012-10-08 07:29:57 +02:00
3290aa877d Rename LdLibraryPane to LdCategoryView.
And make it load categories recursively using itself.
2012-10-08 07:29:57 +02:00
77aad430ef Add `changed' signals to LdCategory. 2012-10-08 07:29:57 +02:00
2156a92a09 Optimize removal from LdCategory. 2012-10-08 07:29:57 +02:00
9569d96cd6 Rename LdSymbolCategory to LdCategory. 2012-10-08 07:29:57 +02:00
6a633c8321 Renaming, order categories by name.
So at least in English the order will make some sense.
And it shall stay consistent.
2012-10-08 07:29:57 +02:00
0e952b084c Load categories recursively. 2012-10-08 07:29:57 +02:00
ef64c0427f Remove category icons. 2012-10-08 07:29:57 +02:00
a915bf4496 Remove category management from LdLibrary.
Now it uses a special hidden `/' root category.

Also removed ld_library_clear() momentarily, for it has no users.
2012-10-08 07:29:43 +02:00
00a50737f3 Replace LdLibraryToolbar with LdLibraryPane. 2012-10-08 00:12:58 +02:00
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
6a24ede141 Ignore double/triple clicks in LdDiagramView.
Fixes fast rotating.
2012-10-08 00:12:58 +02:00
6c925b7092 Clean up LdDiagram.
* Don't emit signals when disposing.
* Remove some leftovers.
2012-10-08 00:04:47 +02:00
4196a10ece Get more GTK+ 3 ready and respect seals. 2012-09-05 19:58:51 +02:00
cf5260990c Improve code in LdDiagram a bit. 2012-08-31 14:04:09 +02:00