Mikael Lindqvist
2d2b5f3e19
When using fcbt.py to generate a python module, use FreeCAD.getUserAppDataDir() rather than FreeCAD.getHomeDir() to specify the module icon
2019-05-06 10:26:10 -03:00
luz.paz
fa1a429367
src/Tools/updatets.py: modernization tweeks
...
Made CLI output more user-friendly especially since we're transitioning to py3/qt5 and the translation tools have different standards (minor changes).
+ added Changelog
+ bumped version and added authors
2019-05-06 10:21:58 -03:00
Yorik van Havre
8f58abfd49
Tools: Updated wiki download scripts
2019-03-06 17:11:00 -03:00
Yorik van Havre
ad28ba5095
Tools: Fixed bug in FreeCAD.ts generation
2019-03-02 19:32:10 -03:00
Yorik van Havre
4a5cf9c52f
Tools: Updated translation scripts to handle only the master (untranslated) ts files
2019-02-08 19:15:56 -02:00
Yorik van Havre
b2619e7eb7
Tools: Discard obsolete strings in translation files
2019-02-08 18:32:10 -02:00
luz.paz
4cfda0c3a5
Misc. typos
...
Found via `codespell`
2019-02-08 11:01:24 -02:00
Yorik van Havre
27885764c5
Tools: Use downloaded zip file from crowdin without arguments
2019-02-01 13:53:38 -02:00
Yorik van Havre
a32d938962
Re-added linux thumbnailer utility that had been washed out together with debian folder
2019-01-12 13:27:31 -02:00
cclauss
c701531069
flake8 noqa a Python 3 syntax error
2019-01-09 10:31:27 +01:00
cclauss
59731e95a8
Undefined name: to --> 'to' (again)
...
Just like #1884 but on a different file.
```
./src/Tools/FCFileTools.py:47:50: F821 undefined name 'to'
print('Error copying', pathFrom, to, pathTo, '--skipped')
^
./src/Tools/FCFileTools.py:86:54: F821 undefined name 'to'
print('Error copying', pathFrom, to, pathTo, '--skipped')
^
```
2019-01-08 11:57:18 -02:00
cclauss
a7c0f4bc5b
Drop depencence on six module
2019-01-07 15:51:34 +01:00
cclauss
51ab27f54a
Fix file, long, raw_input, and xrange for Python 3
2019-01-07 15:42:37 +01:00
cclauss
d33098860d
Fix TabError for Python 3
...
Was split out of #1885...
```
./src/Tools/ArchiveNameFromVersionHeader.py:41:34: E999 TabError: inconsistent use of tabs and spaces in indentation
version['FCRepositoryHash'] = SHA
^
```
2019-01-05 12:20:49 +01:00
wmayer
df3853738e
fix several Py3 issues
2019-01-03 18:11:37 +01:00
cclauss
7afb54f49b
Undefined name: to --> 'to'
...
```
./src/Tools/fcbt/FileTools.py:47:50: F821 undefined name 'to'
print('Error copying', pathFrom, to, pathTo, '--skipped')
^
./src/Tools/fcbt/FileTools.py:86:54: F821 undefined name 'to'
print('Error copying', pathFrom, to, pathTo, '--skipped')
^
```
2019-01-03 17:38:45 +01:00
Yorik van Havre
0bf6ca9732
Fixed translations of startpage
2018-12-30 12:38:03 -02:00
Yorik van Havre
fc5542b976
Fixed translation of py commands in Image
2018-12-27 11:14:07 -02:00
Yorik van Havre
cea09fd986
fixed non-executable translation script
2018-12-27 10:55:58 -02:00
Yorik van Havre
2226da3a20
Added support for arabic and vietnamese
2018-12-23 13:56:46 -02:00
Yorik van Havre
c5939d4476
Tools: cosmetic fix in translation scripts
2018-12-18 11:36:46 -02:00
Yorik van Havre
f56198dd33
Tools: fixed translation of py files in Part
2018-12-10 11:00:53 -02:00
Stian Skjelstad
7102ff26a7
Remove reuse of variable-name.
...
customwidgets.cpp: In member function ‘virtual void Gui::AccelLineEdit::keyPressEvent(QKeyEvent*)’:
customwidgets.cpp:287:38: error: no match for ‘operator+’ (operand types are ‘Qt::Modifier’ and ‘QKeySequence’)
QKeySequence key(Qt::CTRL+key);
~~~~~~~~^~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QtGui:38:0,
from customwidgets.cpp:24:
g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
2018-12-10 09:17:20 -03:00
looooo
1476caf281
py3: iteritems -> items, iterkeys -> keys
2018-12-08 11:27:22 -03:00
Yorik van Havre
024540dbbe
Fixed coverity issues
...
169009 Bad use of null-like value
169005 Bad use of null-like value
169003 Bad use of null-like value
169000 Bad use of null-like value
168998 Bad use of null-like value
168996 Structurally dead code
2018-11-20 12:37:32 -02:00
wmayer
7fbd1c6beb
remove some more boost.signals leftover
2018-11-07 11:42:44 +01:00
wmayer
83f61b4372
implement true divide handler of the number protocol for Quantity
2018-10-27 15:27:27 +02:00
luz.paz
2de755186b
Misc. typo fixes
...
Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm" -I ../fc-word-whitelist.txt`
2018-10-02 21:05:22 +02:00
wandererfan
8668296f9c
Hard Code QTFileDialog option
2018-09-23 19:37:19 +02:00
wmayer
4a717a8a44
Make destructors of all generated Py class protected
...
This is to avoid to create an object on the stack and thus to clutter Python's reference counting mechanism
2018-09-19 18:22:22 +02:00
luz.paz
b214f606c4
Misc. typo and whitespace fixes
...
ref: https://forum.freecadweb.org/viewtopic.php?f=3&t=30988#p256964
along with other misc. fixes
2018-09-19 17:26:03 +02:00
Peter Lama
e0f8dede06
Update commit count reference for shallow clones
...
Clone depth for travis is set to 5000. Using the current HEAD
as reference means we won't have to update it again for awhile.
2018-09-05 10:59:34 +02:00
Michal Ulianko
faf8834484
py3.7 fix
...
PyUnicode_AsUTF8() returns const char* in py3.7 instead of char*. Making
changes to reflect that which should also be safe in
other Python versions.
2018-09-01 22:44:39 +02:00
wmayer
3927a2ed8b
reduce compile time after each time cmake configure is executed (Version.h)
2018-08-21 14:06:33 +02:00
wmayer
952a9a4a80
CMP0050: make Template module aware of cmake policy
2018-08-20 23:33:26 +02:00
wmayer
68f6c82eb1
fix -Wcast-function-type
2018-08-19 13:11:08 +02:00
wmayer
2587864b52
example using C++ API of FreeCAD in external application
2018-08-09 22:12:18 +02:00
luz.paz
baa6d89328
Typos and whitespace fixes
2018-08-07 11:13:31 -04:00
wmayer
9c57ae56ad
add cmake file for thumbnail provider
2018-07-30 16:38:55 +02:00
Yorik van Havre
548511ac30
Add support for Qt5 in ts update script
2018-06-13 11:45:40 -03:00
looooo
25bd2d2ab1
py3: tools: 2to3
2018-05-23 19:13:54 +02:00
luz.paz
6e64b4f75d
Misc. typos
2018-05-19 12:06:34 -04:00
luz.paz
505488c4f9
Misc. typos
...
Found via `codespell`
2018-04-25 09:41:33 -03:00
looooo
18b6544883
win: pybind11: workaround for strdup
2018-04-23 09:56:23 +02:00
Yorik van Havre
86c5c0dc99
Doc: added splitting/reconstruct instructions to the offline doc scrits readme
2018-03-25 12:56:05 -03:00
wmayer
3b5b284c67
use Python script to concatenate qch file
2018-03-21 22:20:34 +01:00
luz.paz
b45bc4889d
Misc. typos: Please merge right before 0.17 release
...
I'm still finding typos in the source code. I propose that you keep this PR open prior ro relaese and then merge so that if I find other typos in the meantime they will be part this release.
2018-03-18 15:15:16 +01:00
Yorik van Havre
c5f4079252
Tools: fixes in wiki download scripts
2018-03-09 15:18:11 -03:00
wmayer
0d00433ee9
port FreeCAD plugin for Qtdesigner to Qt5
2018-03-09 15:38:33 +01:00
wmayer
2bfea410fc
build plugin with Qt5
2018-03-08 01:51:42 +01:00