Commit Graph

2346 Commits

Author SHA1 Message Date
dismine
8bbfacabb4 Since Qt 5.4.0 the source code location is recorded only in debug builds.
We need this information also in release builds. For this need define
QT_MESSAGELOGCONTEXT.

--HG--
branch : develop
2014-12-31 13:25:22 +02:00
dismine
4e6b5a8f24 Return support for pattern format version 0.1.0.
--HG--
branch : develop
2014-12-27 13:15:34 +02:00
dismine
955b0148e9 Disable SCASSERT function if debugging is not set.
--HG--
branch : develop
2014-12-24 11:54:56 +02:00
dismine
a706f2fb58 Set to prefix (/usr) if library prefix (/usr/lib) is empty and not just to
default prefix.

--HG--
branch : develop
2014-12-23 00:13:25 +02:00
dismine
5d12cf5e99 Coverity Scan warnings.
--HG--
branch : develop
2014-12-21 22:33:31 +02:00
dismine
d8dfa651ff Cppcheck warnings.
--HG--
branch : develop
2014-12-21 13:35:12 +02:00
dismine
bd6cf95340 GCC warnings.
--HG--
branch : develop
2014-12-21 12:56:31 +02:00
dismine
f62b78bd9b Compile debug build with gcc's Address Sanitizer.
--HG--
branch : develop
2014-12-20 20:18:00 +02:00
dismine
dfd1b35562 Windows build.
--HG--
branch : develop
2014-12-18 13:34:32 +02:00
dismine
d6c78ca1a1 All points in detail should go clockwise. This mean in some cases need reverse
curves that go anticlockwise. Old method reversing curves doesn't work
correct in all cases. I don't see now way automatically handle this. That's
why now user can choose himself need reverse points for this curve or not.

Also this mean increment in format version to 0.1.2.

--HG--
branch : feature
2014-12-17 14:56:14 +02:00
dismine
ad96323e29 Preparation for new changes in pattern format.
--HG--
branch : feature
2014-12-16 09:42:24 +02:00
dismine
30d1fad26f Static library for export a layout to Wavefront OBJ file.
--HG--
branch : develop
2014-12-12 16:08:31 +02:00
dismine
dd0d3faae6 Rules for creation version.
--HG--
branch : develop
2014-12-12 11:47:12 +02:00
dismine
1d1b3e3670 Method Convert.
--HG--
branch : feature
2014-12-11 22:54:33 +02:00
dismine
1d9fd7109d Validate file by using xsd schema for this version.
--HG--
branch : feature
2014-12-11 22:19:17 +02:00
dismine
941b43b5b5 Path to file version sxd schema.
--HG--
branch : feature
2014-12-11 22:16:03 +02:00
dismine
1c4af06343 Check version number.
--HG--
branch : feature
2014-12-11 21:44:48 +02:00
dismine
fb8849f798 Convert version string to number.
--HG--
branch : feature
2014-12-11 20:40:26 +02:00
dismine
71f070a509 Validation version.
--HG--
branch : feature
2014-12-11 18:14:02 +02:00
dismine
51b89a5497 Get version information.
--HG--
branch : feature
2014-12-11 17:51:24 +02:00
dismine
fb405d5754 Move XSD files to library.
--HG--
branch : feature
2014-12-11 17:12:16 +02:00
dismine
21d1a781fd Converter inherits class VDomDocument.
--HG--
branch : feature
2014-12-10 20:33:20 +02:00
dismine
394d54e9c1 Convertor need throw exceptions.
--HG--
branch : feature
2014-12-10 20:01:33 +02:00
dismine
c97668d3d3 Initial commit for new static library IFC (internal format converter).
--HG--
branch : feature
2014-12-10 19:18:22 +02:00
dismine
2ccb7ca797 First attempt fix issue #197.
--HG--
branch : develop
2014-12-07 13:31:34 +02:00
dismine
daaece92c9 Updated translations. From now one strings for translation also available for
whole project: binary and libraries.

