-
Notifications
You must be signed in to change notification settings - Fork 511
Comparing changes
Open a pull request
base repository: solvespace/solvespace
base: 7bad19d7d38a
head repository: solvespace/solvespace
compare: 1df5de038cdd
Commits on May 21, 2019
-
Fix an edge case with fps measured as infinite.
If the timer is not sufficiently high resolution but the graphics card is fast, we can get renderTime.count() == 0.
Configuration menu - View commit details
-
Copy full SHA for 9500487 - Browse repository at this point
Copy the full SHA 9500487View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25b6eba - Browse repository at this point
Copy the full SHA 25b6ebaView commit details
Commits on May 23, 2019
-
Update copyright statement in about box.
Also, make sure it's localized properly.
Configuration menu - View commit details
-
Copy full SHA for 0921296 - Browse repository at this point
Copy the full SHA 0921296View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for e9b9dca - Browse repository at this point
Copy the full SHA e9b9dcaView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6484c7 - Browse repository at this point
Copy the full SHA f6484c7View commit details -
Rework tooltip implementation to track tip area.
This fixes an elusive GTK issue where tooltips would be spuriously displayed, and makes tooltips behave nicer on Windows. Unfortunately the macOS code is unchanged as the macOS tooltip implementation seems seriously broken in ways I do not understand.
Configuration menu - View commit details
-
Copy full SHA for 3296474 - Browse repository at this point
Copy the full SHA 3296474View commit details -
Make help text for image and TTF request creation reflect reality.
Before this commit it would prompt for top left and bottom left corner, neither of which was what in fact was being used. Those two specific points cannot be used because of the way equations are written, so instead change that to top left and bottom right, which is more convenient anyway.
Configuration menu - View commit details
-
Copy full SHA for c9397ea - Browse repository at this point
Copy the full SHA c9397eaView commit details -
Add a .clang-format file - not for bulk use!
This would add a lot of noise to the history, etc. if applied all over now. Use git clang-format to apply it solely to your changes.
Configuration menu - View commit details
-
Copy full SHA for ffef006 - Browse repository at this point
Copy the full SHA ffef006View commit details -
Configuration menu - View commit details
-
Copy full SHA for e243396 - Browse repository at this point
Copy the full SHA e243396View commit details -
Configuration menu - View commit details
-
Copy full SHA for 31f5873 - Browse repository at this point
Copy the full SHA 31f5873View commit details -
Win32: Restore Windows XP Compatibility
By setting WINVER=0x0501 (Windows XP) in CMakeLists.txt and adding a few missing defines in guiwin.cpp and configuring OPENGL=1 in CMake Solvespace (3.0~25b6eba1) compiles and works perfectly on Windows XP. Tested with MinGW GCC-6.3.0-1
Configuration menu - View commit details
-
Copy full SHA for 260769c - Browse repository at this point
Copy the full SHA 260769cView commit details -
Make minor errors visible at a glance in the group list.
If a sketch has a "minor" problem, such as being self-intersecting, this can cause considerably confusion in subsequent groups, yet is not indicated in the group list. This commit makes the "err" yellow in such cases. Note that the indication may not change immediately when a change leading to trouble is made, since the dependent groups are not recalculated on all changes.
Configuration menu - View commit details
-
Copy full SHA for c2c26e9 - Browse repository at this point
Copy the full SHA c2c26e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e67f967 - Browse repository at this point
Copy the full SHA e67f967View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 50c004b - Browse repository at this point
Copy the full SHA 50c004bView commit details -
CLI: accept --chord-tol as an option to regenerate.
This is currently necessary to get repeatable results when exporting assemblies as a part of a batch process, since the mesh geometry in imported files is not regenerated for export.
Configuration menu - View commit details
-
Copy full SHA for d01f715 - Browse repository at this point
Copy the full SHA d01f715View commit details -
Allow configuring the amount of digits displayed after decimal point.
This is useful in niche cases, like making angular measurement tools. Also, use simpler and more principled code for numeric precision while editing constraints: don't special-case angles, but use up to 10 digits after the decimal point for everything.
Configuration menu - View commit details
-
Copy full SHA for ac7b82d - Browse repository at this point
Copy the full SHA ac7b82dView commit details -
Get rid of FreeTemporary. NFC.
Its only use was in a context where it was completely equivalent to MemFree, so just use that instead, and keep the temporary heap as purely an arena allocator, that could use something like bump pointer.
Configuration menu - View commit details
-
Copy full SHA for fabffba - Browse repository at this point
Copy the full SHA fabffbaView commit details -
7
Configuration menu - View commit details
-
Copy full SHA for cc10788 - Browse repository at this point
Copy the full SHA cc10788View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f2077b - Browse repository at this point
Copy the full SHA 9f2077bView commit details -
MSVC has a long history of value initialization bugs, and this one is no exception. In this case, when some MSVC versions (at least up to 2013) are instructed to value-initialize a non-POD class with a compiler generated non-trivial constructor, it does not zero out the POD members.
Configuration menu - View commit details
-
Copy full SHA for 43a59e2 - Browse repository at this point
Copy the full SHA 43a59e2View commit details -
Warn on broken extrusions, like on broken polygons.
It's not very obvious if the extrusion failed because in a later group, the solid (by default) uses a very dark gray color that blends into the black background. This needs to be done separately because, while we already warn on broken polygons in workplanes, many more groups can be extruded, e.g. the canonical way (for now) to mirror a group is to use a rotation, and that doesn't get checked for closed contour, since most rotations won't get extruded.
Configuration menu - View commit details
-
Copy full SHA for df6777a - Browse repository at this point
Copy the full SHA df6777aView commit details
Commits on May 24, 2019
-
Add an explicit mirror checkbox for Paste Transformed.
This has always been possible by using negative scale, so this just adds a checkbox controlling the sign.
Configuration menu - View commit details
-
Copy full SHA for 6c167db - Browse repository at this point
Copy the full SHA 6c167dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9faa7cb - Browse repository at this point
Copy the full SHA 9faa7cbView commit details -
Add a setting to format constraint labels using SI prefixes.
Supported metric units: km, m, cm, mm, µm, nm. Supported USCS units: in, mil, µin. Also, use the newly introduced unit formatting machinery in tools for measuring perimeter, area and volume, so that e.g. volume is not displayed in millions of cubic millimeters.
Configuration menu - View commit details
-
Copy full SHA for 9d1c295 - Browse repository at this point
Copy the full SHA 9d1c295View commit details -
Show Degrees of Freedom → Show Underconstrained Points
Clarify the name of the command, as the old name is not strictly correct. E.g. consider a vertical line with a midpoint constraint to origin has 1 DOF, but 2 highlights are shown. Conversely, a single datum point has 2 DOF, but 1 highlight is shown.
Configuration menu - View commit details
-
Copy full SHA for 88879d3 - Browse repository at this point
Copy the full SHA 88879d3View commit details -
Remove forceDofCheck parameter from SolveRank(). NFC.
It makes no sense to solve by substitution (therefore weakening rank check) in SolveRank(), since that's the whole point of SolveRank(). In addition, because SolveRank() is currently always called right after AddConstraint(), forceDofCheck would always be true anyway. In addition, it makes no sense to have TestRankForGroup() dependent on the result of the previous solve. (For SolveGroup(), solving by substitution after we know that rank test succeeds makes dragging points much faster.)
Configuration menu - View commit details
-
Copy full SHA for 394c1f6 - Browse repository at this point
Copy the full SHA 394c1f6View commit details -
Skip creating an automatic H/V constraint if it would be redundant.
This means that automatically added H/V constraints now will never cause the sketch to become overconstrained, which currently makes that feature almost unusable.
Configuration menu - View commit details
-
Copy full SHA for 5495659 - Browse repository at this point
Copy the full SHA 5495659View commit details -
In TryConstrain(), reject redundant constraints in overconstrained gr…
…oups. This keeps groups with allowed redundant constraints cleaner when they are used together with automatic constraints.
Configuration menu - View commit details
-
Copy full SHA for cf2f0e5 - Browse repository at this point
Copy the full SHA cf2f0e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for beea444 - Browse repository at this point
Copy the full SHA beea444View commit details -
Make sure file from a recent menu exists before using it.
Otherwise it can result in a very confusing error that does not suggest at all that the file is missing.
Configuration menu - View commit details
-
Copy full SHA for eb7e12b - Browse repository at this point
Copy the full SHA eb7e12bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09ca442 - Browse repository at this point
Copy the full SHA 09ca442View commit details -
2
Configuration menu - View commit details
-
Copy full SHA for 406c55e - Browse repository at this point
Copy the full SHA 406c55eView commit details -
Replace entity map implementation with std::unordered_map.
On a single load benchmark this provides about 25% speedup.
Configuration menu - View commit details
-
Copy full SHA for bd84bc1 - Browse repository at this point
Copy the full SHA bd84bc1View commit details -
Deselect entities with Ctrl-LMB.
In other words, Ctrl inverts the normal action of LMB. It is already possible to deselect entities through the context menu, but that can be very awkward on laptop touchpads with a crowded sketch; with Ctrl, a misclick is easily corrected without moving cursor at all.
Configuration menu - View commit details
-
Copy full SHA for 6352405 - Browse repository at this point
Copy the full SHA 6352405View commit details
Commits on May 29, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 9ac55f3 - Browse repository at this point
Copy the full SHA 9ac55f3View commit details
Commits on May 31, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 3596979 - Browse repository at this point
Copy the full SHA 3596979View commit details -
GTK: delete all gtkmm objects before destrying Gtk::Main.
Otherwise this results in harmless but annoying spam on applciation shutdown. See https://gitlab.gnome.org/GNOME/gtkmm/issues/22.
Configuration menu - View commit details
-
Copy full SHA for 3d80062 - Browse repository at this point
Copy the full SHA 3d80062View commit details
Commits on Jun 3, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 5df53fc - Browse repository at this point
Copy the full SHA 5df53fcView commit details
Commits on Jun 14, 2019
-
Configuration menu - View commit details
-
Copy full SHA for cb0fdb1 - Browse repository at this point
Copy the full SHA cb0fdb1View commit details
Commits on Jun 24, 2019
-
This was introduced in bd84bc1 and caused crashes with: Assertion failed: hm.v != t->h.v.
5Configuration menu - View commit details
-
Copy full SHA for 49a7f86 - Browse repository at this point
Copy the full SHA 49a7f86View commit details
Commits on Jun 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 02d7f0c - Browse repository at this point
Copy the full SHA 02d7f0cView commit details
Commits on Jul 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1df5de0 - Browse repository at this point
Copy the full SHA 1df5de0View commit details
There are no files selected for viewing