Commit Graph

438 Commits

Author SHA1 Message Date
Chris Hennes
11caddf7d8 Tools: Switch to subprocess to handle MinGW runs 2023-05-06 12:28:13 -05:00
Chris Hennes
fe0d61001c Tools: Add exclusion list to lupdate calls 2023-05-05 18:41:51 -05:00
Chris Hennes
6da3d0e6b5 Mods: Remove Raytracing
Deprecated. Replaced by 3rd party addon 'Render'.
2023-05-02 12:49:54 -05:00
luzpaz
8f3e7451dd Fix misc. linting and typos
Trim whitespace; move imports to separate lines, fix typos
2023-04-25 17:14:39 +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
Chris Hennes
e995575adc Tools: Add Inspection to Updatecrowdin 2023-04-23 21:40:41 -05:00
Chris Hennes
4a7e1b6d9b Tools: Apply pre-commit autoformatting 2023-04-22 13:07:06 -05:00
Yorik van Havre
f9d584016d [Tools] fixed encoding error in updatets script 2023-04-20 13:53:21 +02:00
Chris Hennes
0f9a9e3e56 Tools: Apply Black to updatecrowdin.py 2023-04-18 22:41:19 -05:00
Chris Hennes
ff3de42686 Tools: Add App to CrowdIn upload 2023-04-18 22:37:23 -05:00
Chris Hennes
6d112c565e Tools: Apply Black formatter to updatets.py 2023-04-16 20:54:32 -05:00
Chris Hennes
8d2f98a780 Tools/updatets.py: clean up file formatting issues. 2023-04-16 20:54:22 -05:00
ronnystandtke
89ebbfebcd Removed Image workbench from directories list (#9275) 2023-04-15 15:06:05 -05:00
luzpaz
546a6fe9f3 Fix trailing whitespace 2023-04-14 03:26:22 +00:00
marioalexis
6cb9bdd23a src: Add descriptor protocol support for Python C++ extension modules 2023-04-10 16:53:51 +02:00
luzpaz
d5a313146f Fix various whitespace issues 2023-03-20 16:38:40 +01:00
mosfet80
8bb8f76fac Delete deprecated thumbnailer (#8798)
Remove thumbs
2023-03-17 11:06:21 +01:00
mosfet80
4b053e867f Delete src/Tools/ImageTools/ImageConv directory
ImageConv Tools  are not used in the Freecad project.
2023-03-16 20:17:22 +01:00
mosfet80
4cd350d2d0 Removal of unused code due to old <5.2 Qt library (#8842) 2023-03-12 11:08:58 +01:00
luzpaz
6802bed99d Fix various typos and whitespace 2023-03-10 14:40:46 +01:00
wmayer
65a0afdb60 [skip ci] update ThumbnailProvider project 2023-03-09 19:37:01 +01:00
marioalexis
88db92ec24 Tools: Update generateDS.py file to Python3 2023-03-06 17:54:27 -03:00
wmayer
1a0801a23f Qt6: port template and Cloud module to Qt6 2023-03-06 12:25:55 +01:00
mosfet80
40229e77fc remove python2 import 2023-03-04 17:51:43 -06:00
mosfet80
3137dea940 remove Python2 code 2023-03-04 17:51:43 -06:00
wmayer
4714135880 Plugin: harmonize with FreeCAD widgets 2023-02-26 21:59:19 +01:00
Uwe
099de1ae9f modernize usage of connect() 2023-02-26 10:38:28 +01:00
Uwe
fc1a6012cf [Widgets] register transparency property of Gui::ColorButton
- at the moment it is not possible to set the property "allowTransparency" in Qt Designer
2023-02-26 10:38:28 +01:00
luzpaz
c14f58d6f3 Fix various trailing whitespace issues and typos 2023-02-19 10:59:14 -06:00
luzpaz
b4780be1d1 Fix whitespace issues 2023-02-05 16:39:58 +01:00
mosfet80
144cdc9cb9 Delete src/Tools/encode directory
remove unused file and folder
2023-01-25 13:25:48 +01:00
mosfet80
25acfeec62 Delete src/Tools/embedded/wxWidgets directory
Remove unused library
2023-01-23 21:59:46 -07:00
luzpaz
23af228b87 Fix various indentation issues (tabs->spaces) 2023-01-23 16:59:28 +01:00
luzpaz
729685316e Fix trailing whitespace, typos, headers
Fix trailing whitespace, typos, and header uniformity.
2023-01-23 00:34:37 +01:00
Yorik van Havre
0aee65e465 Tools: Fixed updatets script not picking py files 2022-12-22 13:34:31 +01:00
Yorik van Havre
7081615c29 Tools: Fixed minor bug in updatets 2022-12-22 10:34:34 +01:00
Adrian Insaurralde Avalos
c9455541ee Unify application icon
was different in the windows executable, windows installer and WB templates
2022-12-04 21:21:47 -03:00
Zheng, Lei
ea4405eaaa Tools: add utility script for code generation using cog 2022-12-03 17:08:17 -06:00
luz paz
fa98553775 Fix various typos and grammatical issues 2022-11-30 12:45:29 +01:00
luz paz
95d89622de Fix header uniformity for various workbenches/directories
Also includes some trailing whitespace fixes
2022-11-29 04:48:57 +01:00
wmayer
09550656c2 Qt6 port:
* Constructor of QFontDatabase is deprecated, use static functions instead
* Fix QuantitySpinBox::selectNumber()
* Fix InputField::selectNumber()
* Make InputField::fixup() compatible with Qt6
* QFont::setWeight requires an enum now
* QInputEvent reuires a pointing device now
* QAbstractItemView::viewOptions() has been renamed to QAbstractItemView::initViewItemOption()
2022-11-03 12:38:11 +01:00
wmayer
ec553a9292 Qt6 port:
* Explicitly include some missing headers
* Use 'static const char*' for XPM icon
* Skip template parameters for qMakePair
* Constructor of QFileInfo is marked as 'explicit' now
* QString::fromLatin1() also accepts a QByteArray
* QDateTime::fromTime_t() is deprecated in Qt5 and has been removed in Qt6. Use QDateTime::fromSecsSinceEpoch()
* QDateTime::toTime_t() is deprecated in Qt5 and has been removed in Qt6. Use QDateTime::toSecsSinceEpoch()
* QApplication::globalStrut() is deprecated. Don't use it any more.
* QWidget::isTopLevel() is deprecated, use QWidget::isWindow()
2022-11-02 15:16:41 +01:00
wmayer
af0a014cf2 Qt6 port:
* QApplication::setFallbackSessionManagementEnabled has been removed
* QString::medRef() has been removed. Use QString::mid() again.
* QTextStream::setCodec has been removed
* Use operator QVariant of the QFont class to make code Qt5 and Qt6 compatible
* Signature of QTreeWidget::mimeData() has changed in Qt6. Remove TreeWidget::mimeData() because it doesn't change the implementation
* QLayout::setMargin() is deprecated in Qt5 and has been removed in Qt6. Use QLayout::setContentsMargins()
* QDateTime::toTime_t() is deprecated in Qt5 and has been removed in Qt6. Use QDateTime::toSecsSinceEpoch()
* QDesktopWidget is deprecated in Qt5 and has been removed in Qt6. Use QScreen
2022-11-01 16:55:40 +01:00
Bernd Waibel
1337203415 Core: Add additional CMake code for building with Qt6
We missed adding CMake code to also build the designer plugin against
Qt6. See https://github.com/FreeCAD/FreeCAD/pull/7647#issuecomment-1297202448

This patch adds the code to enable this.

Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
2022-11-01 08:44:53 -05:00
Kuzemko Alexsandr
63174d487f [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
wmayer
71e841fbe5 Tools: extend RegExp utility 2022-10-08 11:07:42 +02:00
wmayer
3b5bce32b1 Tools: replace QRegExp with QRegularExpression 2022-10-07 16:31:20 +02:00
Yorik van Havre
87185f0911 Tools: Added support for pylupdate6 in translation handling scripts 2022-10-06 12:16:14 +02:00
Adrian Insaurralde Avalos
51167dfd7d [tools] fix fcinfo -g script [skip-ci]
ZipFile.read returns a bytes-like object so re.sub must be passed byte-like objects arguments when operating on those read files.
2022-09-13 19:38:43 -04:00
wmayer
b277ef36c1 Misc: modernize C++: replace 'typedef' with 'using' 2022-08-30 11:10:02 +02:00