Commit Graph

219 Commits

Author SHA1 Message Date
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
wmayer
c5bc81ce59 add PrefUnitSpinBox to designer plugin 2018-03-07 23:51:07 +01:00
WandererFan
df5a986c87 Add Pref Font Widget 2018-02-27 14:28:36 -05:00
luz.paz
143ce405e4 Misc. source and comment typos 2018-02-26 22:02:52 -05:00
Yorik van Havre
8aad83f08f Updated wiki download scripts 2018-02-26 15:12:53 -03:00
Patola
3dc0f77065 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
80f9057e7a Small fix in translation tools 2018-02-21 13:35:32 -03:00
Yorik van Havre
b9e1cbb6de Added support for lithuanian, valencian, indonesian and filipino 2018-02-21 13:19:42 -03:00
luz.paz
a86c0fe137 sWhatsThis fixes
ref: https://forum.freecadweb.org/viewtopic.php?f=10&t=26687
2018-01-31 19:07:07 +01:00