Commit Graph

104 Commits (f94fc89587560dced31a5a65f74aa4aefc4a9659)

Author SHA1 Message Date
ruevs cc4307a2a9 Win32: Update the year in the Windows version resource 2022-01-04 12:32:50 +02:00
Maximilian Federle 34efb6de77
CMake Fixes + Snap port to core20 (#1174)
* CMake: use PROJECT_VERSION instead of solvespace_*_VERSION

In 006539b, solvespace_MAJOR_VERSION etc. were removed.
However, these variables were still referenced in some places.
Solution: Use PROJECT_VERSION instead.

* CMake: re-add link directories for solvespace target

006539b removed the call to link_directories for gtkmm, jsonc & fontconfig.
This leads to linking errors if those libraries are in "non-standard"
paths.
Fix this by introducing a target specific target_link_directories call.

Fixes #1173

* snap: port to core20 & adapt to CMake changes

Moving to core20 was long overdue anyway, and
the recent CMake changes necessitated some fixes.
Also switch to LZO compression for (way) better cold start
performance.
2022-01-02 20:04:57 +01:00
OlesyaGerasimenko 2cd0ee4b33 Update Russian translation 2021-10-04 20:52:24 +03:00
phkahler bb1938903b update pot file and locales.txt and CMakeLists.txt for spanish. 2021-09-26 16:45:49 -04:00
andesfreedesign 4afa810173 Add Spanish / Argentina translation 2021-09-21 11:18:34 -04:00
Pino Toscano 4ee8699065 Fix icon name for XDG mimetypes
The default icon for XDG mimetypes is the name of the mime with '/'
replaced with '-', unless the mimetype has an 'icon' attribute (and
solvespace-mime.xml does not have it). So the right icon name for
application/x-solvespace is 'application-x-solvespace', not
'application.x-solvespace'. Hence, properly rename the mimetype icons
in non-flatpak and non-snap installations.
2021-06-03 10:42:32 -04:00
Pino Toscano 021f724881 Drop XPM app icons
They were added with commit a98cdeeb16
and they were only useful for the old Debian menu system, which was
deprecated almost 6 years ago [1]. As the old Debian menu file is no
more provided in the Debian packaging, the XPM versions of the
application icon can be safely removed, as there are already icons in
the XDG hicolor icon theme.

[1] https://lists.debian.org/debian-devel-announce/2015/09/msg00000.html
2021-06-03 10:42:32 -04:00
Ryan Pavlik 5f81066c13 Add more categories to the desktop files. 2021-04-22 15:48:16 -04:00
Ryan Pavlik 9e1a608118 Install appstream metadata in flatpak and normal desktop Linux 2021-04-22 15:48:16 -04:00
app4soft 9e8c3db856 Update uk_UA.po 2021-04-15 10:55:45 +03:00
ruevs af5fbf6364 Revolve icon updated to counter-clockwise, which is the way revolve works
Lathe icon updated to match.

Discussion here https://github.com/solvespace/solvespace/issues/857#issuecomment-814697125
2021-04-07 12:54:14 +03:00
ruevs 853e7d83e9 Extrude, Lathe and Revolve Icons Updated
Discussion here https://github.com/solvespace/solvespace/issues/857#issuecomment-813631658
2021-04-07 10:56:33 +03:00
Koen Schmeets 8105699d5e Add apple arm64 support 2021-04-04 11:40:10 -04:00
robnee 312a8df107 repair glyph data for [ff0c] to prevent assertion 2021-04-03 16:30:58 -04:00
phkahler 9020b83b9b Fix issue #984 by changing the comma in not-closed-contour chinese translation. 2021-04-03 13:24:45 -04:00
phkahler 2df786e741 correct the order of glyphs 2334, 2335 and 2312 in unicode.lff.gz font file. 2021-04-01 17:30:40 -04:00
app4soft 39c18a70b2 Update uk_UA.po 2021-03-20 18:04:05 -04:00
phkahler e75f6b3647 Add Turkish translation by mhalil (Mustafa Halil). 2021-03-20 12:37:05 -04:00
phkahler 83dfcf44e2 Add new symbols to the vector font. unicode 2334, 2335, 21A7 counterbore, countersink, depth 2021-03-17 10:00:22 -04:00
ruevs 2a3f598ce0 Remove res/icons/graphics-window/Clipboard01.png added by mistake 2021-03-06 23:26:18 +02:00
ruevs a14d8410e6 Icons: Fix non transparent pixels in line.png and pointonx.png 2021-03-06 16:04:00 -05:00
ruevs 20b0677f6c UI: Update the "Nearest isometric view" icon to a more typical view 2021-03-06 16:04:00 -05:00
ruevs aa075259f1 UI: Update non anti aliased icons to match original ones better
Discussion here #857
2021-03-06 16:04:00 -05:00
ruevs d3a6e96281 UI: Non anti aliased icons for the graphics and text windows
Created by jkrei0 here https://github.com/jkrei0/solvespace

Optimized for size.

Merged all but `shaded.png` since in my opinion the current
one is better.

Discussion here https://github.com/solvespace/solvespace/issues/857
2021-03-06 16:04:00 -05:00
ruevs 02aa9ea827 Update translations
Including de_DE and ru_RU strings.
2021-02-03 18:14:29 -05:00
phkahler 2e1f5324c8 Update ru_RU translation 2021-01-23 11:45:33 -05:00
Ryan Pavlik d16e33ac48 Update to THREE.js revision 111 as found in Debian Testing
Required some small JavaScript changes to replace deprecated usage.
2021-01-23 11:38:36 -05:00
Reini Urban 36719c6234 Improved de_DE
See #890 and its changed menu item
2021-01-17 14:27:54 -05:00
ruevs 1817816b4a Update translations 2021-01-17 13:47:14 -05:00
Reini Urban 422bb0cb35 Translations: update de_DE for 3.0
See #890
make -C src translate_solvespace to update all line numbers
2021-01-17 11:45:40 -05:00
Ryan Pavlik d6c2983c72 Update messages 2021-01-15 16:05:50 -05:00
ruevs 3abfd91e9d Win32: Update the year in the Windows version resource
Visible in right-click on solvespace.exe | Properties | Details | Copyright
2021-01-09 23:37:31 +02:00
phkahler d45e2c4c2e
Add toolbar icons for Revolve and Helix created by jkrei0 in issue #857. (#878) 2021-01-09 12:27:27 -05:00
Reini Urban fac093a8b3 Translations: update de_DE
for the solvespace.cpp changes.
Run make -C src translate_solvespace for updated line numbers for the rest.
2020-11-23 11:25:37 +02:00
ruevs bdd2be6041 Translations: Add solvespace.cpp to the translations...
...since it currently contains many relevant strings.
2020-11-22 17:34:14 -05:00
phkahler 5a3f45ed2a ran make translate_solvespace. cleaned out some obsolete strings in en_US.po 2020-11-17 22:31:56 -05:00
phkahler 6b5936b2f6 remove zh_CN.mo 2020-10-20 11:46:16 -04:00
ZHOU You 2be2e428d3 Chinese translation added. 2020-10-20 11:08:34 -04:00
Reini Urban 7c766c72f4 translate_solvespace updates
for all languages. See PR #705

my russian is not good enough to fix the remaining ru and uk strings.
german and french are now complete.
2020-09-22 15:45:00 -04:00
Reini Urban 2adf5decb5 de_DE: missing translations 2020-09-18 16:39:09 -04:00
whitequark 69baf52432 Linux: fix Z-order in scalable icon. 2019-12-04 13:57:10 +00:00
Maximilian Federle 219df31c53 Linux: add support for building snap packages. 2019-09-11 10:12:53 +00:00
Maximilian Federle cb0fdb1c28 Freedesktop: add scalable SVG icon. 2019-06-14 20:59:36 +00:00
whitequark 50c004b679 Add a button to hide construction entities.
Also, mark not just curves, but also points and normals derived from
construction requests as construction.

Also, don't always mark arc center point as construction just to
exclude it from chord tolerance bounding box calculation; instead,
special-case it there.
2019-05-23 16:29:00 +00:00
nabijaczleweli e243396c6f Three.js: with a window-sized canvas, resize canvas with the window. 2019-05-23 14:28:10 +00:00
whitequark e9b9dca2ca Win32: use native OpenGL drivers, if available.
After this commit, if the target system does have modern OpenGL
drivers installed, ANGLE is configured to use them, bypassing most
translation (shaders still have to be translated from ESSL to GLSL).

If there are no OpenGL drivers, such as if the graphics drivers were
installed via Windows Update, DirectX translation is still used. This
results in a very noticeable startup delay and minor performance
degradation.

In addition it is no longer necessary to build with -DOPENGL=1 to be
able to run the binary in wine; everything works out of the box.
Before, wine's incomplete HLSL translator would crash.

This change required renaming the variable `texture` in shaders,
since it shadows the Core GLSL function with the same name, and ANGLE
translates texture2D() calls to texture() calls.
2019-05-23 10:58:31 +00:00
William D. Jones 201e15e68a Three.js: update inaccurate comment. NFC. 2019-05-13 16:02:09 +00:00
whitequark b97a80b6ed Three.js: style fixes. NFCI. 2019-05-13 16:02:09 +00:00
William D. Jones 6f9358ae95 Three.js: fix rotate and pan on HiDPI devices. 2019-05-13 16:02:09 +00:00
William D. Jones 26c8cdcb37 Three.js: fix mousemove event listener.
The mousemove event does not return button press information;
refactor into two handlers based on button press.
2019-05-13 16:02:09 +00:00