Commit Graph

36 Commits

Author SHA1 Message Date
Syres916
b86e1adb22 [Techdraw] Import SVG files with UTF-8 encoding (#18816)
* [Techdraw] Fix importing SVG files with UTF-8 encoding

* [Techdraw] fix Lint feedback
2025-01-06 18:32:56 +01:00
obelisk79
3eb45b045c [UI] Logo Update (#14284)
* Updating instances of FreeCAD's old logo to reflect the new Logo

* updating additional instances of the Logo

* updating additional instances of the Logo

* Update logo for windows installer

* Update logo reference to /src/Gui/Icons/freecad.svg
2024-05-27 15:33:55 -04:00
DeflateAwning
c847a3d516 Change http to https in SVGs
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Include: *.svg
2023-10-29 22:32:59 -06:00
Petter Reinholdtsen
28ad96b87f Use python3 as the interpreter instead of python (ie v2)
This fixes lintian warning "unusual-interpreter".

Part of the Debian edition of FreeCAD since 2023.
2023-07-01 03:09:19 +02: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
luzpaz
d5a313146f Fix various whitespace issues 2023-03-20 16:38:40 +01:00
wandererfan
5247b91a63 [TD]add wait for threads to Dimension test script 2023-03-16 10:37:14 -04:00
mosfet80
3137dea940 remove Python2 code 2023-03-04 17:51:43 -06:00
luzpaz
a38b2ffbf7 Fix various trailing newlines, typos and grammar 2023-02-04 18:29:07 +01:00
wandererfan
c8a0172df8 [TD]Add tests for geometry creation
- check that edge geometry count is correct
- handle delay waiting for threads to complete
- add test for DrawViewDetail
2022-11-21 18:24:57 -05:00
wandererfan
4ea2cb4cc0 [TD]fix hatch test script
- test was erroneously adding hatch to page. Hatches only
  belong to DrawViewPart.
2022-11-07 07:56:43 -05:00
Benjamin Bræstrup Sayoc
e8e1050620 [TechDraw] Make projection group test a unittest 2022-07-28 14:51:50 -04:00
Benjamin Bræstrup Sayoc
48661cd3c7 [TechDraw] Fix making template bug for tests 2022-07-28 14:51:50 -04:00
Benjamin Bræstrup Sayoc
6893938f2a [TechDraw] Make balloon test a unittest 2022-07-28 14:51:50 -04:00
Benjamin Bræstrup Sayoc
36f50665fe [TechDraw] Make section view test a unittest 2022-07-28 14:51:50 -04:00
Benjamin Bræstrup Sayoc
337b40f846 [TechDraw] Make view test a unittest 2022-07-28 14:51:50 -04:00
Benjamin Bræstrup Sayoc
cf8e3f8eda [TechDraw] Make dimension test a unittest 2022-07-28 14:51:50 -04:00
Benjamin Bræstrup Sayoc
a1dfe2465f [TechDraw] Make image test a unittest 2022-07-26 09:40:19 -04:00
Benjamin Bræstrup Sayoc
4fc8596d7b [TechDraw] Make symbol test a unittest 2022-07-26 09:40:19 -04:00
Benjamin Bræstrup Sayoc
906618c0b6 [TechDraw] Make annotation test a unittest 2022-07-26 09:40:19 -04:00
Benjamin Bræstrup Sayoc
d1f107f656 [TechDraw] Make hatch test a unittest 2022-07-26 09:40:19 -04:00
Wanderer Fan
cc770208ea [TD]migrate DrawingWB projection functions to TechDrawWB 2022-01-29 14:49:15 -05:00
benj5378
96b8a6e87b Black 2022-01-27 09:44:44 -05:00
benj5378
8d7c92ece4 Remove unused modules and variables 2022-01-27 09:44:44 -05:00
wmayer
e728c3590e TD: [skip ci] Fix coverity warning
Coverity warnings fixed:

CID 316559 (#1 of 1): Uninitialized scalar variable (UNINIT)
3. uninit_use_in_call: Using uninitialized value we. Field we.idx is uninitialized when calling push_back

CID 316549 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
4. uninit_member: Non-static class member pageheight is not initialized in this constructor nor in any functions that it calls.

CID 186161 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
2. uninit_member: Non-static class member parent is not initialized in this constructor nor in any functions that it calls.

CID 305170 (#1 of 1): Dereference before null check (REVERSE_INULL)
check_after_deref: Null-checking this->m_baseFeat suggests that it may be null, but it has already been dereferenced on all paths leading to the check.

CID 186152 (#2 of 2): Uninitialized pointer field (UNINIT_CTOR)
3. uninit_member: Non-static class member m_mdi is not initialized in this constructor nor in any functions that it calls.

CID 192588 (#1 of 1): Same on both sides (CONSTANT_EXPRESSION_RESULT)
pointless_expression
2021-02-21 16:30:30 +01:00
wandererfan
dd794a9e34 [TD]update balloon test case for OriginIsSet 2020-03-20 08:56:07 -04:00
donovaly
72e55ca8a3 fix missing namespaces in SVG files
see https://forum.freecadweb.org/viewtopic.php?f=35&t=42955&start=10#p365470
2020-02-03 07:20:52 -05:00
WandererFan
ec602a0934 [TD]update property name in Balloon test case 2019-12-27 20:27:19 -05:00
donovaly
e583b2a468 DrawViewBalloon: add units there as well
since OriginX/Y depend on DrawView base X/Y

- also adapt the balloon test accordingly
2019-12-01 21:48:46 -05:00
wandererfan
6bb8f19b2c Fix misleading error messages in ProjGroup test 2019-06-08 12:25:00 -04:00
wandererfan
f5681479e3 Add test script for leader line and RTA 2019-05-09 07:31:31 -04:00
Franck Jullien
b5613b2bd8 TechDraw: add Balloons 2019-04-01 23:24:17 +02:00
wandererfan
9a99a87a9a Replace static_cast with dynamic_cast
- replace all static_cast with dynamic_cast + error test
2019-03-07 10:58:28 +01:00
wandererfan
7189b8ebc0 Fix segfault on missing Anchor view
- test script did not create Anchor(Front) view.  DPG/DVP did not
  handle missing Anchor properly
2019-03-07 10:58:28 +01:00
WandererFan
4f291f7305 Allow ProgGroup Item AutoPosition from Python 2018-02-11 20:07:57 +01:00
WandererFan
6bd237e41e Update TechDraw Unit Test set
Allow unit test to run in console mode

Change to unique document names for each unit test

Fix error in CMake install for test files

Correct Py3/Py2 unicode error
2018-02-01 19:34:04 +01:00