Commit graph

330 commits

Author SHA1 Message Date
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 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 c1976401a0 Use CONFIG += silent in release mode.
--HG--
branch : develop
2015-10-09 20:22:49 +03:00
Roman Telezhynskyi 259f1e1de0 Define macros tr() for reducing code complexity.
--HG--
branch : develop
2015-10-08 08:24:15 +03:00
Roman Telezhynskyi 8df6014412 Fixed typos.
--HG--
branch : develop
2015-10-07 19:45:01 +03:00
Roman Telezhynskyi 5a1208655c Working with new Increments.
--HG--
branch : feature
2015-08-25 13:35:50 +03:00
Roman Telezhynskyi aec99643b3 Separate class Calculator.
--HG--
branch : feature
2015-08-09 20:46:21 +03:00
Roman Telezhynskyi 77767ed85b Rename ambiguous Valentina.pri.
--HG--
branch : feature
2015-07-10 12:28:30 +03:00
Roman Telezhynskyi 75e9bd0ed5 Move templates outside class definition.
--HG--
branch : develop
2015-07-03 17:03:19 +03:00
Roman Telezhynskyi d4e13bfe34 Use Q_DECL_OVERRIDE.
--HG--
branch : develop
2015-07-03 16:36:54 +03:00
Roman Telezhynskyi bd58148080 GCC warnings.
--HG--
branch : develop
2015-05-31 13:00:26 +03:00
Roman Telezhynskyi 0fe066925a Oprion for disable debug symbols or(and) strip debug symbols in release mode.
--HG--
branch : develop
2015-05-16 20:38:05 +03:00
Roman Telezhynskyi 3c6441bd85 Comments about disabling Address Sanitizer.
--HG--
branch : develop
2015-05-16 17:17:34 +03:00
Roman Telezhynskyi a869874429 Resolved issue #300. How to find even odd number.
--HG--
branch : develop
2015-05-14 19:19:23 +03:00
Roman Telezhynskyi 641e718a04 Fixed issue #299. Error when opening .val file.
--HG--
branch : develop
2015-05-11 15:59:53 +03:00
Roman Telezhynskyi c1980cc7aa Make possible disable Address Sanitizer.
--HG--
branch : develop
2015-05-11 10:10:25 +03:00
Roman Telezhynskyi 78f1e89f08 Cppcheck.
--HG--
branch : develop
2015-04-15 15:44:57 +03:00
Roman Telezhynskyi 8d497c68eb Increase version qmuparser.
--HG--
branch : develop
2015-03-31 16:35:01 +03:00
Roman Telezhynskyi 0cabe83e10 Fix for ParserTokenReader::ExtractOperatorToken incorrectly uses
ValidInfixOprtChars().

--HG--
branch : develop
2015-03-31 16:13:41 +03:00
Roman Telezhynskyi aef39533c8 Bugfix for Bulkmode: Expressions with like "a=b, b*10" did not compute properly.
--HG--
branch : develop
2015-03-31 16:08:44 +03:00
Roman Telezhynskyi 22055ab684 Vera++.
--HG--
branch : release
2015-03-02 19:11:43 +02:00
Roman Telezhynskyi bfbe2a5fc2 Fixed copyright notice for library qmuparser.
--HG--
branch : develop
2015-02-27 12:21:09 +02:00
Roman Telezhynskyi 018fae459a Build on Mac OS.
--HG--
branch : develop
2015-02-26 22:18:52 +02:00
Roman Telezhynskyi 8c0bdcc612 Make parser static locale variable local for each parser instance.
--HG--
branch : feature
2015-02-10 13:39:31 +02:00
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 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 f62b78bd9b Compile debug build with gcc's Address Sanitizer.
--HG--
branch : develop
2014-12-20 20:18:00 +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 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 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
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 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 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 44d1465881 Disable multiple subexpression mode. One expresiion per time.
--HG--
branch : feature
2014-08-29 16:42:53 +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 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