Commit Graph

2039 Commits

Author SHA1 Message Date
Thies Schröder
823090718b fix build on mac os
--HG--
branch : develop
2015-11-11 21:16:58 +01:00
Roman Telezhinskyi
ae1195df21 Merged in ValentinaZhuravska/valentina/feature (pull request #73)
Fixed problems in DialogDetail

--HG--
branch : develop
2015-11-11 21:50:54 +02:00
Valentina Zhuravska
c6577675e7 Changed some methods to be const
--HG--
branch : feature
2015-11-11 21:46:36 +02:00
Roman Telezhynskyi
67c2de94f7 Fixed infinite loop.
--HG--
branch : develop
2015-11-11 20:53:23 +02:00
Roman Telezhynskyi
22bc725230 Replace measurement "size" on equvivalent "bust_arc_f".
--HG--
branch : develop
2015-11-11 20:52:38 +02:00
Roman Telezhynskyi
4e21bf05e0 Don't show section "Size and Height".
--HG--
branch : develop
2015-11-11 20:52:25 +02:00
Valentina Zhuravska
e323afc4e6 Fixed DetailIsValid() method
--HG--
branch : feature
2015-11-11 19:38:21 +02:00
Roman Telezhynskyi
0838cf2817 Updated GOST table, removed empty measurements.
--HG--
branch : develop
2015-11-11 16:50:07 +02:00
Roman Telezhynskyi
833c507148 New measurement (N08) rise_length_side.
--HG--
branch : feature
2015-11-11 16:26:48 +02:00
Roman Telezhynskyi
fa822dda24 (N04) 'rise_length_side' renamed to 'rise_length_side_sitting'.
--HG--
branch : feature
2015-11-11 14:37:32 +02:00
Roman Telezhynskyi
e286ae8476 New measurements: (H41) neck_back_to_across_back, (H42) across_back_to_waist_b,
​(L22) arm_neck_side_to_outer_elbow, (G46) hip_circ_with_abdomen.

--HG--
branch : feature
2015-11-11 14:23:39 +02:00
Roman Telezhynskyi
0bfd673ab8 Fixed conversion measurements.
--HG--
branch : feature
2015-11-11 12:15:42 +02:00
Roman Telezhynskyi
161f1bd61c Fiexed diagram for measurements (A18) height_neck_back_to_knee and
(A20) height_waist_side_to_hip.

--HG--
branch : feature
2015-11-11 10:49:12 +02:00
Valentina Zhuravska
d27a64b819 Delete the last point from detail when the first point equals the last point
--HG--
branch : feature
2015-11-10 11:58:33 +02:00
Valentina Zhuravska
4c41e04d49 Can not add one point to detail twice
--HG--
branch : feature
2015-11-10 10:07:40 +02:00
Roman Telezhynskyi
779117a34f Fixed files without license header.
--HG--
branch : develop
2015-11-09 20:11:06 +02:00
Roman Telezhynskyi
9545db280d Test that all command line option names are unique.
--HG--
branch : develop
2015-11-09 20:02:38 +02:00
Roman Telezhynskyi
9c38e65b45 Fixed size of the "Legal" paper format.
--HG--
branch : develop
2015-11-09 17:56:54 +02:00
Roman Telezhynskyi
39f7994f1b Command line options for dealing with margins.
--HG--
branch : feature
2015-11-09 17:52:38 +02:00
Roman Telezhynskyi
01a23b5e08 Keep order of options.
--HG--
branch : feature
2015-11-09 17:23:15 +02:00
Roman Telezhynskyi
e7e177898c Each time when set paper size first try to find predefined template size. This
will help user undertand what paper size is setted now.

--HG--
branch : feature
2015-11-09 14:29:37 +02:00
Roman Telezhynskyi
9327da7a2c Calculate correct paper size. Print preview doesn't support non native
printers.

--HG--
branch : feature
2015-11-09 13:58:45 +02:00
Roman Telezhynskyi
9a865ab72d Merge with develop
--HG--
branch : feature
2015-11-09 13:36:36 +02:00
Roman Telezhynskyi
4411cccd9c First draft of the issue #313. Layout pieces too close to right edge.
--HG--
branch : feature
2015-11-09 13:33:36 +02:00
Valentina Zhuravska
bfc6a525ed Fixed print on Windows
--HG--
branch : develop
2015-11-06 17:42:52 +02:00
Roman Telezhinskyi
7eb7cddea9 Merged in ValentinaZhuravska/valentina/feature (pull request #71)
Resolved issue #397

--HG--
branch : develop
2015-11-06 16:08:41 +02:00
Valentina Zhuravska
0c23f86886 UpdateWindowTitle at the end of MeasurementsChanged method
--HG--
branch : feature
2015-11-06 16:06:32 +02:00
Valentina Zhuravska
fa032fced2 Fixed GetMeasurementFileName
--HG--
branch : feature
2015-11-06 15:52:58 +02:00
Valentina Zhuravska
76f4753773 UpdateWindowTitle in one string
--HG--
branch : feature
2015-11-06 05:31:37 +02:00
Roman Telezhynskyi
f632ef6480 New paper size template - "custom". Appers if change height or width. The
program also test each size and show appropriate template from the list.

--HG--
branch : develop
2015-11-05 20:04:09 +02:00
Roman Telezhynskyi
912d1f91f6 Disable changing window size only after first show.
--HG--
branch : develop
2015-11-05 15:01:33 +02:00
Roman Telezhynskyi
7f065cac89 GCC warnings.
--HG--
branch : develop
2015-11-05 14:32:47 +02:00
Roman Telezhynskyi
840a4a9d92 Fixed crash after language change.
--HG--
branch : develop
2015-11-05 14:06:45 +02:00
Roman Telezhynskyi
f4aabbcf06 Disable changing window size only after first.
--HG--
branch : develop
2015-11-05 13:54:15 +02:00
Roman Telezhynskyi
8b6d8aee70 Before setting a layout settings need to set units.
--HG--
branch : develop
2015-11-05 13:25:44 +02:00
Roman Telezhynskyi
2e49d1437a For avoiding losing precision use double everywhere.
--HG--
branch : develop
2015-11-05 13:07:51 +02:00
Roman Telezhynskyi
6b54c5bb7d Set default printing color mode.
Known issue: program doesn't print in grayscale color mode.

--HG--
branch : develop
2015-11-04 17:22:49 +02:00
Valentina Zhuravska
aba82baa98 Fixed issue #397. Added UpdateWindowTitle
--HG--
branch : feature
2015-11-04 07:06:44 +02:00
Roman Telezhynskyi
8d6c007217 Tooltipe for tool TrueDarts.
--HG--
branch : develop
2015-11-03 22:36:44 +02:00
Roman Telezhynskyi
a5345946bb Show more data about failed test.
--HG--
branch : develop
2015-11-03 22:28:53 +02:00
Roman Telezhynskyi
18a3a289ff New test. Each translated measurement name should be unique.
--HG--
branch : develop
2015-11-03 18:19:52 +02:00
Roman Telezhynskyi
00a4187eda Set start position for base point according to items bounding rect.
--HG--
branch : develop
2015-11-03 17:54:44 +02:00
Roman Telezhynskyi
a342948437 Improved loging. Base point's DeleteTool should ignore value "_referens".
--HG--
branch : develop
2015-11-03 17:11:35 +02:00
Roman Telezhynskyi
31ee872a1d Refactoring exceptions.
--HG--
branch : develop
2015-11-02 19:02:41 +02:00
Roman Telezhynskyi
345b0e5c7f Fixed crash after undo creating a pattern piece.
--HG--
branch : develop
2015-11-02 18:25:29 +02:00
Valentina Zhuravska
5b9914f409 Merge
--HG--
branch : feature
2015-11-02 16:30:28 +04:00
Roman Telezhynskyi
9aa8713203 Refactoring.
--HG--
branch : develop
2015-10-31 14:56:28 +02:00
Roman Telezhynskyi
f52d609b9c Refactoring. Test functions RelativeMPath and AbsoluteMPath.
--HG--
branch : develop
2015-10-31 14:41:52 +02:00
Roman Telezhynskyi
82190e2917 Refactoring. StrippedName() doesn't belong to MainWindows.
--HG--
branch : develop
2015-10-31 10:46:45 +02:00
Valentina Zhuravska
1d9af2dcc0 Resolved issue #397. Display the currently open measurement file name in the top menu of Valentina
--HG--
branch : feature
2015-10-31 05:44:21 +02:00
Roman Telezhynskyi
80ff422a39 Separate file for localization files.
--HG--
branch : develop
2015-10-30 13:05:44 +02:00
Roman Telezhynskyi
9ffeeec298 Three new languages: English (Canada), English (India), Romanian (Romania).
--HG--
branch : develop
2015-10-30 12:44:10 +02:00
Roman Telezhynskyi
cb8bc39e8c Resolved issue #380.
--HG--
branch : develop
2015-10-29 18:20:59 +02:00
Roman Telezhynskyi
c989a2b00e Try fix issue "Problem to export the pattern".
--HG--
branch : develop
2015-10-29 10:14:34 +02:00
Roman Telezhynskyi
a4bc4a75c0 Integrate QmuParserTests in main testing set.
--HG--
branch : develop
2015-10-28 19:57:34 +02:00
Roman Telezhynskyi
ba89a2856d Better don't touch stack.
--HG--
branch : develop
2015-10-28 18:37:36 +02:00
Roman Telezhynskyi
84f1c4e10f Recognize Intel compiler and return version string.
--HG--
branch : develop
2015-10-28 17:00:59 +02:00
Roman Telezhynskyi
4a0e2dee00 Optimized access to QVector.
--HG--
branch : develop
2015-10-28 16:26:58 +02:00
Roman Telezhynskyi
95ef34bf72 Removed wrong key.
--HG--
branch : develop
2015-10-28 16:24:28 +02:00
Roman Telezhynskyi
88324a11f2 Static Code Analysis.
--HG--
branch : develop
2015-10-28 16:22:36 +02:00
Roman Telezhynskyi
ff31ac889c After last redesign measurements order comments became useless.
--HG--
branch : develop
2015-10-27 08:32:34 +02:00
Roman Telezhynskyi
2b8fb91d17 Fixed missing measurement head_girth -> head_circ in conversion.
--HG--
branch : develop
2015-10-27 08:11:41 +02:00
Roman Telezhynskyi
d104b8bd7e Additionaly each standard table provide measurements size and height.
--HG--
branch : develop
2015-10-26 17:39:23 +02:00
Roman Telezhynskyi
28f5188a92 Remove minus "-" from the list of measurements.
--HG--
branch : develop
2015-10-26 16:46:07 +02:00
Roman Telezhynskyi
3558d634c0 Improved documentation.
--HG--
branch : develop
2015-10-26 16:24:17 +02:00
Roman Telezhynskyi
3282652be7 Updated standard table and template file.
--HG--
branch : develop
2015-10-26 16:23:46 +02:00
Roman Telezhynskyi
caa1a46b01 New option Measurements->Unload measurements.
--HG--
branch : develop
2015-10-26 13:21:49 +02:00
Roman Telezhynskyi
f1796eaf90 GCC warnings. Don't use PCH if use ccache.
--HG--
branch : develop
2015-10-26 12:04:20 +02:00
Roman Telezhynskyi
d1f18dc9a0 Use quint32 instead unsigned int.
--HG--
branch : develop
2015-10-26 10:36:07 +02:00
Roman Telezhynskyi
7102071b19 Test VLockGuard.
--HG--
branch : develop
2015-10-26 10:31:36 +02:00
Roman Telezhynskyi
1e99d00a54 Hide lock file.
--HG--
branch : develop
2015-10-26 09:57:20 +02:00
Roman Telezhynskyi
c6e18b8565 No need anymore run qmake twice.
--HG--
branch : develop
2015-10-25 18:09:24 +02:00
Roman Telezhynskyi
c3aba113a2 Use the -rpath linker option to set the .so search path.
--HG--
branch : develop
2015-10-24 23:06:16 +03:00
Roman Telezhynskyi
b516ceb8e1 "CONFIG += silent" doesn't work correct with msvc. Do not create target
"make distclean" with msvc.

--HG--
branch : develop
2015-10-24 14:13:59 +03:00
Roman Telezhynskyi
d6653ca9af Successful build with MSVC 2012.
--HG--
branch : develop
2015-10-23 20:47:33 +03:00
Roman Telezhynskyi
1af1283ed4 Resolved issue #396. Layout printing is incorrect size.
--HG--
branch : develop
2015-10-23 08:27:47 +03:00
Roman Telezhynskyi
bcbb7e66d2 Skip part about NSIS if was not installed.
--HG--
branch : develop
2015-10-22 17:50:42 +03:00
Roman Telezhynskyi
44edb90967 Changed version to 0.4.0b. Fixed file assosiation on Windows Vista and higher.
--HG--
branch : develop
2015-10-22 17:35:54 +03:00
Valentina Zhuravska
dd9fecb89f Added Q_CC_MSVC
--HG--
branch : feature
2015-10-22 15:16:15 +03:00
Valentina Zhuravska
36f0e1dc44 Fixed MSVC build
--HG--
branch : feature
2015-10-22 12:28:17 +03:00
Valentina Zhuravska
38541c78c9 Fixed MSVC build (C2143, missing ';' before 'type')
--HG--
branch : feature
2015-10-21 17:13:16 +03:00
Valentina Zhuravska
b877c49f61 Fixed MSVC build (access the not operator)
--HG--
branch : feature
2015-10-21 16:17:05 +03:00
Roman Telezhynskyi
a7f656a412 Alwayse deploy QM files to test directory.
--HG--
branch : develop
2015-10-21 12:35:52 +03:00
Roman Telezhynskyi
69f65cf4e7 ICC warnings.
--HG--
branch : develop
2015-10-21 10:25:27 +03:00
Roman Telezhynskyi
467ffbd132 ICC warnings.
--HG--
branch : develop
2015-10-20 17:32:01 +03:00
Roman Telezhynskyi
2be2c00521 Force qmake to update QM files.
--HG--
branch : develop
2015-10-20 08:58:17 +03:00
Roman Telezhynskyi
a21e037de8 GCC/Clang warnings.
--HG--
branch : develop
2015-10-19 23:08:20 +03:00
Roman Telezhynskyi
047f53e2ec Clang Static Analyzer warnings.
--HG--
branch : develop
2015-10-19 22:33:20 +03:00
Roman Telezhynskyi
4d90589f01 Clang warnings.
--HG--
branch : develop
2015-10-19 16:21:06 +03:00
Roman Telezhynskyi
03b6ce08cc Coverity scan.
--HG--
branch : develop
2015-10-19 09:10:39 +03:00
Roman Telezhynskyi
65d2213ef9 Coverity scan missing includes.
--HG--
branch : develop
2015-10-18 22:30:51 +03:00
Valentina Zhuravska
66a7581bbb Erased unwanted row in pathTable
--HG--
branch : feature
2015-10-18 16:25:39 +03:00
Valentina Zhuravska
9be90e75db Fixed synchronization (correct path to Valentina settings)
--HG--
branch : feature
2015-10-18 16:17:56 +03:00
Valentina Zhuravska
251cd94407 Fixed synchronization (correct path to Valentina settings)
--HG--
branch : feature
2015-10-18 16:13:51 +03:00
Valentina Zhuravska
fd12524011 Fixed synchronization
--HG--
branch : feature
2015-10-18 15:38:05 +03:00
Valentina Zhuravska
d146d381e8 Save valentina.exe Path Preferences to a file accessible by tape.exe without commonSettings
--HG--
branch : feature
2015-10-18 14:51:14 +03:00
Valentina Zhuravska
e16943cfa2 Resolved issue #388. Add field for measurement template directory in Valentina.exe, 'File', 'Preferences', 'Paths'
--HG--
branch : feature
2015-10-18 13:01:38 +03:00
Valentina Zhuravska
de12c77aa4 Resolved issue #354. Save valentina.exe Path Preferences to a file accessible by tape.exe
--HG--
branch : feature
2015-10-18 12:56:47 +03:00
Roman Telezhynskyi
0862ce75cc Fixed Windows build.
--HG--
branch : develop
2015-10-18 10:50:33 +03:00
Roman Telezhynskyi
6ee987947c Tests that helps to check that all current pattern making systems match pattern
inside XSD scheme.

--HG--
branch : develop
2015-10-17 11:32:54 +03:00
Roman Telezhynskyi
a6dedb814a We can't use tr() macros, but macros translate() need context in the first
parameter.

--HG--
branch : develop
2015-10-16 23:00:05 +03:00
Roman Telezhynskyi
ff768c1c0f Show pattern making system in tab Information of a measurement file.
--HG--
branch : develop
2015-10-16 20:26:05 +03:00
Roman Telezhynskyi
37f11e732d Check that $TOK$ and $POS$ there are in translated strings.
--HG--
branch : develop
2015-10-16 14:55:23 +03:00
Roman Telezhynskyi
93d63ef8ca Two new tests. Check if empty standard/individual measurement file is valid.
--HG--
branch : develop
2015-10-16 11:13:23 +03:00
Roman Telezhynskyi
3358f9dbc7 Resolved issue #382. Add 'Create from existing file' option in Tape,
Create/Edit.

--HG--
branch : develop
2015-10-15 15:37:10 +03:00
Roman Telezhynskyi
1e05300ae1 Add method for check that formula contain inside only single value.
--HG--
branch : develop
2015-10-15 13:41:42 +03:00
Roman Telezhynskyi
5cd9a88761 Making class Calculator independent from class VContainer.
--HG--
branch : develop
2015-10-15 13:07:43 +03:00
Roman Telezhynskyi
4fbae45406 Return list of all variables.
--HG--
branch : develop
2015-10-15 12:49:15 +03:00
Roman Telezhynskyi
bdb3bf9050 Fixed height formula field.
--HG--
branch : develop
2015-10-15 12:39:09 +03:00
Roman Telezhynskyi
8066d880c9 Lupdate. Fixed lupdate warnings.
--HG--
branch : develop
2015-10-15 12:32:50 +03:00
Roman Telezhynskyi
6006bca7ba Birth date can't be empty.
--HG--
branch : develop
2015-10-15 08:04:23 +03:00
Roman Telezhynskyi
ba9407bcb5 Curl.exe is part of crash report tools.
--HG--
branch : develop
2015-10-14 16:21:23 +03:00
Roman Telezhynskyi
3c949e5cc5 First template with all measurements.
--HG--
branch : develop
2015-10-14 16:03:36 +03:00
Roman Telezhynskyi
7cd6f7eb44 Updated standard table.
--HG--
branch : develop
2015-10-14 15:34:33 +03:00
Roman Telezhynskyi
8388529ad6 Forgot to set aliases.
--HG--
branch : develop
2015-10-14 14:39:44 +03:00
Roman Telezhynskyi
8c7c7a9550 CONFIG+=noCrashReports.
--HG--
branch : develop
2015-10-14 14:12:38 +03:00
Roman Telezhynskyi
fa7cb935cb Tape's logo on macx.
--HG--
branch : develop
2015-10-14 13:56:53 +03:00
Roman Telezhynskyi
6bdd2c808e Missed icons.
--HG--
branch : develop
2015-10-14 13:49:20 +03:00
Roman Telezhynskyi
f0d87ef440 Prerape Windows installer.
--HG--
branch : develop
2015-10-14 13:06:50 +03:00
Roman Telezhynskyi
9a4b9ad106 Remove lock from template.
--HG--
branch : develop
2015-10-13 16:45:03 +03:00
Roman Telezhynskyi
6ec1826fbd Popup calendar.
--HG--
branch : develop
2015-10-13 16:38:07 +03:00
Roman Telezhynskyi
c9ff24dd79 Resolved issue #378. Change 'sex' field name to 'gender'.
--HG--
branch : develop
2015-10-13 11:13:43 +03:00
Roman Telezhynskyi
1ba9855d22 Resolved issue #377. Add blank option for 'sex' field in Tape.exe.
--HG--
branch : develop
2015-10-12 20:06:12 +03:00
Roman Telezhynskyi
68eb410082 Updated portuguese alphabet.
--HG--
branch : develop
2015-10-12 18:28:38 +03:00
Roman Telezhynskyi
b14f1db74d lupdate. Several tooltipes.
--HG--
branch : develop
2015-10-12 18:16:12 +03:00
Roman Telezhynskyi
1989c0289e Resolved issue #384. Change tooltip for Tape.exe, 'Add Known', f(x) button.
--HG--
branch : develop
2015-10-12 18:10:31 +03:00
Roman Telezhynskyi
90a3400efc Resolved issue #374. Change tooltip for Tape.exe, 'Add Known', 'Delete' [-]
button.

--HG--
branch : develop
2015-10-12 18:08:25 +03:00
Roman Telezhynskyi
d1b6c90a01 Resolved issue #375. Improve cursor placement after deleting a measurement in
Tape.exe.

--HG--
branch : develop
2015-10-12 18:05:53 +03:00
Roman Telezhynskyi
3b4c4e8261 Resolved issue #376. Add buttons in Tape.exe to move measurement to top or
bottom of list.

--HG--
branch : develop
2015-10-12 17:57:11 +03:00
Roman Telezhynskyi
c2e563a65c variable scope.
--HG--
branch : develop
2015-10-12 16:26:42 +03:00
Roman Telezhynskyi
86982d3d0a Localize parser error messages.
--HG--
branch : develop
2015-10-12 15:25:44 +03:00
Roman Telezhynskyi
be398bae93 cppcheck.
--HG--
branch : develop
2015-10-12 14:52:48 +03:00
Roman Telezhynskyi
8b6dbc0463 Fixed Issue #372 (bug when running Valentina from commandline).
--HG--
branch : develop
2015-10-12 10:38:48 +03:00
Valentina Zhuravska
fc39c52b79 Fixed Issue #372 (bug when running Valentina from commandline)
--HG--
branch : develop
2015-10-12 06:28:17 +03:00
Roman Telezhynskyi
7ef6cfa660 Typo. Lupdate.
--HG--
branch : develop
2015-10-11 22:14:19 +03:00
Roman Telezhynskyi
aa0042cc60 Typo. Lupdate.
--HG--
branch : develop
2015-10-11 22:07:51 +03:00
Roman Telezhynskyi
14f1b84bc3 Typo.
--HG--
branch : develop
2015-10-11 21:42:13 +03:00
Roman Telezhynskyi
47b2d03304 "make install" on Windows supports only MinGW.
--HG--
branch : develop
2015-10-11 20:30:16 +03:00
Roman Telezhynskyi
97fdd161b7 Optimization copying files.
--HG--
branch : develop
2015-10-11 20:27:47 +03:00
Roman Telezhynskyi
2c042b82ae stable.cpp only need by MSVC.
--HG--
branch : develop
2015-10-11 13:15:08 +03:00
Roman Telezhynskyi
9e69b03a1b Merge
--HG--
branch : develop
2015-10-11 12:06:31 +03:00
Roman Telezhynskyi
a4b2bb905f Fixed crash on Windows.
--HG--
branch : develop
2015-10-11 12:06:14 +03:00
Valentina Zhuravska
2fe176c40d Fixed pdftops error in Windows
--HG--
branch : develop
2015-10-11 00:25:46 +03:00
Valentina Zhuravska
b46e384ca7 Fixed warnings in Windows
--HG--
branch : develop
2015-10-10 04:49:10 +03:00
Roman Telezhynskyi
b3a7063a9b GCC warnings.
--HG--
branch : develop
2015-10-09 20:26:53 +03:00
Roman Telezhynskyi
c1976401a0 Use CONFIG += silent in release mode.
--HG--
branch : develop
2015-10-09 20:22:49 +03:00
Roman Telezhynskyi
c92699abf3 Fixed build problem on Win.
--HG--
branch : develop
2015-10-09 19:52:56 +03:00
Valentina Zhuravska
9873df47ae Merged dismine/valentina into develop
--HG--
branch : develop
2015-10-09 14:19:00 +03:00
Valentina Zhuravska
a233923587 Fixed build problem on Win
--HG--
branch : develop
2015-10-09 14:17:24 +03:00
Roman Telezhynskyi
aeb0140688 Fix for build on drone.io.
--HG--
branch : develop
2015-10-09 13:16:37 +03:00