Commit Graph

225 Commits

Author SHA1 Message Date
Yorik van Havre
9e1c5c956c Tools: Updated wiki download scripts 2019-03-06 17:11:00 -03:00
Yorik van Havre
7155e40080 Tools: Fixed bug in FreeCAD.ts generation 2019-03-02 19:32:10 -03:00
Yorik van Havre
76d9d655cf Tools: Updated translation scripts to handle only the master (untranslated) ts files 2019-02-08 19:15:56 -02:00
Yorik van Havre
5360dc5e0c Tools: Discard obsolete strings in translation files 2019-02-08 18:32:10 -02:00
luz.paz
cb4a0adf71 Misc. typos
Found via `codespell`
2019-02-08 11:01:24 -02:00
Yorik van Havre
e2a064228f Tools: Use downloaded zip file from crowdin without arguments 2019-02-01 13:53:38 -02:00
Yorik van Havre
6b1b0ba475 Re-added linux thumbnailer utility that had been washed out together with debian folder 2019-01-12 13:27:31 -02:00
cclauss
823f3372ca flake8 noqa a Python 3 syntax error 2019-01-09 10:31:27 +01:00
cclauss
4d246412d3 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
a8a02e881d Drop depencence on six module 2019-01-07 15:51:34 +01:00
cclauss
00d8f39840 Fix file, long, raw_input, and xrange for Python 3 2019-01-07 15:42:37 +01:00
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