--HG--
branch : develop
2014-12-05 14:00:18 +02:00
dismine
44ce1b4e83 Mark that we made some little changes and added class QmuTranslation.
--HG--
branch : develop
2014-12-04 19:57:22 +02:00
dismine
91bc32b71f Use little trick for translation error strings from math parser.
--HG--
branch : develop
2014-12-04 19:28:47 +02:00
dismine
2aaf530e85 Translation will not work for class that inherits VProperty if class doesn't
containe macross Q_OBJECT.

--HG--
branch : develop
2014-12-04 13:34:48 +02:00
dismine
7e86dcc97f One TS file for whole project.
Main reason make posible translate strings from qmuparser library.

--HG--
branch : develop
2014-12-03 16:11:57 +02:00
dismine
013a8d7cfd Broken make install path for library if prefix doesn't default.
--HG--
branch : develop
2014-11-21 14:01:35 +02:00
dismine
163295f0f5 Broken 'sudo make install' on Linux.
--HG--
branch : develop
2014-11-20 22:13:05 +02:00
dismine
c05480b7c4 Do not hide debug messages in release mode.
--HG--
branch : develop
2014-11-20 14:30:57 +02:00
dismine
1f0521ea30 Catch exceptions on Winows if using Mingw compiler.
--HG--
branch : develop
2014-11-13 14:14:00 +02:00
dismine
e1ff009771 Check if stack is empty like in origin muparser.
--HG--
branch : develop
2014-11-09 16:28:44 +02:00
dismine
ebfe0b4fc3 Comments in qmake scripts. Broken installation on macx.
--HG--
branch : develop
2014-10-27 16:29:31 +02:00
dismine
d2f0fb993b Use postfix .txt for text files, usefull for Windows systems.
--HG--
branch : develop
2014-10-25 14:06:30 +03:00
dismine
2bd82fa340 Refactoring. Do not use QStringLiteral for empty strings.
--HG--
branch : develop
2014-10-24 17:27:41 +03:00
MitSchoko
e9124f4f71 added include to avoid compile error on ubuntu
--HG--
branch : develop
2014-10-23 20:03:42 +02:00
dismine
c717196199 GCC warnings. Fixed bug with string concatenation in MSVC.
--HG--
branch : develop
2014-10-18 13:51:40 +02:00
dismine
a06a162100 Support build with MSVC.
--HG--
branch : develop
2014-10-17 22:26:30 +02:00
dismine
72f66ceca3 Path to Qt headers.
--HG--
branch : develop
2014-10-16 16:55:02 +03:00
dismine
0a7c8b17d4 Correct paths for make install.
--HG--
branch : develop
2014-10-15 20:57:50 +03:00
dismine
7960b6e00e Soft prefix.
--HG--
branch : develop
2014-10-15 19:56:14 +03:00
dismine
a2e839532b Disable compile with debug information on mac.
--HG--
branch : develop
2014-10-06 00:07:20 +03:00
dismine
ee26922f94 Add '-x' to strip when stripping dynamic libraries on OS X.
--HG--
branch : develop
2014-10-05 23:11:00 +03:00
dismine
1f2439ef65 Strip on Mac.
--HG--
branch : develop
2014-10-05 22:43:31 +03:00
dismine
8561b3bc32 Path to target for gobjcopy on Mac.
--HG--
branch : develop
2014-10-05 22:22:41 +03:00
dismine
8e2f8f67eb Fix for build on Mac.
--HG--
branch : develop
2014-10-04 22:23:37 +03:00
dismine
d066c6ed84 Use gobjcopy on mac.
--HG--
branch : develop
2014-10-04 09:55:52 +03:00
dismine
7aa9c0464e Disable precompiled headers for clang in linux.
--HG--
branch : develop
2014-10-04 09:31:34 +03:00
dismine
73655bf6a8 Don't need to cast variable.
--HG--
branch : develop
2014-10-03 19:23:26 +03:00
dismine
01e37bf4bf Clang warnings.
--HG--
branch : develop
2014-10-03 14:40:39 +03:00
dismine
ea9ba2a11a Building with Clang.
--HG--
branch : develop
2014-10-03 13:32:12 +03:00
dismine
7e6cfe9f70 Change build dependence to Qt 5.0.2.
--HG--
branch : develop
2014-09-25 18:44:06 +03:00
dismine
acc65ed3be Fixed problem building on Windows 7.
--HG--
branch : develop
2014-09-24 22:54:53 +03:00
dismine
8570a797e6 Compile with debug information in release mode.
--HG--
branch : develop
2014-09-24 20:51:06 +03:00
dismine
daf4e4562a qmake use -O2 optimization by default in release mode.
--HG--
branch : develop
2014-09-20 19:18:41 +03:00
dismine
a8bb3e8161 GCC warnings.
--HG--
branch : develop
2014-09-20 19:05:21 +03:00
dismine
cbd432075f Fix for build on Windows.
--HG--
branch : develop
2014-09-20 18:19:38 +03:00
dismine
b3d53e5a0b Cppcheck warnings.
--HG--
branch : develop
2014-09-20 18:18:15 +03:00
dismine
4127e3ec16 GCC warnings.
--HG--
branch : develop
2014-09-14 12:16:59 +03:00
dismine
2940c131bc Coverity warnings.
--HG--
branch : develop
2014-09-13 23:42:58 +03:00
dismine
14423990dc Coverity warnings.
--HG--
branch : develop
2014-09-13 21:14:14 +03:00
dismine
1964b15704 Cppcheck warnings.
--HG--
branch : develop
2014-09-11 20:15:07 +03:00
dismine
2766628037 Clang warnings.
--HG--
branch : develop
2014-09-11 19:52:02 +03:00
dismine
e4bf36e68e GCC warnings.
--HG--
branch : develop
2014-09-11 17:15:49 +03:00
dismine
1d4f0a6a55 Vera++.
--HG--
branch : develop
2014-09-10 20:57:08 +03:00
dismine
9a735b29bf Unix Line Endings.
--HG--
branch : develop
2014-09-10 18:27:45 +03:00
dismine
bfd2faae1f License for library VPropertyExplorer.
--HG--
branch : develop
2014-09-10 18:09:59 +03:00
dismine
f59009c5fc Show lite tool options in options browser.
--HG--
branch : feature
2014-09-03 14:10:51 +03:00
dismine
a251c9e378 Fix clone property and commit data for "simple" property type.
--HG--
branch : feature
2014-08-29 17:29:24 +03:00
dismine
44d1465881 Disable multiple subexpression mode. One expresiion per time.
--HG--
branch : feature
2014-08-29 16:42:53 +03:00
dismine
2b83e18773 New property formula.
--HG--
branch : feature
2014-08-29 12:19:11 +03:00
dismine
a9667aac09 New property list of objects (points, arcs, curves).
--HG--
branch : feature
2014-08-28 14:05:58 +03:00
dismine
a8a99febf4 Fix calling multiple time slot VPropertyFormView::dataSubmitted.
--HG--
branch : feature
2014-08-28 11:17:36 +03:00
dismine
c48c627682 New property for point type.
--HG--
branch : feature
2014-08-27 15:39:54 +03:00
dismine
0d0bcb9005 New property for string type.
--HG--
branch : feature
2014-08-27 13:42:54 +03:00
dismine
670e185465 Don't need delete properties in method itemClicked.
--HG--
branch : feature
2014-08-26 23:04:01 +03:00
dismine
70a17f118e Update options after move.
--HG--
branch : feature
2014-08-26 22:34:27 +03:00
dismine
bdfd292386 First build.
--HG--
branch : feature
2014-08-26 21:31:28 +03:00
dismine
8343f20998 Prepare to build.
--HG--
branch : feature
2014-08-26 20:23:08 +03:00
dismine
3ccd408718 New library VPropertyExplorer.
--HG--
branch : feature
2014-08-26 18:06:14 +03:00
dismine
8570c32774 Math parser test doesn't show result in release mode.
--HG--
branch : develop
2014-07-30 12:22:54 +03:00
dismine
13d369f560 Check for self-assignment, by comparing the pointers.
--HG--
branch : develop
2014-07-27 15:30:28 +03:00
dismine
7d34444398 No need create make install target for library.
--HG--
branch : develop
2014-07-04 16:11:18 +03:00
dismine
99e80daee3 Changes for building single deb package.
--HG--
branch : develop
2014-06-30 17:20:49 +03:00
dismine
57227729b8 Wrong target for make instal QmuParser.
--HG--
branch : develop
2014-06-27 09:28:28 +03:00
dismine
186b427750 Try avoid redefining LOC_REV.
--HG--
branch : develop
2014-06-26 20:50:37 +03:00
dismine
db9b526390 Change for new deb package.
--HG--
branch : develop
2014-06-26 14:42:58 +03:00
dismine
e01b8b2164 Refactoring. Delete repetitive code.
--HG--
branch : feature
2014-06-18 19:17:18 +03:00
dismine
95422546b6 Refactoring. Delete repetitive code.
--HG--
branch : feature
2014-06-18 16:07:12 +03:00
dismine
ec44c57c34 Refactoring. Delete repetitive code.
--HG--
branch : feature
2014-06-18 15:58:57 +03:00
dismine
3b36cd8af4 Refactoring. Delete repetitive code.
--HG--
branch : feature
2014-06-18 15:13:55 +03:00
dismine
1a25b82019 Refactoring. Delete repetitive code.
--HG--
branch : feature
2014-06-18 14:52:53 +03:00
dismine
0659be3375 Refactoring.
--HG--
branch : feature
2014-06-18 14:10:26 +03:00
dismine
c3355e37e4 Includes for Coverity Scan, again.
--HG--
branch : develop
2014-06-17 12:50:11 +03:00
dismine
507ccd686e Vera++.
--HG--
branch : develop
2014-06-16 20:18:36 +03:00
dismine
8ca765b14e Merge with develop
--HG--
branch : feature
2014-06-10 14:53:40 +03:00
dismine
695b357c4a Merge with DialogTools
--HG--
branch : develop
2014-06-10 12:05:21 +03:00
dismine
7e3dc203dc Use forward declaration.
--HG--
branch : feature
2014-06-08 21:10:57 +03:00
dismine
b6311abe02 Merge with XML Editor.
--HG--
branch : develop
2014-06-05 10:30:19 +03:00
dismine
a4083afc77 Clang's warnings.
--HG--
branch : develop
2014-06-04 14:16:16 +03:00
dismine
a40099da1f Backport changeset 8a2e2ab97237.
--HG--
branch : develop
2014-06-03 15:15:17 +03:00
dismine
543758a80c Move documantation to cpp file.
--HG--
branch : develop
2014-06-02 17:28:02 +03:00
dismine
a6ffb16054 Clang's warnings.
--HG--
branch : develop
2014-06-02 10:43:27 +03:00
dismine
8e912f5245 Clang's warnings.
--HG--
branch : develop
2014-06-01 11:32:39 +03:00
dismine
19c6386973 Build with Clang.
--HG--
branch : develop
2014-05-31 17:33:37 +03:00
dismine
42091c2611 Build doesn't work, if include this headers on Windows.
--HG--
branch : DialogTools
2014-05-31 13:00:19 +04:00
dismine
98c90ee5fe Use native QString method for replacing strings. Fix bug with InitOkCancel
method. Still continue crash.

