Commit Graph

29394 Commits

Author SHA1 Message Date
Kuzemko Alexsandr
2eb55d48c7 [App] Fix of untranslated first document's name (#7156)
* Change no need function newDocument("Unnamed") call to variant without parameter. "Unnamed" set in App newDocument function instead.
* Refactor New Document command to run without parameter.
* Translate new document's userName. Internal name = "Unnamed".
* Crowdin Add to updatets.py App.ts. Create new file App.ts
* Fix error where document name is set with one function parameter. In this situation set internal and user name to string variable. For default function call (without parameter) set internal name to Unnamed, userName = translate ("Unnamed")
2022-10-20 21:35:09 -05:00
wandererfan
086de5430f [TD]fix check of wrong variable
- replace check of pages in selection with check of
  pages in document
- fix mixed {} conventions
- fix fail to exit on user cancel
2022-10-20 21:28:04 -04:00
adrianinsaval
5a32e28ce4 Use Std_New for new document creation at startup
so it uses the translated string
2022-10-20 19:58:16 -05:00
wmayer
06204d9f3d Gui: [skip ci] refactor PropertyModel::buildUp 2022-10-21 02:24:42 +02:00
0penBrain
7317e5a93c [Bugfix]Spreadsheet: fix multi-screen management of QtColorPicker
+ set parent when instantiating
2022-10-20 16:08:01 -05:00
Zheng, Lei
2053a90cbc Spreadsheet: fix cell span handling
When undo/redo, copy/paste, and removing row/column
2022-10-20 16:03:20 -05:00
Zheng, Lei
729f2e857a Spreadsheet: fix cell span synchronization with SheetTableView
Also, allow merge cell with overlaps, by auto split overlapped cells
first
2022-10-20 16:03:20 -05:00
wmayer
3b01056b9b Gui: ignore recursive call of PropertyView::onTimer() 2022-10-20 23:00:50 +02:00
wmayer
0e0976377e Gui: [skip ci] whitespace improvements 2022-10-20 21:26:53 +02:00
wandererfan
e9d988d43c [TD]expose DVP projectPoint to Python 2022-10-19 20:00:27 -04:00
luz paz
774341fd90 [Sketcher] [Part] Fix typos and whitespace 2022-10-19 11:36:56 +02:00
0penBrain
3581d0f6c7 [Bugfix]Sketcher/BackEdit : Backedit lost if user changed camera mode
- in current implementation, backedit feature is lost if user changes camera mode (for example from orthographic to
   perspective, or oppositely). This happens because when changing camera mode, Coin actually do not just change a
   parameter of the camera node, but delete the current camera node and add a new one to the scenegraph. Thus the
   SoFieldSensor currently used (attached to camera orientation) is just detached and sensing is left -- notice is would
   be same with a SoNodeSensor attached to camera node --. The solution is to attach the sensor at scenegraph root node
   so it isn't lost when camera mode changed. No pre-check (such as checking if camera node changed since last call) has
   been added currently because it would not actually reduce callback execution time (and even worsen it).
2022-10-19 11:34:17 +02:00
wandererfan
30d2514020 [TD]ActiveView from different document 2022-10-18 09:04:28 -04:00
sliptonic
a873837e7c Merge pull request #7605 from mlampert/bugfix/loading-path-wb-error
[PATH]: bugfix/loading-path-wb-error
2022-10-17 10:35:42 -05:00
sliptonic
da198bba25 Merge pull request #7599 from sliptonic/codespell
fix codespell warnings
2022-10-17 10:35:00 -05:00
jim
e789e73d1f fix whitespace and add comments 2022-10-17 11:15:09 -04:00
jim
fe165ea3da increase the height FreeType uses to draw glyphs in order to preserve precision of very fine features when converted to FC wires. scale the result back down appropriately. 2022-10-17 11:15:09 -04:00
Yorik van Havre
1ae780d3b1 Merged crowdin translations 2022-10-17 15:12:16 +02:00
Yorik van Havre
f249cabb77 Merge pull request #7611 from Roy-043/Draft-Escape-should-not-switch-off-continue-mode
Draft: Escape should not switch off continueMode
2022-10-17 14:47:41 +02:00
Yorik van Havre
0e23f19fbe Merge pull request #7608 from Roy-043/Draft-fix-path-array-float-math-issue
Draft: Fix path array float math issue
2022-10-17 14:44:04 +02:00
Yorik van Havre
d50f062e34 Updated ts files 2022-10-17 11:18:07 +02:00
Uwe
d11ed8fb80 [FEM] HypothesisPy: add inclusion comment
- add comments to avoid in future cases like this: https://github.com/FreeCAD/FreeCAD/issues/7585#issuecomment-1280170176
- also include explicitly SMESH_Version.h as safe guard in case HypothesisPy.h might in future be included in a different position
2022-10-17 04:12:07 +02:00
Uwe
15929073ca [Sketch] TaskSketcherGeneral.ui: add missing stdset
- were strangely removed by out sort_ui.py script but are of course important
2022-10-17 02:51:25 +02:00
Uwe
45702c32af [Sketch] TaskSketcherGeneral.ui: fix compiler warning
- problem was the customwidget declaration
- the other changes were made by Qt's designer and our sort_ui.py script
2022-10-17 02:36:33 +02:00
Uwe
a868f12b2a Revert "[Sketch] TaskSketcherGeneral: restore wording of FC 0.20"
This reverts commit d38f4f6fd230f8346ebe2e264a078b003945c9e2.
2022-10-17 02:31:08 +02:00
wandererfan
47db16d521 [TD]update export icons 2022-10-16 07:55:35 -04:00
Ajinkya Dahale
c624d40476 [Sketcher] Allow driving constraint on construction geometry
Fixes issue #7442.

