Commit Graph

85 Commits

Author SHA1 Message Date
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
whitequark
0b7b8a40e2 Linux: add Flatpak integration.
To test it, use:
  $ ./pkg/flatpak/build.sh
  $ flatpak install ./pkg/flatpak/solvespace.flatpak
  $ flatpak run com.solvespace.SolveSpace
2019-05-11 17:04:25 +00:00
whitequark
94b26ddfac Add a built-in Bitstream Vera Sans Roman font.
Before this commit, the default font chosen for TTF text is Arial
(chosen by the basename of arial.ttf), which isn't present on most
Linux systems, and cannot be redistributed. After this commit, it is
replaced with Bitstream Vera Sans, which can be. Existing files
are not affected.

The font name in the TTF file was artificially modified to add
the (built-in) suffix, which will need to be done if more built-in
fonts are added.
2019-02-11 11:03:47 +00:00
luz.paz
258545a334 Misc. typos
Found via `codespell -q 3 --skip="./res/locales,./extlib"`
2018-09-19 18:52:11 +00:00
Alexander Meißner
bc6a923c4c macOS: fix crash on startup.
Added missing @synthesize acceptsFirstResponder;
Replaced generic ApplicationDelegate in MainMenu.xib
2018-07-31 15:55:11 +00:00
whitequark
2b4c484dcb Discard fragments with zero texture alpha in imesh_tex.frag.
This makes image requests that have an image with a hole in it
actually transparent, since otherwise the depth test would prevent
any geometry behind the request from being drawn.
2018-07-28 12:33:32 +00:00
whitequark
70177166d7 I18n: add de-DE locale. 2018-07-20 04:40:19 +00:00
whitequark
6b5db58971 Add a platform abstraction for file dialogs.
This commit merges all ad-hoc file dialog code, such as the feature
where dialogs remember last location and format, and exposes it
through a common interface.

This commit also significantly improves Gtk dialog handling code.
2018-07-17 22:33:45 +00:00
whitequark
26f3751ce8 macOS: rename application bundle to SolveSpace.
This changes the capitalization shown in GUI.
2018-07-17 15:01:58 +00:00
whitequark
f324477dd0 Implement a platform abstraction for windows.
This commit removes a large amount of code partially duplicated
between the text and the graphics windows, and opens the path to
having more than one model window on screen at any given time,
as well as simplifies platform work.

This commit also adds complete support for High-DPI device pixel
ratio. It adds support for font scale factor (a fractional factor
on top of integral device pixel ratio) on the platform side, but not
on the application side.

This commit also adds error checking to all Windows API calls
(within the abstracted code) and fixes a significant number of
misuses and non-future-proof uses of Windows API.

This commit also makes uses of Windows API idiomatic, e.g. using
the built-in vertical scroll bar, native tooltips, control
subclassing instead of hooks in the global dispatch loop, and so on.

It reinstates tooltip support and removes menu-related hacks.
2018-07-17 13:31:17 +00:00
Pierre Delore
501a4829c7 I18n: add fr_FR locale. 2018-07-14 18:21:31 +00:00
whitequark
595ae86b29 I18n: update translations. 2018-07-12 23:06:07 +00:00
whitequark
9c99f69da5 Clean up unused shader variables. 2018-07-12 11:43:25 +00:00
whitequark
20a4a2b23f Avoid using tan as identifier in shaders.
This conflicts with the tan() function, currently only on macOS.
2018-07-12 11:40:51 +00:00
luzpaz
771b415a12 Fix various comment and UI string typos. 2018-07-12 05:05:43 +00:00
Kevin Zheng
572869dd48 GTK: install MIME type specification. 2018-07-12 05:03:37 +00:00
whitequark
5078907957 I18n: regenerate. 2017-04-21 23:13:20 +00:00
EvilSpirit
ab7cdea375 I18n: add a ru_RU translation. 2017-04-21 23:09:34 +00:00
EvilSpirit
5744d1d599 Implement an image request. 2017-03-12 00:13:56 +00:00
whitequark
80c7296316 Win32: do not redefine VOS_NT_WINDOWS32/VFT_APP. 2017-02-06 11:23:06 +00:00