Commit Graph

335 Commits

Author SHA1 Message Date
Roman Telezhynskyi
c144c149e6 Class VPoster.
--HG--
branch : feature
2015-04-11 14:01:25 +03:00
Roman Telezhynskyi
07ec5aacf8 QVector::removeLast() was introduced only in Qt 5.1.
--HG--
branch : develop
2015-04-01 21:38:42 +03:00
Roman Telezhynskyi
6dea77276c QtMath apperas only since Qt 5.1.
--HG--
branch : develop
2015-04-01 21:21:24 +03:00
Roman Telezhynskyi
ff44834417 GCC warning “ISO C99 requires rest arguments to be used”.
For fixing use printf style.

--HG--
branch : develop
2015-04-01 20:08:35 +03:00
Roman Telezhynskyi
30f6aea194 Hide warnings, minimal requirements for build is Qt 5.0.0.
--HG--
branch : develop
2015-04-01 15:51:54 +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
99bb3f8962 Fixed issue #267. Error in the creation of obj files.
--HG--
branch : develop
2015-03-31 14:14:08 +03:00
Roman Telezhynskyi
2cab9b4f90 Fixed missed attribute in XML schema.
--HG--
branch : develop
2015-03-28 11:08:11 +02:00
Roman Telezhynskyi
6b8cb0bf69 Improving for layout debug mode.
--HG--
branch : release
2015-03-23 14:13:44 +02:00
Roman Telezhynskyi
7555c67c3e Clang warnings.
--HG--
branch : release
2015-03-16 14:23:02 +02:00
Roman Telezhynskyi
cabac6f3d0 GCC warnings.
--HG--
branch : release
2015-03-16 12:33:37 +02:00
Roman Telezhynskyi
2b711c5f8f Bad API in class LayoutDetail. Fixed checking seam allowence points.
--HG--
branch : release
2015-03-14 14:38:44 +02:00
Roman Telezhynskyi
c466fc40b4 GCC warnings.
--HG--
branch : release
2015-03-03 17:29:33 +02:00
Roman Telezhynskyi
8b0de7504f Coverity Scan.
--HG--
branch : release
2015-03-02 21:20:09 +02:00
Roman Telezhynskyi
850d51adac cppcheck.
--HG--
branch : release
2015-03-02 19:54:33 +02:00
Roman Telezhynskyi
22055ab684 Vera++.
--HG--
branch : release
2015-03-02 19:11:43 +02:00
Roman Telezhynskyi
629a2a7579 Copyright dates.
--HG--
branch : develop
2015-02-27 12:27:48 +02:00
Roman Telezhynskyi
bfbe2a5fc2 Fixed copyright notice for library qmuparser.
--HG--
branch : develop
2015-02-27 12:21:09 +02:00
Felix Ulber
f3eb68c2db resolve merge conflict
--HG--
branch : develop
2015-02-26 23:16:38 +01:00
Felix Ulber
12c66e873f Corrections on license text
--HG--
branch : develop
2015-02-26 22:48:52 +01:00
Felix Ulber
6ad6eda04a Some code corrections on fix of issue #235
--HG--
branch : develop
2015-02-26 22:34:33 +01:00
Roman Telezhynskyi
018fae459a Build on Mac OS.
--HG--
branch : develop
2015-02-26 22:18:52 +02:00
Felix Ulber
1f0027fd22 Merged dismine/valentina into develop
--HG--
branch : develop
2015-02-26 18:45:37 +01:00
Felix Ulber
80a58cd729 Fixed Issue #235
--HG--
branch : develop
2015-02-25 23:27:09 +01:00
Roman Telezhynskyi
72324c0942 Fixed issue #249. Size Base and Height Base (Calculations Error and Display
Wish List).

