Commit Graph

1713 Commits

Author SHA1 Message Date
wmayer
1ade42e634 App: expose function getParent() to Python 2023-05-15 23:40:25 +02:00
wmayer
54729bf88a App: add method DocumentObject::getFirstParent() 2023-05-13 17:48:29 +02:00
Chris Hennes
1a4b85121b Merged crowdin translations 2023-05-06 11:56:32 -05:00
Chris Hennes
a8f2a32397 GUI: Don't have report view message tell users to see report view 2023-05-06 18:19:08 +02:00
Chris Hennes
fb60e9a0e6 Update translations 2023-04-29 11:10:27 -05:00
Ronny Standtke
83fd5ba1d6 changed Z-axis rotation so that it is readable by default 2023-04-24 18:40:49 -04:00
luzpaz
129d5882a7 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
9f1bf040a8 Merge pull request #9311 from ronnystandtke/i18n_origin
added i18n for the origin
2023-04-20 15:40:15 -05:00
Chris Hennes
897c40e902 Merge pull request #9317 from ronnystandtke/i18n_for_axes_and_planes
added i18n for axes and planes
2023-04-20 15:37:46 -05:00
Yorik van Havre
33c2e485e3 Merged crowdin translations 2023-04-20 14:04:19 +02:00
Yorik van Havre
d96042fc24 Updated ts files 2023-04-20 13:53:35 +02:00
Ronny Standtke
797dde0837 added i18n for axes and planes 2023-04-19 14:43:45 +02:00
Ronny Standtke
e895ee3675 added i18n for the origin 2023-04-18 20:29:04 +02:00
wmayer
51a2cb9599 App: fix some lint warnings 2023-04-07 12:41:46 +02:00
berniev
de1acd926e simplifying a function
Dramatic simplification of legacy code by separating code and data and applying some later C++.
Function removed from Application.cpp as it was in a anonymous namespace and could not easily be subjected to unit testing.
Added ProgramOptionsUtilities.h
2023-04-07 12:37:05 +02:00
0penBrain
96bf29304d Expression: use a precision that ensures no floating point issue 2023-04-05 19:51:51 +02:00
wmayer
5c3f361077 Core: make the init scripts more robust against invalid package.xml files
See also: https://forum.freecad.org/viewtopic.php?t=77170
2023-03-28 10:49:21 +02:00
CarlOlson
7a00359fda add generated code chnages, remove unused file and add bison *.output to gitignore 2023-03-26 18:48:59 +02:00
CarlOlson
926c1253af update expression grammar to handle parens around cond 2023-03-26 18:48:59 +02:00
wmayer
07cf291516 Core: support to load old project files containing image planes
See forum: https://forum.freecad.org/viewtopic.php?p=670545#p670545
2023-03-26 13:51:07 +02:00
Chris Hennes
f5742a71ad Merge pull request #9012 from wwmayer/fix_from_string
App: in PropertyPythonObject::fromString only assign a dict to __dict…
2023-03-25 12:32:44 -05:00
Chris Hennes
54ea0108a9 Merge pull request #8974 from chennes/toponamingMappedElement
App/Toponaming: Add MappedElement
2023-03-25 10:56:55 -05:00
Chris Hennes
8b74cd3255 App/Toponaming: Add tests to MappedElement 2023-03-24 10:05:09 -05:00
wmayer
347729090a App: in PropertyPythonObject::fromString only assign a dict to __dict__ attribute 2023-03-24 14:43:38 +01:00
Syres916
2ed96078c5 [App] Urgent Backout commit cb21604
cb21604494 Humble apologies, back to the drawing board and more testing required.
2023-03-23 15:04:38 +00:00
Chris Hennes
a76ad6bbfe App/Toponaming: clang-tidy cleanup of MappedElement 2023-03-23 09:46:33 -05:00
Chris Hennes
39d2be72d4 App/Toponaming: Add MappedElement class 2023-03-23 09:46:32 -05:00
Chris Hennes
c32ee26b8d Merge pull request #8923 from Ondsel-Development/toponaming-p1-4
[Core] Create `ElementMap.h` and tests
2023-03-23 09:40:56 -05:00
Chris Hennes
633eb24f88 Merge pull request #8955 from wwmayer/issue_8556
Move image loading to core
2023-03-22 16:00:43 -05:00
Ajinkya Dahale
43858ce9ba [Core] Create ElementMap and tests
Test is a dummy for now. `ElementMap.h` only contains const values.
2023-03-22 21:53:23 +05:30
luzpaz
eb852691df Fix typos and whitespace 2023-03-22 17:10:38 +01:00
wmayer
788fe1f139 Gui: add function to scale image 2023-03-22 16:24:51 +01:00
wmayer
084f77f8be Core: move image plane to core system 2023-03-22 13:44:00 +01:00
Syres916
cb21604494 [App] Minor improvment to error handling for...
... a rare event, see https://forum.freecad.org/viewtopic.php?t=76947
2023-03-21 16:43:45 +01:00
Chris Hennes
eec8f3667e Merge pull request #8785 from Pesc0/master
Toponaming: Added MappedName class
2023-03-20 13:09:44 -04:00
Pesc0
dce458d1e8 Added all tests and minor fixes 2023-03-19 02:55:24 +01:00
Pesc0
5e5719a435 Fixed tests 2023-03-18 19:44:18 +01:00
Chris Hennes
376c94f72f App/Toponaming: Finish Doxygen comments 2023-03-18 17:59:35 +01:00
Uwe
25031a74ee [App] [skip ci] register PropertyVelocity
- was forgotten once the property was implemented some days ago
2023-03-18 05:45:45 +01:00
Florian Foinant-Willig
a290fe8ae1 Fix missing python addProperty and removeProperty of Document object 2023-03-17 10:34:32 +01:00
Chris Hennes
c02aeafad0 App/Toponaming: Begin adding Doxygen comments 2023-03-17 02:21:29 +01:00
Chris Hennes
cd6c70adcc App/Toponaming: MappedName clang-tidy cleanup 2023-03-17 02:21:29 +01:00
Pesc0
1562179bdc MappedName unit tests almost complete 2023-03-17 01:43:34 +01:00
Pesc0
62246b951a Added initial tests to MappedName 2023-03-17 01:43:34 +01:00
Pesc0
5600c564be Added MappedName class 2023-03-17 01:42:53 +01:00
Chris Hennes
44864bf525 Merge pull request #8776 from chennes/toponamingIndexedName
App: Toponaming indexed name
2023-03-14 19:21:19 -05:00
Chris Hennes
cc9387aa3f App: Clean up IndexedName and add tests
Fixes the matching algorithm when provided a vector of existing names:
The original algorithm was equivalent to a 'startswith' algorithm, when it should
have been testing for exact and complete string equality. This also does some
refactoring to rename and clarify variables and functions, simplifies some
functions by using standard library calls when possible, and addresses various
linter complaints. It also applies our current clang-format to the files.

Co-authored-by: Ajinkya Dahale <AjinkyaDahale@users.noreply.github.com>
2023-03-14 13:08:23 -05:00
wmayer
54009f14ee App: fixes #7833: Python2/3 FIXME code in App/FreeCADInit.py to be reviewed
The workaround was needed for Py2 on Windows. Since with Py3 it works as expected the workaround can be removed
2023-03-13 14:07:59 +01:00
Chris Hennes
f0fe65e769 App: Add IndexedName class
Ported from development/toponaming.
2023-03-12 11:03:52 -05:00
Abdullah Tahiri
eb7bf5d977 Gui: Remove old signal for critical messages in favour of Notification Area
===========================================================================

The former system of autoclosing messageboxes is removed in favour of the Notification Area.
2023-03-12 06:06:29 +01:00