Commit Graph

440 Commits

Author SHA1 Message Date
Přemysl Eric Janouch 17d9b3cf4c improve compatibility
Arch Linux AUR Success Details
Alpine 3.19 Success Details
2024-04-09 19:35:41 +02:00
Přemysl Eric Janouch 2aa0a6231c
Accept Lua 5.4 specifically
Arch Linux AUR Success Details
2024-04-09 18:54:14 +02:00
Přemysl Eric Janouch 56a2a58ed6
Enable cross-compiled tests
Arch Linux AUR Success Details
test-diagram still fails, however let's make our toolchain files
a good reference.
2024-04-09 13:02:03 +02:00
Přemysl Eric Janouch 99834e93c0
README.adoc: update package information
Arch Linux AUR Success Details
2023-07-01 21:59:05 +02:00
Přemysl Eric Janouch 266c4c7c9f
CMakeLists.txt: fix RPM license field 2023-06-28 01:57:50 +02:00
Přemysl Eric Janouch e5e42b63eb only extract what we need
In case the packages directory has been preloaded or symlinked.
2023-06-26 20:54:38 +02:00
Přemysl Eric Janouch a4532ea322
Add some enlightening comments 2023-06-14 12:29:12 +02:00
Přemysl Eric Janouch 4aeaf61c99
Synchronize cross-compilation scripts 2022-08-12 12:39:21 +02:00
Přemysl Eric Janouch d5837555b8
Update README 2022-08-12 12:33:52 +02:00
Přemysl Eric Janouch 9003f36ba2
Tidy up GSettings 2022-07-25 13:31:32 +02:00
Přemysl Eric Janouch 6df51485d3
Update Windows XP vs. TLS notes 2021-12-28 04:03:54 +01:00
Přemysl Eric Janouch 2433b9046f
Eliminate a Wayland-specific warning
The handling seems to be a bit convoluted there.
2021-11-17 07:42:37 +01:00
Přemysl Eric Janouch 93cd4dc4f9
Remove an unused marshaller
It is no longer used, since the transition to GTK+ 3.
2021-11-14 05:51:07 +01:00
Přemysl Eric Janouch 9dc1d20d6c
Bump version, update NEWS 2021-11-03 07:18:35 +01:00
Přemysl Eric Janouch 66a3b3e259
CMakeLists.txt: fix macOS build
GTK+ doesn't seem to be working much on macOS/brew/M1, though.
2021-11-02 16:29:30 +01:00
Přemysl Eric Janouch 3ff0f117f9
Make note of an alternative export approach 2021-11-02 11:43:49 +01:00
Přemysl Eric Janouch de291ffddb
Reset view position on opening a file 2021-11-02 11:28:48 +01:00
Přemysl Eric Janouch baaca4c58f
Add all opened files to the recent list
The GTK+ file open/save dialog has already been adding them,
but opening files from the command line would circumvent that path.
2021-11-02 11:24:40 +01:00
Přemysl Eric Janouch 7499f92811
Close symbol paths where appropriate
Removes some ugliness in PDF exports, stemming from line thickness.
2021-11-02 10:36:17 +01:00
Přemysl Eric Janouch deceafb4f4
CMakeFiles.txt: remove a confused comment
The process is not executed from a Makefile, the concern is void.
2021-11-01 13:04:26 +01:00
Přemysl Eric Janouch 3465557a5b
Use GResources for the UI file and the LICENSE
- The About dialog now displays the licence.
 - The main UI file is now integrated into the binary.

The project needed some of its ugly CMake code back.
2021-11-01 12:20:16 +01:00
Přemysl Eric Janouch 082f1aa41c
CMakeLists.txt: shuffle things around 2021-11-01 11:57:01 +01:00
Přemysl Eric Janouch 8950a533b4
Don't generate marshallers in the source tree
This is much cleaner.  I'm unsure of the original motivations,
perhaps I just wanted to have all source files next to each other.
There is no functional issue with the build directory, though.
2021-11-01 10:14:19 +01:00
Přemysl Eric Janouch 79d2fc78ea describe a more precise fix 2021-11-01 09:26:48 +01:00
Přemysl Eric Janouch 1d118d5406
CMakeLists.txt: remove pointless targets
The win32-depends target only makes sense /before/ running CMake.

