Commit Graph

191 Commits

Author SHA1 Message Date
Roman Telezhynskyi
fe56607d7d Flipping VSpline, VSplinePath, VEllipticalArc, VCubicBezierPath and
VCubicBezier.

--HG--
branch : feature
2016-09-10 21:40:30 +03:00
Roman Telezhynskyi
800181e867 Flipping VArc.
--HG--
branch : feature
2016-09-10 18:18:11 +03:00
Roman Telezhynskyi
4c47c33c5e Flipping VPointF.
--HG--
branch : feature
2016-09-10 16:40:38 +03:00
Roman Telezhynskyi
cbc7eb7571 Test rotating VSplinePath.
--HG--
branch : develop
2016-09-10 14:17:08 +03:00
Roman Telezhynskyi
bfff8ccb96 Changes for returning support Qt 5.0 and GCC 4.6.
--HG--
branch : develop
2016-08-21 18:57:08 +03:00
Roman Telezhynskyi
3dab49c23e QVector::removeLast() supported since Qt 5.1.
--HG--
branch : develop
2016-08-20 22:30:40 +03:00
Roman Telezhynskyi
d799bdce03 Unit test ref #548.
(grafted from c6c35111ed9239f484046384cf4ac173222bdaf0)

--HG--
branch : develop
2016-08-20 20:47:51 +03:00
Roman Telezhynskyi
92be5a9ad3 Fixing issue #548 requre update several tests.
--HG--
branch : develop
2016-08-20 19:56:16 +03:00
Roman Telezhynskyi
e333c9bc08 QtDebug and QDebug lead to the same header. Leave only QtDebug.
--HG--
branch : develop
2016-08-16 20:35:21 +03:00
Roman Telezhynskyi
222bbeaa75 Fixed issue #543. Detail loses details.
(grafted from 7e5b3ed76ac3b86fd6112b90b51e8c0c4702bbf0)

--HG--
branch : develop
2016-08-16 18:23:38 +03:00
Roman Telezhynskyi
19b880ad76 New test localization (checking html tags mismatch).
--HG--
branch : develop
2016-08-12 17:37:09 +03:00
Roman Telezhynskyi
da4bf27c75 New test localization (checking punctuation).
--HG--
branch : develop
2016-08-12 15:21:55 +03:00
Roman Telezhynskyi
1c987b919b Use gcc’s Address Sanitizer only in Debug mode.
--HG--
branch : develop
2016-08-06 19:23:42 +03:00
Roman Telezhynskyi
305cbe8acb Fixed warning.pri for CollectionTest and TranslationsTest libraries.
--HG--
branch : develop
2016-08-06 19:18:25 +03:00
Roman Telezhynskyi
69e0ff74e6 MSVC warnings.
--HG--
branch : develop
2016-08-06 15:59:30 +03:00
Roman Telezhynskyi
483e56866d Added MSVC warnings.
--HG--
branch : develop
2016-07-29 21:04:53 +03:00
Roman Telezhynskyi
9ef1ed4e22 Collection unit tests moved to separate binary.
--HG--
branch : develop
2016-08-04 20:10:12 +03:00
Roman Telezhynskyi
8f78b31710 Translation unit tests moved to separate binary.
--HG--
branch : develop
2016-08-04 19:28:28 +03:00
Roman Telezhynskyi
ec800565d7 TST_TSTranslation refactoring. An error shouldn't stop test anymore.
--HG--
branch : develop
2016-08-03 19:56:04 +03:00
Roman Telezhynskyi
3676f8eceb Test refactoring. Each fail will not stop checking QM file anymore.
--HG--
branch : develop
2016-08-03 14:49:46 +03:00
Roman Telezhynskyi
35dee8dafb Refactoring. Treat waitForFinished more carefully. Use QScopedPointer for
pointer to QProcess.

--HG--
branch : develop
2016-07-30 18:17:43 +03:00
Roman Telezhynskyi
fa2e0b13d0 Check if QProcess::waitForFinished was called after a process was finished.
According to documentation QProcess::waitForFinished returns true if the process
finished; otherwise returns false (if the operation timed out, if an error
occurred, or if this QProcess is already finished). This last case is seems like
importnant in this case.

--HG--
branch : develop
2016-07-30 17:42:53 +03:00
Roman Telezhynskyi
bedce69143 Show file name i the error message.
--HG--
branch : develop
2016-07-28 12:44:14 +03:00
Roman Telezhynskyi
01be3c5181 Try find more about error: "Cannot open %file for input" how was suggested on
stackoverflow.

--HG--
branch : develop
2016-07-28 12:02:28 +03:00
Roman Telezhynskyi
e5cbf86ef2 Tring restore bitbucket pipeline. Fixing locale is wrong way. Try get error
sting about copying.