Also, the following commits are squashed into this one:

[Sketcher] Remove unnecessary variables

[Sketcher] Use `setDriving` within `toggleDriving`

Suggestion courtesy @0penbrain.

[Sketcher] Remove redundant check: `SketchObject::testDrivingChange`

`GeoEnum::GeoUndef = -2000` so checking if it's `< 0` is redundant.
2022-10-16 11:20:15 +02:00
Uwe
40ba59fc4f [Part] remove now obsolete code for Visual Studio compiler
- see the discussion in https://github.com/FreeCAD/FreeCAD/pull/7241
2022-10-16 11:17:01 +02:00
flachyjoe
e248e3ef00 [Start] Fix New document name translation
Fix FreeCAD-translations/issues/198
2022-10-16 02:55:01 +02:00
Markus Lampert
5dce28ae8b Fixed typo in UI test case 2022-10-15 11:19:30 -07:00
Markus Lampert
edf097e7e9 Fixed recursive import 2022-10-15 11:19:30 -07:00
Uwe
58641334b6 [FEM] HypothesisPy.cpp: fox compiler warning
- see https://forum.freecadweb.org/viewtopic.php?p=633192#p633192
2022-10-15 19:11:06 +02:00
Roy-043
9351bbe7bf Draft: Escape should not switch off continue mode 2022-10-15 12:14:51 +02:00
Uwe
e259f12dfb [Sketch] TaskSketcherGeneral: restore wording of FC 0.20
- see https://forum.freecadweb.org/viewtopic.php?p=633198#p633198
- also fix problem with wrong custom widget definition (kindly automatically fixed by Qt's designer)
2022-10-15 04:50:50 +02:00
Roy-043
71e3fa5609 Draft: Fix path array float math issue 2022-10-14 21:08:29 +02:00
wmayer
9f7f8d0f4a App: [skip ci] use curly braces for if/else-statements and for loops 2022-10-14 13:55:11 +02:00
Uwe
8a18c84143 [FEM] commands.py: reformat a string
- just to be consistent with other strings (found by reviewing https://github.com/FreeCAD/FreeCAD-translations/issues/197)
2022-10-14 02:12:00 +02:00
sliptonic
e058eb6173 Typo in Adaptive test 2022-10-13 14:09:51 -05:00
wmayer
9f8cfe22f8 App: add tests for cell rows and absolute cells 2022-10-13 20:16:48 +02:00
sliptonic
0d3ce2cba2 fix codespell warnings 2022-10-12 10:00:33 -05:00
sliptonic
0c12216bce Merge pull request #7440 from mlampert/refactor/path-module-naming-cleanup
[PATH]: Refactor/path module naming cleanup
2022-10-12 09:14:39 -05:00
Yorik van Havre
ee358fd53f Merge pull request #7597 from Roy-043/Draft-Point-array-Take-placement-of-point-object-into-account-and-accept-more-point-object-types
Draft: Point array: Take placement of point object into account and accept more point object types
2022-10-12 15:03:46 +02:00
Yorik van Havre
1003bf6216 Merge pull request #7590 from Roy-043/Draft-Fix-alignment-of-angular-dimension-arrows-in-svg.py
Draft: Fix alignment of angular dimension arrows in svg.py
2022-10-12 15:02:15 +02:00
Roy-043
69d4c647c0 Draft: Point array: Take placement of point object into account and accept more point object types 2022-10-12 11:18:12 +02:00
Markus Lampert
1953338bd1 Skip legacy tools in job templates and emit error msg 2022-10-11 21:43:09 -07:00
Markus Lampert
cfe4dc4317 Added property details if value assignment fails 2022-10-11 21:43:09 -07:00
Markus Lampert
3c44647972 Full recompute on test file 2022-10-11 21:43:09 -07:00
Markus Lampert
b2d23a7001 Fixed property bag editor to cancel if no name is given and OK is pressed 2022-10-11 21:43:09 -07:00
Markus Lampert
72f85f6873 Fixed refactor import issue 2022-10-11 21:43:09 -07:00
Markus Lampert
83177edcbf Convert usage of PathStop to Path.Op.Gui.Stop 2022-10-11 21:43:09 -07:00