--HG--
branch : DialogTools
2014-05-30 22:03:17 +03:00
dismine
dce41a864f The C++11 initializer list feature.
--HG--
branch : feature
2014-05-30 12:52:19 +03:00
dismine
381adf0ba0 Dialog edit wrong formula (only for toolendline now).
--HG--
branch : feature
2014-05-30 11:32:40 +03:00
dismine
1fd6464884 New command line parser. New Qt requirements. Fix issue with build project.
--HG--
branch : develop
2014-05-29 10:08:54 +03:00
dismine
ccde48e3bf Factory function for creating new parser variables. New methods what return
tokens and numbers.

--HG--
branch : feature
2014-05-22 15:11:14 +03:00
dismine
5adc0555ef Save all variable in dynamic array.
--HG--
branch : feature
2014-05-21 16:51:47 +03:00
dismine
bd5fda320f Use new math parser instead old.
--HG--
branch : feature
2014-05-21 11:51:16 +03:00
dismine
0b16424a5e Update for Precompiled Headers in Qt.
--HG--
branch : feature
2014-05-20 16:02:05 +03:00
dismine
b28bd29092 Vera++.
--HG--
branch : XML Editor
2014-05-16 20:00:13 +03:00
dismine
e95b886eb4 Change in dialog individual measurements.
--HG--
branch : feature
2014-05-15 12:29:12 +03:00
dismine
f17a12d147 Cppcheck.
--HG--
branch : develop
2014-05-11 21:15:32 +03:00
dismine
1c96269f90 Mark methods nothrow - Q_DECL_NOEXCEPT.
--HG--
branch : develop
2014-05-07 11:33:56 +03:00
dismine
6a8869bc1b Made possible methods include.
--HG--
branch : develop
2014-05-06 17:36:42 +03:00
dismine
f93cd5703c Script for generation documentations.
--HG--
branch : feature
2014-05-06 15:07:52 +03:00
dismine
707598691d Changes in doxyfiles.
--HG--
branch : feature
2014-05-06 14:36:30 +03:00
dismine
2e6cc94e19 delete Q_UNREACHABLE().
--HG--
branch : feature
2014-05-06 13:51:14 +03:00
dismine
3c8338faae Use nullptr instead NULL.
--HG--
branch : feature
2014-05-06 12:48:48 +03:00
dismine
d65368bafb Tests passed.
--HG--
branch : feature
2014-05-06 12:45:21 +03:00
dismine
60ba211f2a Porting new change from muparser.
--HG--
branch : feature
2014-05-05 10:29:14 +03:00
dismine
9ca9455c80 For nothrow methods set Q_DECL_NOEXCEPT.
--HG--
branch : feature
2014-05-02 11:43:02 +03:00
dismine
79ef0e914e CppCheck.
--HG--
branch : feature
2014-05-02 11:09:10 +03:00
dismine
362638066a Vera++.
--HG--
branch : feature
2014-05-01 14:33:40 +03:00
dismine
37ecf9fd86 Fix gcc's warnings.
--HG--
branch : feature
2014-05-01 12:55:23 +03:00
dismine
f505234bbd My surname like in my passport.
--HG--
branch : feature
2014-04-30 08:38:52 +03:00
dismine
2c77a73343 Apply project code style.
--HG--
branch : feature
2014-04-30 08:32:29 +03:00
dismine
0b49785255 First success build after all changes.
--HG--
branch : feature
2014-04-28 21:41:38 +03:00
dismine
7c1d22c5f4 Try use QString where posible.
--HG--
branch : feature
2014-04-26 11:16:19 +03:00
dismine
9c6cac2ec4 Delete #include <vector>.
--HG--
branch : feature
2014-04-26 11:04:59 +03:00
dismine
5c3845ff00 QVector instead std::vector.
--HG--
branch : feature
2014-04-26 11:00:42 +03:00
dismine
541a5becbd Use standard math constants in tests.
--HG--
branch : feature
2014-04-26 10:53:10 +03:00
dismine
148d2fb3f7 We don't need parser for integer value.
--HG--
branch : feature
2014-04-26 10:51:14 +03:00
dismine
d8f0cc2824 Use standard math constants.
--HG--
branch : feature
2014-04-26 10:40:44 +03:00
dismine
21c38b446d Use Qt math function.
--HG--
branch : feature
2014-04-26 10:23:50 +03:00
dismine
59c7405b88 QStack instead QmuParserStack.
--HG--
branch : feature
2014-04-26 09:01:41 +03:00
dismine
2f97def4bf Use Q_ASSERT marcros instead MUP_ASSERT and MUP_FAIL.
--HG--
branch : feature
2014-04-25 18:10:56 +03:00
dismine
11f527143b Used qreal for datatype. Deleted _T() macros.
--HG--
branch : feature
2014-04-25 18:01:23 +03:00
dismine
0b4d69f821 Successful build after adding muParser library.
--HG--
branch : feature
2014-04-25 15:58:14 +03:00