cclauss
2aa53c7316
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
3e12a59d41
fix several Py3 issues
2019-01-03 18:11:37 +01:00
cclauss
730f314839
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
d33d352d94
Fixed translations of startpage
2018-12-30 12:38:03 -02:00
Yorik van Havre
13fb9e879d
Fixed translation of py commands in Image
2018-12-27 11:14:07 -02:00
Yorik van Havre
3b80b23805
fixed non-executable translation script
2018-12-27 10:55:58 -02:00
Yorik van Havre
9ef3598405
Added support for arabic and vietnamese
2018-12-23 13:56:46 -02:00
Yorik van Havre
d4ace10858
Tools: cosmetic fix in translation scripts
2018-12-18 11:36:46 -02:00
Yorik van Havre
445e9efdb7
Tools: fixed translation of py files in Part
2018-12-10 11:00:53 -02:00
Stian Skjelstad
1f2dc3a366
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
c2be67e812
py3: iteritems -> items, iterkeys -> keys
2018-12-08 11:27:22 -03:00
Yorik van Havre
88f47ee725
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
c8dc989a51
remove some more boost.signals leftover
2018-11-07 11:42:44 +01:00
wmayer
1106404b1e
implement true divide handler of the number protocol for Quantity
2018-10-27 15:27:27 +02:00
luz.paz
b4ef5d2c11
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
5d0fa3d251
Hard Code QTFileDialog option
2018-09-23 19:37:19 +02:00
wmayer
5df6090150
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
360e581672
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
7bd3bf7fb1
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
2e2b8cba6a
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
4b29b6c5d5
reduce compile time after each time cmake configure is executed (Version.h)
2018-08-21 14:06:33 +02:00
wmayer
ef1810d9eb
CMP0050: make Template module aware of cmake policy
2018-08-20 23:33:26 +02:00
wmayer
1cd894bacc
fix -Wcast-function-type
2018-08-19 13:11:08 +02:00
wmayer
2d2aaac130
example using C++ API of FreeCAD in external application
2018-08-09 22:12:18 +02:00
luz.paz
424cd49398
Typos and whitespace fixes
2018-08-07 11:13:31 -04:00
wmayer
07be6e30bf
add cmake file for thumbnail provider
2018-07-30 16:38:55 +02:00
Yorik van Havre
e6bb61cd0c
Add support for Qt5 in ts update script
2018-06-13 11:45:40 -03:00
looooo
64002161d6
py3: tools: 2to3
2018-05-23 19:13:54 +02:00
luz.paz
69b3b0b7f2
Misc. typos
2018-05-19 12:06:34 -04:00
luz.paz
9167064fc1
Misc. typos
...
Found via `codespell`
2018-04-25 09:41:33 -03:00
looooo
088b2687ea
win: pybind11: workaround for strdup
2018-04-23 09:56:23 +02:00
Yorik van Havre
9fa92b39af
Doc: added splitting/reconstruct instructions to the offline doc scrits readme
2018-03-25 12:56:05 -03:00
wmayer
b4cf4bcc7e
use Python script to concatenate qch file
2018-03-21 22:20:34 +01:00
luz.paz
46d32d78a3
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
e4ca01c88d
Tools: fixes in wiki download scripts
2018-03-09 15:18:11 -03:00
wmayer
fa1fc9ed64
port FreeCAD plugin for Qtdesigner to Qt5
2018-03-09 15:38:33 +01:00
wmayer
12adbc53bf
build plugin with Qt5
2018-03-08 01:51:42 +01:00
wmayer
0efac92236
add PrefUnitSpinBox to designer plugin
2018-03-07 23:51:07 +01:00
WandererFan
314dcaa3cd
Add Pref Font Widget
2018-02-27 14:28:36 -05:00
luz.paz
57ca6b366b
Misc. source and comment typos
2018-02-26 22:02:52 -05:00
Yorik van Havre
8ca620a064
Updated wiki download scripts
2018-02-26 15:12:53 -03:00
Patola
c60824db35
Better handle non-ascii characters
...
This prevents the following error when using fcinfo as diff driver for WebTools Git:
(...)
File "/usr/local/bin/fcinfo", line 89, in startElement
print (" " + key + " : " + val)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 17: ordinal not in range(128)
fatal: unable to read files to diff
2018-02-26 10:51:29 -03:00
Yorik van Havre
91fac9094a
Small fix in translation tools
2018-02-21 13:35:32 -03:00
Yorik van Havre
ce0a882b7e
Added support for lithuanian, valencian, indonesian and filipino
2018-02-21 13:19:42 -03:00
luz.paz
69216f3604
sWhatsThis fixes
...
ref: https://forum.freecadweb.org/viewtopic.php?f=10&t=26687
2018-01-31 19:07:07 +01:00
luzpaz
0022d71a37
Packaging typos
2018-01-01 17:54:07 +01:00
luzpaz
c4dd42de98
Typos: Various workbenches and misc.
...
[skip ci]
2017-12-25 10:58:10 +01:00
luzpaz
985980648c
Typos: user-facing and trivial
...
Several typos and uniformity fixes.
Note:
*SCL/SimpleDataTypes.py is a upstream stepcode file whose fiz has been submitted upstream and accepted.
*the header of Tools/generateBase/generateMetaModel_Module.xsd had redundant data. It has been removed. Please double check it.
2017-12-02 14:00:57 +01:00
Yorik van Havre
4f47e5235f
Removing black-on-white theming to allow system colors in Qt help
2017-11-28 12:45:29 -02:00
luzpaz
11cc9f12e9
Tools: SubWCRev.py file info update
...
Modified the file summary to reflect that the file supports svn, bazaar and git.
+ updating revision history
2017-11-27 17:52:00 -05:00