wmayer
0b08ea3368
C++: replace deprecated vsprintf and sprintf
...
With future C++ compilers the methods vsprintf and sprintf are declared as deprecated due to security issues.
They are replaced with the secure counterpart of the fmt library
Fixes the compiler warnings -Wdeprecated-declarations
2024-04-03 10:04:56 +02:00
wmayer
793685de3c
Drawing: use of TaskDialog::addTaskBox
2024-03-26 15:57:20 +01:00
pre-commit-ci[bot]
222a2520b1
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-09-12 13:02:35 -04:00
wmayer
789912d745
Drawing: Apply clang format
2023-09-10 12:37:47 +02:00
Uwe
20a3d4b7ed
[Drawing] Gui: remove unused headers
...
- also some sorting
- also enable precompiled header
2022-12-10 05:59:51 +01:00
mosfet80
d162d9371c
Remove old msc ver. Freecad 0.20 require 64 bit and windows 7 or higher. For this reason, msc libraries less than 1800 will no longer be used. ( #7036 )
...
* remove msc<1800
2022-06-28 00:42:33 +02:00
mosfet80
620c273c4e
Boost version <=1.60 is never used in freecad 0.20 ( #7038 )
...
* Boost version 1.60 is never used in freecad 0.20
2022-06-24 02:20:26 +02:00
wmayer
46117f0ae1
Drawing: modernize C++11
...
* use nullptr
2022-03-23 19:26:15 +01:00
wmayer
1ca7429705
Gui: Optimize includes to reduce compile time
2022-03-07 20:29:18 +01:00
Uwe
629c1467ce
[Drawing] use predefined M_PI
2022-01-07 21:52:24 +01:00
wmayer
d5d7d65bfc
LGTM: [skip ci] fix: Large object passed by value
2020-07-24 18:32:31 +02:00
wmayer
67bf5445b7
Coverity: Unchecked return value
2020-07-20 17:34:30 +02:00
wmayer
f3b460e42e
boost: fix for boost < 1.60
2020-06-15 19:38:39 +02:00
wmayer
4ec45b545e
boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated
2020-06-12 17:51:33 +02:00
wmayer
9270322d25
Mod: [skip ci] implementation classes don't inherit from UI classes any more
2020-01-10 16:19:35 +01:00
wmayer
93f0d1bec9
PVS: V1024 The 'file' stream is checked for EOF before reading from it, but is not checked after reading. Potential use of invalid data
2019-03-13 13:34:45 +01:00
wmayer
b8ed93605d
Fix scan coverity issues:
...
CID 184299: Null pointer dereferences (FORWARD_NULL)
CID 184297: Error handling issues (UNCAUGHT_EXCEPT)
CID 184296: Uninitialized members (UNINIT_CTOR)
CID 184292: Uninitialized members (UNINIT_CTOR)
2018-11-13 13:20:16 +01:00
wmayer
f898eafd64
move from deprecated boost.signals to boost.signals2 library
2018-10-30 19:09:03 +01:00
Markus Lampert
0b40519f3f
Changed all catch types to references for polymorphic exceptions.
2018-08-08 15:45:30 +02:00
Unknown
a8ecffb652
Misc. typo fixes
...
Various workbenches
2017-12-23 14:30:30 +01:00
wmayer
09737f2db3
rename method from remObject to removeObject to be more readable
2017-09-13 18:57:38 +02:00
wmayer
3b961bcb5f
+ add convenience method recomputeFeature()
...
+ make method recompute() protected
2016-11-06 17:16:50 +01:00
wmayer
68ea7fdac5
fix coverity issues
2016-10-08 17:43:30 +02:00
wmayer
b9c25c8402
fix -Wextra & -Wdeprecated in Drawing
2016-09-22 15:29:10 +02:00
wmayer
9459938cdc
fix Coverity issues
2016-08-21 14:44:14 +02:00
wmayer
6ed52e479b
+ fix crashes in ortho view panel
2016-01-13 17:40:20 +01:00
wmayer
a4d1dbe5f0
+ rework BoundingBox class and its Python binding
2015-10-11 00:18:53 +02:00
wmayer
834c0a642d
+ include missing header files
2015-07-01 13:02:29 +02:00
wmayer
d29d62b4ab
+ fix linker error with MSVC 2012
2015-02-28 12:42:27 +01:00
wmayer
683e342cff
+ fix linker error with MSVC
2015-01-25 12:22:04 +01:00
Sebastian Hoogen
5a9484f06c
round the drawing view projection direction
...
before calculating the necessary view rotation to anticipate the
rounding that happens on saving and reloading the file. fixes #1909
2015-01-24 23:37:38 +01:00
wmayer
6c187572c7
+ fix undo/redo issues with ortho views
2015-01-03 22:39:07 +01:00
wmayer
2c53bd1e9a
+ fixes #0001670 : Orthographic projection: scale/position is empty when unchecking 'Auto scale/position'
2014-12-30 19:14:07 +01:00
jriegel
c1f0f70b88
Merge remote-tracking branch 'refs/remotes/origin/jriegel/NewWinBuild' into jriegel/review-NewLibPack
...
Conflicts:
src/3rdParty/salomesmesh/CMakeLists.txt
2014-08-27 15:39:00 +02:00
Michael G. Hansen
dd7bd833c6
Fix bug 1643: Projections are always added to the first drawing page
2014-08-19 15:07:02 +02:00
jriegel
7767f0e6c7
Fix for VC11, should be backwards compatible
2014-08-13 21:01:27 +02:00
jriegel
3cbc877f6b
fix some warnings
2014-01-12 16:25:47 +01:00
jriegel
3f52b88c5b
Fix for Windows
2014-01-12 16:21:07 +01:00
j-dowsett
83c9017eff
Rewrite of OrthoViews. Detect page size and titleblock from tags in SVG template. Separation of logic from GUI. Much improved logic. No longer uses python to manipulate views - calls C++ methods directly. Can now support more views, and axonometric views in any position.
2014-01-10 11:33:34 +00:00
j-dowsett
7348d0d497
Added manual scaling to axonometric view
2013-12-15 11:26:54 +00:00
j-dowsett
7d159360c4
Correctly identify standard template files
2013-12-15 11:26:54 +00:00
j-dowsett
ad9c33b9d6
Correctly enables/disables axonometric tab when axonometric view added/removed.
2013-12-15 11:26:54 +00:00
j-dowsett
fe5884aa85
Fixed overwriting of axo view when ortho views changed.
2013-12-15 11:26:54 +00:00
j-dowsett
88c1ae6a24
Fix to axonometric projection for objects not centred at y = 0
2013-12-15 11:26:53 +00:00
j-dowsett
ce5fad80dd
Added functionality for axonometric views in orthogrpahic projection tool
2013-12-15 11:26:53 +00:00
wmayer
b4aff85333
Fix critical warnings
2012-06-13 18:49:10 +02:00
wmayer
2ba9354492
Fix build error with VC++
2012-02-21 11:11:57 +01:00
wmayer
3891ad218f
New functions added to orhto views (Joe Dowsett)
2012-02-20 20:53:54 +01:00
wmayer
c782b9e732
Apply patch from Joe Dowsett
2012-02-20 20:39:19 +01:00
wmayer
dfbea1de96
+ move vec_traits into its own module
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5363 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-30 11:45:28 +00:00