Commit Graph

1988 Commits (d5e8a8267cefe84f15541249ab886aead94c0935)

Author SHA1 Message Date
app4soft 9e8c3db856 Update uk_UA.po 2021-04-15 10:55:45 +03:00
Maximilian Federle f4ad82055e CI: Support cancelling, update actions & prevent draft releases
Allow the workflow to be cancelled without running all remaining jobs.
On invocation of the workflow, cancel concurrent runs of older commits
automatically.

Replace unmaintained release action with recommended alternative.

After much testing, I found that the problem of releases
being created as draft releases can be traced to a
consistency issue/race condition on GitHub's side.
Prevent this by inserting a generous delay between deleting and
re-creating the edge release.
2021-04-09 17:43:31 -04: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 a01dd18495 Combine arm64 and x86_64 libomp libraries 2021-04-04 14:46:32 -04:00
Koen Schmeets b8e41c8da9 Correct libomp.dylib path in sign-macos.sh script 2021-04-04 13:27:26 -04:00
Tom Sutcliffe e2bf722fec Copy path to avoid it being invalidated by OkayToStartNewFile() 2021-04-04 11:52:19 -04:00
Koen Schmeets 2a56ba661e Fix debugging and profiling on macOS 2021-04-04 11:40:10 -04: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
robnee 3ed151bf90 Skip image rendering in CLI rather than hard abort 2021-04-03 22:58:05 +03: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 fa41676b6d Update mimalloc version. 2021-04-03 13:15:13 -04:00
phkahler af8b0e4dbf change test sketch failing under x86-64-v3. Add a copy of the sketch
for the old round-trip tests.
2021-04-03 13:06:26 -04:00
robnee cc52eb237d Allow right click to end sketching of all entities 2021-04-03 12:53:04 -04:00
robnee 2e88c5e0da Clamp lighting value on export to fix flat colors
Also, this fixes the Printf format for the ambient lighting entry on the
configuration screen.  This was causing string behavior when attempting
to edit the ambient lighting value on Windows.  Oddly this didn't seem
to affect Linux.
2021-04-02 18:13:31 -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
dustinhartlyn 6b94af0765
minor fix open/save dialogue on windows (#983)
* minor fix open/save dialogue on windows 

On windows 10 the open/save dialogue box has an minor error, and I believe I fixed it. 

When "Open" is selected from the menu, the title of the dialogue box says "SolveSpace - Save File" and the entered file name is "united". My fix correctly titles the dialoged box, and leaves the address bar blank when a file is being opened because "united" is only needed as a default name when a file being saved. 

I found that class FileDialogImplWin32 from guiwin.cpp contains two if statements for "isSaveDialog". This is redundant. I removed the first where the title was originally set, but not working. I then set the title in the second if statement and moved the 'if isEmpty'' to this section.

* Update guiwin.cpp

replaced tabs with spaces
2021-04-01 09:24:04 -04:00
Přemysl Eric Janouch 5c3ce9bfc2 GTK: make spacenavd work through its socket, too
E.g. for when you have more than one user logged in, in which case
spacenavd works only for the first of those X11 displays.

We try to do it the old way first, so there should be no regressions.

Also fixes storing non-booleans in bool variables.
2021-03-30 10:22:05 -04:00
Maximilian Federle d8816863d0 CI: Lock qemu version to known working 2021-03-30 08:14:46 -04:00
robnee 1628097037 Save stipple settings for default styles to config 2021-03-29 14:43:29 -04:00
phkahler 58b425cdce formatting 2021-03-29 14:19:29 -04:00
phkahler 204ca3178e Add some notes on ID lists, Entities, and Remap 2021-03-29 13:45:11 -04:00
Přemysl Eric Janouch 5e42275b1a Fix pathologically slow translate groups on Linux
Major performance improvement on GCC with libstdc++.
2021-03-27 12:03:01 -04:00
robnee d511ce4acc Trigger redraw on load factory default styles 2021-03-27 12:00:22 -04:00
robnee 53f5e4e7e5 export style for construction entities for edges 2021-03-25 21:29:41 -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
robnee 10ca307d98 Add exportable option to default styles
Primarily, this enables the user to export of construction entities in 2D
views such as SVG. Previously constuction entities were always skipped.
The "export these objects" is now available for all default styles.
One may turn off export of constraints or the inactive groups for example.
This also adds the exportable flag to the factory settings and
support for saving the exportable option for default styles in the
configuration. Construction entities with custom styles respect this
option as well.  NOTE:  Running this version will add new entries to the
configuration (Registry, .config etc.) on exit when testing this code.
2021-03-17 12:01:58 -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
robnee 979a9f084e Hide editor window when user hits Esc 2021-03-10 19:44:54 -05:00
robnee bef6bc3b77 Use better pointer cursor for link text in GTK
Gdk::Cursor::create(Gdk::HAND1) yields a hand cursor more appropriate
for "grabbing" vs. pointing.  Use the recommended create by name API
to get a "pointing hand" cursor.
2021-03-07 10:11:17 -05: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 8c101d5f28 Fix tangent constraints of curves.
This fixes a regression introduced in  96958f4663
(https://github.com/solvespace/solvespace/pull/833.)
Three `return` statements got "swallowed" by the newly created functions.
(e.g .96958f4663 (diff-49abc03ed071148c0ebae0c64aafb625fa6223135f77aeecdb47dab4cf8b940cL638) )

Because of this it was possible to constrain arcs and cubics tangent to
each other or line segments, without them sharing an endpoint.

This kind of worked, but always chose the "starting" points of the curves
and lines. In the future this can be turned into a feature. See the
discussion in #937.
2021-03-06 14:16:33 -05:00
ruevs 697ffdd731 UI: Show XYZ distance components in the text window for two points
When two points are selected in addition to their distance show the X, Y
and Z components of it in the text window.

Implements #936
2021-03-06 14:15:28 -05:00
robnee 3309181773 fix problems with ctrl/shift key drag modifiers
When dragging points we must always update position and mark them dirty
through all code paths.
Ensure the ctrl and shift modifier rotation quarternion is always set to
something reasonable.
separate extraLine tracking code from drag tracking code
2021-03-01 21:09:36 -05:00
robnee 60dca4cb79 Fix incorrect styling on svg export
export Style::NO_STYLE which was missing
styles should be set on export at the SBezierLoop-level vs the
SBezierLoopSet-level
2021-02-28 17:37:34 -05:00
Jonathan Westhues 2fcc933aa9 Clarify ambiguous license terms.
The about box has always said "GPLv3 or later", but other references
failed to distinguish between "or later" and "only".
2021-02-25 20:37:18 -08:00
ruevs 0858fe6988 Update Changelog 2021-02-25 14:34:13 -05:00
robnee 745a12c3c4 permit construction geometry toggle while drawing 2021-02-23 10:13:29 -05:00
ruevs 47c3209b48 Win32: If the main or text window is off-screen make it visible...
...by 1/40th of the scrreen width so that the user can notice it.

This can happen if the window was on a second monitor, which is
disconnected, or if the user knows about `Alt-Space | Move` and then
moving the window with the arrow keys.

Before this, if for example the left edge was off-screen it was moved
to 1920, which is just off-screen, so the window remained invisible.

Fixes: #938
2021-02-18 09:52:25 -05:00
robnee 04e872a61f remember auto-removed constraints for undo 2021-02-16 11:49:32 -05:00
robnee 7795b0bc19 mark group dirty when toggling reference dimension 2021-02-07 18:18:50 -05:00
Ryan Pavlik cdeb6c90fb Update mimalloc to 2.0.0 release. 2021-02-06 15:52:54 -05:00
ruevs 02aa9ea827 Update translations
Including de_DE and ru_RU strings.
2021-02-03 18:14:29 -05:00
ruevs 1c5c4c048c Fix a crash when opening an empty file.
Fixes: https://github.com/solvespace/solvespace/issues/918

The problem was that here:
11a8a0abd5/src/file.cpp (L480)
we cleared all groups. Then we tried to read an empty file and therefore this `while` exited immediately:
11a8a0abd5/src/file.cpp (L487)
and we came to here:
11a8a0abd5/src/file.cpp (L548)
where there was no `fileLoadError` and thus we were left with no groups, and so this assert failed:
11a8a0abd5/src/graphicswin.cpp (L394)
since is is not allowed to have no groups :-)
2021-02-03 18:14:29 -05:00