Commit Graph

223 Commits

Author SHA1 Message Date
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
c989a2b00e Try fix issue "Problem to export the pattern".
--HG--
branch : develop
2015-10-29 10:14:34 +02:00
Roman Telezhynskyi
88324a11f2 Static Code Analysis.
--HG--
branch : develop
2015-10-28 16:22:36 +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
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
d1f18dc9a0 Use quint32 instead unsigned int.
--HG--
branch : develop
2015-10-26 10:36:07 +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
Roman Telezhynskyi
a7f656a412 Alwayse deploy QM files to test directory.
--HG--
branch : develop
2015-10-21 12:35:52 +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
4d90589f01 Clang warnings.
--HG--
branch : develop
2015-10-19 16:21:06 +03:00
Roman Telezhynskyi
65d2213ef9 Coverity scan missing includes.
--HG--
branch : develop
2015-10-18 22:30:51 +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
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
37f11e732d Check that $TOK$ and $POS$ there are in translated strings.
--HG--
branch : develop
2015-10-16 14:55:23 +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
8066d880c9 Lupdate. Fixed lupdate warnings.
--HG--
branch : develop
2015-10-15 12:32:50 +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
8c7c7a9550 CONFIG+=noCrashReports.
--HG--
branch : develop
2015-10-14 14:12:38 +03:00
Roman Telezhynskyi
f0d87ef440 Prerape Windows installer.
--HG--
branch : develop
2015-10-14 13:06:50 +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
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
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
Roman Telezhynskyi
aeb0140688 Fix for build on drone.io.
--HG--
branch : develop
2015-10-09 13:16:37 +03:00
Roman Telezhynskyi
e6e8a7ff6d Fix for build on drone.io.
--HG--
branch : develop
2015-10-09 12:50:37 +03:00
Roman Telezhynskyi
894444297b Fix for build on drone.io.
--HG--
branch : develop
2015-10-08 21:33:43 +03:00
Roman Telezhynskyi
026804bc37 Fix for build on drone.io.
--HG--
branch : develop
2015-10-08 21:11:50 +03:00
Roman Telezhynskyi
64e07c405a Fix for build on drone.io.
--HG--
branch : develop
2015-10-08 20:45:26 +03:00
Roman Telezhynskyi
7676959bdb Fix for build on drone.io.
--HG--
branch : develop
2015-10-08 20:07:48 +03:00
Roman Telezhynskyi
d7e9f8cb8b Refactoring.
--HG--
branch : develop
2015-10-08 09:49:20 +03:00
Roman Telezhynskyi
7ed0f2760b Don't ignore broken xml data.
--HG--
branch : develop
2015-10-08 09:43:29 +03:00
Roman Telezhynskyi
a43e852977 Show error message if got unknown object type.
--HG--
branch : develop
2015-10-08 09:30:26 +03:00
Roman Telezhynskyi
003849649f New test case. Wrong object type.
--HG--
branch : develop
2015-10-07 21:50:40 +03:00
Roman Telezhynskyi
94f86f136e New pattern making system 'None' with code p998.
--HG--
branch : develop
2015-10-07 20:57:18 +03:00
Roman Telezhynskyi
4d21fa8a5b Code style.
--HG--
branch : develop
2015-10-07 19:36:41 +03:00
Roman Telezhynskyi
defbdb8e9c New keys "gsize" and "gheight".
--HG--
branch : develop
2015-10-07 18:28:51 +03:00
Roman Telezhynskyi
afce2cb0ba Correct update measurements.
--HG--
branch : develop
2015-10-07 16:58:00 +03:00
Roman Telezhynskyi
8aea332cda Remember cursor position and return focus to the formula field.
--HG--
branch : develop
2015-10-05 17:12:36 +03:00
Roman Telezhynskyi
55421d196b Correct maximum size formula field.
--HG--
branch : develop
2015-10-05 17:07:53 +03:00
Roman Telezhynskyi
67240af260 Changes in command line options. New key "basename" and "destination".
--HG--
branch : develop
2015-10-05 16:08:26 +03:00
Roman Telezhynskyi
7eff8e8b9c Immediately exit in console mode.
--HG--
branch : develop
2015-10-05 12:56:43 +03:00
Roman Telezhynskyi
bd2e1063e3 Return empty string if relative path to measurements is empty.
--HG--
branch : develop
2015-10-05 11:58:54 +03:00
Roman Telezhynskyi
852bd63fe1 Class for testing run valentina.exe.
--HG--
branch : develop
2015-10-04 15:20:12 +03:00
Roman Telezhynskyi
f310c6a479 Test mode for Valentina.exe.
--HG--
branch : develop
2015-10-03 20:27:27 +03:00
Roman Telezhynskyi
7a95b52cd0 Enable debug information Valentina and Tape from one place.
--HG--
branch : develop
2015-10-03 17:03:25 +03:00
Roman Telezhynskyi
ed156d3d57 Testing Tape.exe. More test cases.
--HG--
branch : develop
2015-10-03 14:09:06 +03:00
Valentina Zhuravska
29cd62e5ef Fixed windows build (erased unwanted bracket)
--HG--
branch : develop
2015-10-03 07:50:38 +03:00
Roman Telezhynskyi
b5000e5fae Make variable const.
--HG--
branch : develop
2015-10-03 01:44:44 +03:00
Roman Telezhynskyi
06a54ba40c Use qUtf8Printable.
--HG--
branch : develop
2015-10-01 18:34:03 +03:00
Roman Telezhynskyi
0b57b8821a Show error message box only through message handler.
--HG--
branch : develop
2015-10-01 17:59:01 +03:00
Roman Telezhynskyi
2113f6e7d4 Fixed issue #383. Crash on running Valentina after build.
--HG--
branch : develop
2015-09-29 20:12:23 +03:00
Roman Telezhynskyi
31af1687a6 Improve handling error messages in console mode.
--HG--
branch : develop
2015-09-28 21:54:41 +03:00
Roman Telezhynskyi
77dd8f0c77 by default for console version use system locale.
--HG--
branch : develop
2015-09-28 18:34:29 +03:00
Roman Telezhynskyi
25561858f0 Check known names after conversion.
--HG--
branch : develop
2015-09-25 13:45:58 +03:00
Roman Telezhynskyi
6bbb0c531f Remove the file individual.vit.
--HG--
branch : develop
2015-09-23 17:38:46 +03:00
Roman Telezhynskyi
640202da5f Pass correct path to measurements in a pattern file.
--HG--
branch : develop
2015-09-23 13:11:19 +03:00
Roman Telezhynskyi
d90d24ca61 Check if all defined known measurements in a file are valid.
--HG--
branch : develop
2015-09-22 17:41:05 +03:00
Roman Telezhynskyi
c01bc165db Fix memory leaks.
--HG--
branch : develop
2015-09-22 16:30:06 +03:00
Roman Telezhynskyi
2107a2205a Remove NORET_ATTR.
--HG--
branch : develop
2015-09-22 16:20:19 +03:00
Roman Telezhynskyi
305818bd8e Merge
--HG--
branch : develop
2015-09-20 13:12:15 +03:00
Roman Telezhynskyi
b5c6bf8260 Command option for setting a locale.
--HG--
branch : develop
2015-09-19 22:58:32 +03:00
Valentina Zhuravska
77cbcd673e Fixed wrong string in vapplication.cpp
--HG--
branch : develop
2015-09-19 21:02:10 +03:00
Valentina Zhuravska
4423d6b937 Fixed build problem on Windows
--HG--
branch : develop
2015-09-18 23:38:11 +03:00
Roman Telezhynskyi
643b84e159 Fixed build error. Fixed GCC warnings.
--HG--
branch : develop
2015-09-18 18:35:26 +03:00
Valentina Zhuravska
2bfd22c02c Merge
--HG--
branch : develop
2015-09-18 16:41:09 +03:00
Valentina Zhuravska
e3a049715d Replaced pointers by QPointers
--HG--
branch : develop
2015-09-17 23:46:45 +03:00
Roman Telezhynskyi
ec31f7268d Test original and translated measurement names.
--HG--
branch : develop
2015-09-17 21:44:15 +03:00
Valentina Zhuravska
07f928cba7 Fixed memory leaks for labels
--HG--
branch : develop
2015-09-17 03:46:05 +03:00
Valentina Zhuravska
4100b0f9b1 Fixed memory allocation for mouseCoordinate
--HG--
branch : develop
2015-09-16 20:38:54 +03:00
Valentina Zhuravska
6bba2e435b Fixed memory leaks
--HG--
branch : develop
2015-09-16 19:37:33 +03:00
Roman Telezhynskyi
826aac16d3 Run sending a crash report "silently".
--HG--
branch : develop
2015-09-16 16:47:32 +03:00
Sergey Alyoshin
0dc78c818c Internationalize coordinates format in status line
--HG--
branch : develop
2015-09-16 15:51:24 +03:00
Roman Telezhynskyi
54b3f642f3 Relock a pattern file after SaveAs.
--HG--
branch : develop
2015-09-16 14:29:01 +03:00
Roman Telezhynskyi
f2a111f0d2 Show popup message "Measurements was updated". Fixed path to measurements when
sync.

--HG--
branch : develop
2015-09-16 11:03:15 +03:00
Roman Telezhynskyi
cf0d1981ca Moved lock-guarding abilities to separated template class.
Changed application/mainwindow to use it. Most likelly mainwindow may be
upgraded more, since lock can hold and manage memory for complex object
like QFile, also it can have stored deallocator for the object
(lambdas), so this is effectively should simple code, when you have
allocation and freening resources declared on the same screen.

--HG--
branch : develop
2015-09-14 14:53:49 +03:00
Roman Telezhynskyi
1e806ccc08 New contributors.
--HG--
branch : develop
2015-09-14 10:38:04 +03:00