Commit Graph

2976 Commits

Author SHA1 Message Date
Benjamin Bræstrup Sayoc
da2ae719f2 [Everywhere] FileInfo::hasExtension for multiple values (#9774)
* [Base] Add hasExtension for multiple values

* [Gui] Use hasExtension for multiple values

* [Drawing] Use hasExtension for multiple values

* [Fem] Use hasExtension for multiple values

* [Import] Use hasExtension for multiple values

* [Mesh] Use hasExtension for multiple values

* [Part] Use hasExtension for multiple values

* [TechDraw] Use hasExtension for multiple values
2023-08-07 09:55:19 -06:00
wmayer
31ed14db83 modernize C++: use noexcept 2023-08-07 16:06:58 +02:00
wmayer
df93b14ec0 modernize C++: use emplace 2023-08-06 20:29:56 -06:00
wmayer
7a3106d31b modernize C++: use bool literals 2023-08-06 01:35:39 +02:00
tomate44
529f791c78 Part: add optional tolerance to python sortEdges() 2023-08-05 15:17:26 -06:00
wmayer
22e6e2cd40 Part/PD: modernize C++: redundant void arg 2023-08-05 16:50:31 +02:00
andrea
68101ac933 removed old OCC <7 references
removed OCC <7 references
2023-08-04 21:22:40 -06:00
wmayer
52ef3a540c Part: modernize C++: use override 2023-08-04 17:09:53 +02:00
Yorik van Havre
51d8f94f10 Merged crowdin translations 2023-07-26 11:05:11 +02:00
Yorik van Havre
4501cf479c Update ts files 2023-07-26 11:04:24 +02:00
sliptonic
ef4ca26382 Merge pull request #9594 from wwmayer/issue_9549_new
Part: fixes #9549: Part Fuse not working inside Part container
2023-07-24 10:16:51 -05:00
Chris Hennes
dd40387478 Update translations 2023-07-24 13:37:52 +00:00
Benjamin Bræstrup Sayoc
ba33e50962 [Part] Make tooltip match label
Fixes issue #9941
2023-07-17 09:47:53 -04:00
wmayer
1e7825cc02 Part: add a unit test for PR #9905 2023-07-14 11:29:20 -05:00
Chris Hennes
a6e4eb942f Merge pull request #9905 from Syres916/patch-85
[Part] Fix regression when opening...
2023-07-14 11:29:04 -05:00
wmayer
f99205a4bc Part: delete created document in unit test TopoShapeListTest.testMakeTopoShapeList 2023-07-14 11:04:23 +02:00
Syres916
37b08b962c [Part] Fix regression when opening...
project files with linked objects having face colors.
See discussion https://forum.freecad.org/viewtopic.php?t=79558
Regression commit: cbc5c182cf
2023-07-11 00:20:27 +01:00
Chris Hennes
e1ca567172 Apply translations 2023-07-09 18:09:53 -05:00
Chris Hennes
0ca283cc3e Update translations 2023-07-06 08:20:59 -05:00
Abdullah Tahiri
2834aebf90 Unused variable 2023-06-29 23:42:28 +02:00
wmayer
f09bf02b6d Part: fixes #5967: Weird behavior in Placement dialog when using "center of mass" with Datum Plane 2023-06-29 22:49:39 +02:00
Yorik van Havre
398de2d031 merged crowdin translations 2023-06-16 16:42:32 +02:00
Pesc0
c65f049d20 [Toponaming] create ElementMap class (#9175)
* Copypaste ElementMap
* Add MappedNameRef
* Fix missing include
* Copypaste `findTagInElementName`
* fix error introduced _somewhere_
* refactor toponaming constants
* Move `findTagInElementName` in `MappedName`
* reintroduce workaround to compile ElementMap
* Added missing functions copied from complexgeodata
* fix last compile errors, reorder and format files
* remove recursive refs to ComplexGeoData
* Add more comments
* fixed comments and added tests
* added FIXME, make functions private, misc fixes
* Move static functions from complexGeoData to PostfixStringReferences. Rename to ElementNamingUtils
* Fix broken includes due to previous change
* Revert constants from string to const char*
* added childmap tests and made hasher public
* Make functions private
* Added remaining tests
* removed bool return from `erase` functions
* fix missing appexport

Co-authored-by: John Dupuy <jdupuy98@gmail.com>
2023-06-15 09:05:24 -05:00
Yorik van Havre
3c07d567cf Merged crowdin translations 2023-06-12 22:34:22 +02:00
Yorik van Havre
d61e60511a Updated ts files 2023-06-12 22:27:56 +02:00
Chris Hennes
05b85d0ddc Sync translations 2023-06-04 14:11:21 -05:00
Chris Hennes
2686ad58b9 Update translations 2023-05-25 21:32:26 -05:00
Chris Hennes
452067c43c Update translations 2023-05-21 19:13:11 -05:00
Chris Hennes
2798528b8f Update translations 2023-05-18 07:49:08 -05:00
wmayer
abfb92cb55 Part: fixes #9549: Part Fuse not working inside Part container 2023-05-15 23:40:51 +02:00
Chris Hennes
397807b72d Gui: Minor translation fixes 2023-05-11 18:31:34 -05:00
wmayer
f780a0ebbe Part: Create .qm out of .ts files 2023-05-07 08:47:14 +02:00
Chris Hennes
e30a768e0a Merged crowdin translations 2023-05-06 11:56:32 -05:00
Chris Hennes
f3df889e27 Merge pull request #9430 from chennes/exceptionsInDialogs
Begin translating user-visible exception strings
2023-05-05 16:47:10 -05:00
wmayer
b0c9871722 Use View3DInventorViewer::setSelectionEnabled instead of SoFCUnifiedSelection::selectionRole 2023-05-04 08:03:11 +02:00
Chris Hennes
1b2bbbf06b Update translations 2023-04-29 11:10:27 -05:00
Chris Hennes
d6f3413da9 Part: Attempt to translate exceptions in dialogs
Relies on the exception text having been added to the translation database in a previous call to QT_TRANSLATE_NOOP, and put in the 'Exception' context.
2023-04-27 17:31:44 -05:00
Chris Hennes
6bc83c884d Part: Translate offset toolbar dropdown 2023-04-25 12:12:02 +02:00
luzpaz
38a01939e0 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
Chris Hennes
36b6bcf0b0 Merge pull request #9294 from chennes/tastCheckGeometryTranslation
Gui: TaskCheckGeometry message translation
2023-04-22 13:55:06 -05:00
Chris Hennes
52b839a87a Part: Fix context of Part->Split commands 2023-04-20 22:44:09 -05:00
Yorik van Havre
faf98925f6 Merged crowdin translations 2023-04-20 14:04:19 +02:00
Yorik van Havre
0fd764454d Updated ts files 2023-04-20 13:53:35 +02:00
Chris Hennes
09df83ac89 Gui: TaskCheckGeometry message translation 2023-04-18 19:10:06 -05:00
Chris Hennes
9f2094c86e Part: translate geometry check results 2023-04-17 16:06:15 -05:00
xtemp09
8f517ec5c7 Fix the typo in #9267 2023-04-15 15:41:33 +07:00
Chris Hennes
fd74dd04e5 Merge pull request #9267 from xtemp09/mem-fix
Fix memory leak when loading a font file
2023-04-14 15:41:21 -05:00
xtemp09
c03d8a058f Fix memory leak when loading a font file
- FreeCAD allocated memory to load a font file, but did not deallocate.
std::unique_ptr fixed it.
- Removed unnecessary includes
2023-04-15 01:42:19 +07:00
0penBrain
266c91405a Gui: consistent angular deflection between Part and Preferences
Also with docstring just below modified line
2023-04-13 16:04:40 +02:00
wmayer
9366b031a3 Part: set an absolute upper limit of the deflection for the shape tessellation to avoid useless results 2023-04-12 08:10:39 +02:00