--HG--
branch : develop
2016-07-28 11:38:30 +03:00
Roman Telezhynskyi
b5457867e5 Try be more verbose when copy test files.
--HG--
branch : develop
2016-07-25 20:01:19 +03:00
Roman Telezhynskyi
c793f869e5 More warnings in AbstractTest::CopyRecursively. Do copy files before all test
run.

--HG--
branch : develop
2016-07-25 18:25:13 +03:00
Roman Telezhynskyi
9375e0319d As part of testing make all compiler warnings treat as errors.
Added new CONFIG option "checkWarnings".

--HG--
branch : develop
2016-07-20 15:40:33 +03:00
Roman Telezhynskyi
1bffa92127 Using QLatin1String instead of QLatin1Literal.
QLatin1Literal is just a typedef of QLatin1String lefter for compatibility with
Qt 4.x.

--HG--
branch : develop
2016-07-20 11:39:15 +03:00
Roman Telezhynskyi
8a8f63e88e Resolved issue #519. Error: Crash with Union tool.
--HG--
branch : develop
2016-06-30 16:02:59 +03:00
Valentina Zhuravska
15145fd10a Added tests for VToolLineIntersectAxis::FindPoint and VToolTriangle::FindPoint.
--HG--
branch : feature
2016-06-28 05:13:26 +03:00
Roman Telezhynskyi
7eaadf1761 Resolved issue #480. New tool: Midpoint between two points.
--HG--
branch : develop
2016-06-23 20:20:21 +03:00
Roman Telezhynskyi
c3ddf18063 Fixed broken path to vit file.
--HG--
branch : develop
2016-06-17 16:18:44 +03:00
Roman Telezhynskyi
2744f89ff3 Fix broken test.
--HG--
branch : develop
2016-06-17 16:03:52 +03:00
Roman Telezhynskyi
0be2cd2b17 Close #513. Trousers pattern.
The pattern added to collection.

--HG--
branch : develop
2016-06-17 15:54:37 +03:00
Roman Telezhynskyi
3c5d6aa500 Fixed issue #515. Seam allowance wrong way.
--HG--
branch : develop
2016-06-17 15:39:54 +03:00
Roman Telezhynskyi
972dd36fcf Redesign printing system. ref #494. Printing is not working.
Made complete redesign of printing code. Now the code check printer's dpi and
calculate  scale factor. Instead of printing with QImage buffer the code print
directly on printer. Help avoid limitations of QImage class.

Also removed menu option "Save as PDF". The option duplicate option "Export As"
and also mislead a user about purpose of option "Print preview".

--HG--
branch : develop
2016-06-15 13:55:43 +03:00
Roman Telezhynskyi
17bc0c3ff0 New test case. Male shirt.
--HG--
branch : develop
2016-06-05 16:54:39 +03:00
Valentina Zhuravska
096976b682 Better to use ifndef Q_OS_WIN.
--HG--
branch : feature
2016-06-01 21:59:34 +03:00
Valentina Zhuravska
12ae761527 Merge with develop
--HG--
branch : feature
2016-06-01 20:44:50 +03:00
Valentina Zhuravska
bcdedaf659 Fixed TST_VMeasurements tests in Windows.
--HG--
branch : feature
2016-06-01 20:14:42 +03:00
Valentina Zhuravska
8c5f14937d Fixed TST_VPoster::BigPoster test in Windows.
--HG--
branch : feature
2016-06-01 17:40:01 +03:00
Roman Telezhynskyi
ce720450f0 Fixed issue #493. Error in seam allowance drawing.
(grafted from 776b5b71c7e5aa6b9755c280f3f4e20e159c8150)

--HG--
branch : develop
2016-05-26 11:26:54 +03:00
Roman Telezhynskyi
73ad3a8376 Fixed issue with method IsPointOnLineSegment.
--HG--
branch : develop
2016-05-25 13:55:15 +03:00
Roman Telezhynskyi
b820d5a6ea Fixed issue #491. Valentina doesn't update fractional separator.
(grafted from c658843945e37cd7f1d3e4e0ca4967d7a01b1c4d)

--HG--
branch : develop
2016-05-23 18:23:39 +03:00
Valentina Zhuravska
db014092a3 Fixed TST_ValentinaCommandLine tests in Windows.
--HG--
branch : feature
2016-05-19 15:22:27 +03:00
Valentina Zhuravska
fbd5203491 Fixed TST_Misc tests in Windows.
--HG--
branch : feature
2016-05-19 14:56:35 +03:00
Roman Telezhynskyi
60ad8d2fd1 Fixed test. Wrong conversion to QPointF.
--HG--
branch : feature
2016-05-19 13:16:33 +03:00
Roman Telezhynskyi
6187f16c6a Refactoring. Use conversion operator for conversion VPointF to QPointF.
--HG--
branch : feature
2016-05-14 22:28:09 +03:00
Roman Telezhynskyi
80b415f258 Merge with develop.
--HG--
branch : feature
2016-05-12 22:52:31 +03:00