Commit Graph

1810 Commits (7f86a784724298b87e169d1f0fe431119a427115)

Author SHA1 Message Date
Eric Chan 37de364257 Addition of ArcLength Ratio and ArcLength Difference constraints to Constraints list 2021-06-28 11:31:53 -04:00
Maxipaille 4308dc136b Fix "Sketch in New Workplane" point & normal to set correct orientation of workplane
Temporary disable other ways because of wrong implementation
2021-06-27 13:17:09 -04:00
Olivier JANIN 3ccf7845f5 Improve "Sketch in New Workplane" by adding two way of construction
- point and normal
- point and face
2021-06-27 13:17:09 -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
phkahler b5fb1dd429 Show IDF keepout regions as construction entities. 2021-05-17 14:55:38 -04:00
phkahler e74e202465 fix a compiler warning on GTK builds 2021-05-12 20:02:21 -04:00
ruevs 3e01afa3ae Remove all unused methods from IdList and its iterator
Fix gcc warning -Wreorder-ctor
 https://stackoverflow.com/questions/1828037/whats-the-point-of-g-wreorder
2021-05-12 19:50:23 -04:00
ruevs 034d9213f1 IdList: Remove Unused IndexOf, First, Last and NextAfter Methods 2021-05-12 19:50:23 -04:00
Přemysl Eric Janouch 9dd67c7ba0 Use Range-based for Loops Instead of NextAfter for all IdList Objects
Based on commit '3b395bb5a7' by pjanx

Resolves a performance regression of iteration being O(n * log n)
rather than O(n).
2021-05-12 19:50:23 -04:00
ruevs 7674be791e IdList: Optimize IdList by Using an Index and Add a Proper Iterator
- Use `std::vector<T> elemstore` to store elements. Avoids manual memory management.
- Add and index (`std::vector<int> elemidx`) that avoids moving large objects
  when adding elements.
- Add a free element list (`std::vector<int> freelist`) that speeds up element removal by
  avoiding rearranging the element storage. It also avoids reallocations when adding
  elements later.
- Add a proper iterator. It will be used to remove NextAfter - which is a performance bottleneck.
2021-05-12 19:50:23 -04:00
ruevs 7e08b02de1 Allow comments to be associated with point entities
If a single point is selected when a "Constrain | Comment" (`;`) is added
then the comment is associated with the point and its position becomes
relative to the point. In this way the comment will move with the point.

If nothing is selected or more than a single point is selected then
the behaviour is as before and the comment is "floating".

Closes #1032
2021-05-12 19:22:46 -04:00
robnee e15ccdd477 Update property browser display live when dragging
Keep items in selected state while dragging so that property browser
will track them until the left mouse button is released.  Also, trigger
a property browser update on mouse move while dragging to make the
display "live"
2021-05-02 19:51:00 -04:00
robnee 709dc31f78 Fix lookup of stipple pattern before config is available
Fix a bug with the lookup of stipple pattern for default styles when the
config settings are not yet available (install/upgrade/first run). This
caused hidden lines to display as continuous rather than dashed.
2021-04-28 15:59:21 +03:00
ruevs 00533a0fb2
Remove reference to SketchUp in the changelog 2021-04-23 16:07:51 +03:00
ruevs bedf72180e
Final Update of Changelog for 3.0 (#1025)
* Final Update of Changelog for 3.0

* Fix markdownlint warnings on CHANGELOG.md

* Remove Q3D mention from 3.0 release changelog.

Co-authored-by: Ryan Pavlik <ryan.pavlik@collabora.com>
2021-04-23 07:29:22 -04:00
Ryan Pavlik 8fbefa1ae5 Update flatpak manifest more. 2021-04-22 15:48:16 -04:00
Ryan Pavlik 7f5bb401c3 Update flatpak manifest 2021-04-22 15:48:16 -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
Ryan Pavlik 8a4d84e85e Add comment about asan warnings. 2021-04-21 12:13:26 -04:00
Maximilian Federle 0e0b0252e2 CI: Never skip cancel_previous_runs
The if condition was nonsensical and did not serve any
practical purpose; removing it allows the succeeding jobs
to run in any case without additional code.
2021-04-18 05:48:36 -04:00
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