--HG--
branch : develop
2015-02-25 21:50:13 +02:00
Roman Telezhynskyi
9f92c1ca94 Build on Windows in debug mode.
--HG--
branch : develop
2015-02-18 18:26:28 +02:00
Roman Telezhynskyi
0deaa1b7b4 Cut tools use attribute "color" instead "lineColor".
--HG--
branch : feature
2015-02-12 18:02:23 +02:00
Roman Telezhynskyi
949e1d9011 Merge with feature
--HG--
branch : develop
2015-02-11 12:52:19 +02:00
Roman Telezhynskyi
28f806a779 Refactoring. More good looking code.
--HG--
branch : feature
2015-02-11 12:43:50 +02:00
Roman Telezhynskyi
f6e511e43c Set and dynamically refresh locale settings for tool property browser.
--HG--
branch : feature
2015-02-11 12:33:13 +02:00
Roman Telezhynskyi
abca716d7b DebugBreak() exist only for MSVC compiler.
--HG--
branch : develop
2015-02-10 16:27:16 +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
Roman Telezhynskyi
619a303e9b Property explorer now show color combobox.
--HG--
branch : feature
2015-02-07 16:42:49 +02:00
Roman Telezhynskyi
6d638a3080 Class that show line colors.
--HG--
branch : feature
2015-02-07 15:18:08 +02:00
Roman Telezhynskyi
76074f2820 Pattern format 0.1.3 support colors.
--HG--
branch : feature
2015-02-03 13:15:52 +02:00
Roman Telezhynskyi
cf2aea280d Refactoring.
--HG--
branch : feature
2015-02-03 12:17:04 +02:00
dismine
1b6408c144 Fixed issue #171. QComboBox to show Qt::PenStyle.
--HG--
branch : develop
2015-01-29 17:47:02 +02:00
dismine
245c6f522b Don't show arrow if edge too short.
--HG--
branch : develop
2015-01-23 17:05:23 +02:00
dismine
4a9e69d32f Saving the layout paper sheets.
--HG--
branch : feature
2015-01-23 12:07:58 +02:00
dismine
c84caa349d Clear layout paper.
--HG--
branch : feature
2015-01-22 16:23:23 +02:00
dismine
2388d8ef29 Avoid window freaze.
--HG--
branch : feature
2015-01-22 16:13:25 +02:00
dismine
ef73b351ed New options: rotatate and rotation increase.
--HG--
branch : feature
2015-01-22 16:11:50 +02:00
dismine
dd098506dd Move rotation to separate method. Preparetion for working with new setting.
--HG--
branch : feature
2015-01-22 13:47:20 +02:00
dismine
0d1725fc11 Allow user more quick stop generation.
--HG--
branch : feature
2015-01-22 13:39:04 +02:00
dismine
d538f2af73 Give program time update GUI.
--HG--
branch : feature
2015-01-22 13:35:12 +02:00
dismine
7a9447f7af Don't set information for debug if no need.
--HG--
branch : feature
2015-01-22 13:29:40 +02:00
dismine
2aa9de5f94 For rotation check only two positions 180 and 0 degree.
--HG--
branch : feature
2015-01-22 13:26:09 +02:00
dismine
9210d31c25 First realization multithreading.
--HG--
branch : feature
2015-01-21 23:49:38 +02:00
dismine
62aa898742 Refactoring. Prepare for support multithreading.
--HG--
branch : feature
2015-01-21 20:56:59 +02:00
dismine
8655460d6e Refactoring.
--HG--
branch : feature
2015-01-21 16:33:06 +02:00
dismine
dac95d00fe Combine edges not enough for all cases. Was added checking position after
rotation around point.

--HG--
branch : feature
2015-01-20 22:58:30 +02:00
dismine
7970678575 Fix for method UniteWithContour.
--HG--
branch : feature
2015-01-20 14:50:24 +02:00
dismine
2355e435a5 Fix for method Crossing.
--HG--
branch : feature
2015-01-19 20:07:32 +02:00
dismine
366519781b Fix for method InsideContour.
--HG--
branch : feature
2015-01-19 20:01:42 +02:00
dismine
120f4cf565 Speed optimization.
--HG--
branch : feature
2015-01-19 16:13:26 +02:00
dismine
3c76f32bed Alwayse first check if workpiece inside of paper sheet rect.
--HG--
branch : feature
2015-01-19 12:36:27 +02:00
dismine
dc2620e0df Need additional point on each edge for check if workpiece inside of global
contour.