Let the builder do it by hand rather than invoking it automatically,
which would be another sensible solution.
2021-11-01 07:52:41 +01:00
Přemysl Eric Janouch d5ea2e2b4d
Move GSettings schema checking to tests 2021-11-01 07:40:32 +01:00
Přemysl Eric Janouch 0cec1b4bad
CMakeLists.txt: slightly modernize
Before version 3.12, we still need to set CPACK_PACKAGE_VERSION
manually, and the subversions are actually wrongly defaulting to 0.1.1
(but we don't particularly care).

FindIntl has been there since CMake 3.2.
2021-10-31 04:18:44 +01:00
Přemysl Eric Janouch a40b281078
Improve clang-format configuration 2021-10-30 03:01:11 +02:00
Přemysl Eric Janouch dd48af42eb
Stop stuttering in CMake scripts 2021-10-29 04:56:56 +02:00
Přemysl Eric Janouch ed6d34159e
Win32Depends.cmake: make a note about cURL 2021-10-29 04:30:35 +02:00
Přemysl Eric Janouch ff03060efa
Win32Depends.cmake: reflect mingw-get's existence
But let's keep Lua in the downloader, to make cross-compiling easier.
2021-10-29 04:11:03 +02:00
Přemysl Eric Janouch 9dcef6a14f
Make ld_library_find_symbol() easier to read
As well as shorter, strangely.

Symbols may technically exist directly in the root category now.
2021-10-29 01:31:50 +02:00
Přemysl Eric Janouch ee7be81434
Clean up 2021-10-29 00:24:12 +02:00
Přemysl Eric Janouch 0c5c680f62
Get rid of broken vera++, integrate clang-tidy 2021-10-29 00:22:43 +02:00
Přemysl Eric Janouch f139efba6d
Support Windows XP forever
GTK+ 3 has been almost abandoned, and there is little newer versions
could improve, so keep supporting the old and working 3.8.
2021-10-28 21:36:54 +02:00
Přemysl Eric Janouch 83c1e7a491
Update translations 2021-10-28 21:33:09 +02:00
Přemysl Eric Janouch 59b5ff7020
Append ellipsis to the Print menu item
It opens a dialog.
2021-10-28 20:05:31 +02:00
Přemysl Eric Janouch 2bc9fe4f1d
Fix scaling to fit paper 2021-10-28 06:14:21 +02:00
Přemysl Eric Janouch bd12c0502a
Update user guides
Now add text labels, and this project is functionally complete.
2021-10-28 06:01:03 +02:00
Přemysl Eric Janouch 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
Přemysl Eric Janouch 6cd6ddbd1c
ld-window-main.c: clean up 2021-10-28 05:25:57 +02:00
Přemysl Eric Janouch a4a0dd2106
Clean up
It turns out the RC detection snippet is no longer necessary
after the recent CMake version bump.

The "name" argument in the UI file is redundant, implied by "action".
2021-10-28 05:18:03 +02:00
Přemysl Eric Janouch b45670f9e9
CMakeLists.txt: simplify NSIS configuration
Functionality has been verified to remain as it was
on a native Windows XP build using NSIS 3.08.
2021-10-27 21:47:49 +02:00
Přemysl Eric Janouch 06e3c9e280
Bind # to toggling the view grid
As seen in Inkscape.
2021-10-27 18:38:33 +02:00
Přemysl Eric Janouch 073a4cd4a7
CMakeLists.txt: don't look for gtk-doc by default
The integration is broken and it spams with a warning message
when building on Windows directly.
2021-10-26 20:12:26 +02:00
Přemysl Eric Janouch f7807cada2
Make the about dialog link work in Windows XP
For some weird reason, GTK+ is trying to connect to URLs first,
which typically won't succeed these days.
2021-10-26 07:37:50 +02:00
Přemysl Eric Janouch 08cf0ef2e6
Make development builds find the program icon 2021-10-26 06:32:29 +02:00
Přemysl Eric Janouch baf2dc8ccd
Fix help on Windows with newer GIO
It needs its launch helper, luckily it's a tiny binary.
2021-10-25 23:12:14 +02:00
Přemysl Eric Janouch a5e341bcc1
Update README 2021-10-25 18:21:23 +02:00
Přemysl Eric Janouch bc8ceebef7
Add clang-format configuration, clean up 2021-10-25 18:06:50 +02:00