--HG--
branch : feature
2015-01-19 12:14:54 +02:00
dismine
2937a9e594 Wrong rule for check true intersection.
--HG--
branch : feature
2015-01-18 22:21:20 +02:00
dismine
c191059ddd Changed Point-In-Polygon Algorithm. Additional field for saving mirror state.
--HG--
branch : feature
2015-01-18 20:56:01 +02:00
dismine
c044b334d7 Fix for method UniteWithContour.
--HG--
branch : feature
2015-01-17 22:51:17 +02:00
dismine
696aaa413b Fixes for method Mirror and debug system.
--HG--
branch : feature
2015-01-17 19:23:54 +02:00
dismine
1d1ae1acb4 Fixed creation global contour.
--HG--
branch : feature
2015-01-17 16:00:46 +02:00
dismine
56aa09a639 Don't save last options for creation a layout.
--HG--
branch : feature
2015-01-17 15:14:28 +02:00
dismine
28b2f97aaa Fixed getting seam allowence points.
--HG--
branch : feature
2015-01-16 21:35:50 +02:00
dismine
b04d1f92e7 Forgot save paper after creation.
--HG--
branch : feature
2015-01-16 21:34:37 +02:00
dismine
f849d16018 Choose first best result.
--HG--
branch : feature
2015-01-16 21:33:18 +02:00
dismine
f8d210e720 Better check more frequently if user want cancel creation layout.
--HG--
branch : feature
2015-01-16 16:45:56 +02:00
dismine
4fb5a048ca Ignore intersection in vertices of edges.
--HG--
branch : feature
2015-01-16 16:22:42 +02:00
dismine
040b9e607b Method Mirror now should work.
--HG--
branch : feature
2015-01-16 15:20:15 +02:00
dismine
ab2b894d69 Better round points if we want avoid errors. Correct way working with QMatrix in
methods translate and rotate.

--HG--
branch : feature
2015-01-16 14:54:37 +02:00
dismine
3d1100bc3d Send arranged count of workpieces.
--HG--
branch : feature
2015-01-16 14:53:14 +02:00
dismine
00e42b4368 Fixed broken seam allowence.
--HG--
branch : feature
2015-01-15 16:24:37 +02:00
dismine
79325fe91f Changes for table widows. All prepare for begin testing.
--HG--
branch : feature
2015-01-15 15:10:05 +02:00
dismine
a121845407 Dialog layout settings.
--HG--
branch : feature
2015-01-14 16:14:51 +02:00
dismine
3ed87757c4 Return QGraphicsItems with sheet and all details for show on scene.
--HG--
branch : feature
2015-01-13 12:38:51 +02:00
dismine
166f2fbcdb Save each frame to png file for debuging creation layout.
--HG--
branch : feature
2015-01-12 22:35:32 +02:00
dismine
789dcea6bc Standard way arrange first detail on paper not always allow find position. For
such cases best way is rotate detail around vertex.

--HG--
branch : feature
2015-01-12 17:59:15 +02:00
dismine
8dec59ef00 Also check shift for each edge.
--HG--
branch : feature
2015-01-12 17:23:25 +02:00
dismine
98d5dde2e1 Class that drive all process, also speak with outside world.
--HG--
branch : feature
2015-01-12 14:12:15 +02:00
dismine
b53d32225a Class that handle choose next detail.
--HG--
branch : feature
2015-01-11 15:11:56 +02:00
dismine
007bc1466f Layout paper. Main algorithm.
--HG--
branch : feature
2015-01-10 15:47:46 +02:00
dismine
9effd8af02 Layout detail.
--HG--
branch : feature
2015-01-07 18:54:43 +02:00
dismine
4ba488d0c0 VAbstractDetail parent class for VDetail.
--HG--
branch : feature
2015-01-02 19:02:07 +02:00
dismine
112dbd7f4e Class for abstract detail.
--HG--
branch : feature
2015-01-02 18:32:26 +02:00
dismine
67c93e2b5b Initial commit for class VLayoutDetail.
--HG--
branch : feature
2015-01-02 16:14:28 +02:00
dismine
44372c7e6b Initial commit for static library VLayout.
--HG--
branch : feature
2015-01-02 15:53:36 +02:00
dismine
a72e1459e8 Updated translations.
--HG--
branch : develop
2014-12-31 14:28:08 +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
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