Commit graph

1895 commits

Author SHA1 Message Date
Bojan Kverh 19c69c691a Merged develop into feature
--HG--
branch : feature
2016-08-21 00:01:35 +02:00
Roman Telezhynskyi d2791a1a6b Fixed Valentina.exe bug in command line mode.
Not all errors were correctly catched in comsole mode. This caused method
LoadPattern return successes where in reality was an error. Also this bug made
regression tests less useful.
(grafted from fbf1dfae06b21d88189d771f2b2e45eeb84a02ce)

--HG--
branch : develop
2016-08-20 20:47:39 +03:00
BojanKverh 1cfa97497c Fixed translations after language change
--HG--
branch : feature
2016-08-17 21:38:39 +02:00
Bojan Kverh 10f2d83edd Merged develop into feature
--HG--
branch : feature
2016-08-17 18:00:56 +02:00
Roman Telezhynskyi e333c9bc08 QtDebug and QDebug lead to the same header. Leave only QtDebug.
--HG--
branch : develop
2016-08-16 20:35:21 +03:00
Roman Telezhynskyi d66280033b Fixed issue #546. Compile error under Windows in current develop revision.
--HG--
branch : develop
2016-08-16 19:57:32 +03:00
BojanKverh 92ec78e6b3 Made sure that labels stay inside the detail after changing size or height
--HG--
branch : feature
2016-08-15 17:19:21 +02:00
Bojan Kverh a5f16ab738 Merged develop into feature
--HG--
branch : feature
2016-08-15 15:38:51 +02:00
Roman Telezhynskyi 1a56b2721a Several changes related to layout export.
Added tool button "Layout export" in section Layout. Should speed up calling
this feature.
Redesign dialog "Layout export". Changes in layout. Now user can change dialog
width.
Fixed bug with path to destination folder. Now the app will check each change
of path. If path after closing the dialog doesn't exist the app will try to
create a path.

--HG--
branch : develop
2016-08-15 15:03:10 +03:00
BojanKverh fb326d4f39 Added %size% and %height% placeholders to display pattern size and height in the Pattern size line edit
--HG--
branch : feature
2016-08-15 13:03:59 +02:00
Bojan Kverh 37b683f125 Merged develop into feature
--HG--
branch : feature
2016-08-15 11:06:42 +02:00
Roman Telezhynskyi da4bf27c75 New test localization (checking punctuation).
--HG--
branch : develop
2016-08-12 15:21:55 +03:00
BojanKverh 86f24bf0e5 User defined materials are now remembered and can also be deleted in preferences dialog
--HG--
branch : feature
2016-08-12 01:22:23 +02:00
BojanKverh b0532e6fb9 Removed userDef attributes from DOM tree, where they are not necessary. Fixed some translations. Refactored finding the selected material in detail dialog
--HG--
branch : feature
2016-08-11 22:44:53 +02:00
Roman Telezhynskyi a890ec47dd Fixed issue #537. Valentina crashes when use undo command.
(grafted from b9726acb2bb6b7bd606d6ecc96e6498f093c1861)

--HG--
branch : develop
2016-08-12 17:38:01 +03:00
Roman Telezhynskyi 41308f1468 Fixed bug case when after first creating a layout a list of details was cleared.
--HG--
branch : develop
2016-08-09 20:53:38 +03:00
Roman Telezhynskyi 9035382238 Cppcheck warnings.
--HG--
branch : develop
2016-08-09 14:18:49 +03:00
Roman Telezhynskyi 31fa9785b9 Fixed several mistakes in original strings.
--HG--
branch : develop
2016-08-09 13:50:37 +03:00
Roman Telezhynskyi 80f00b361d Use "Include What You Use" tool for optimizing #includes.
--HG--
branch : develop
2016-08-08 14:44:49 +03:00
Roman Telezhynskyi c9cdd2cd8d Using macros QT_WARNING_DISABLE_*.
--HG--
branch : develop
2016-08-06 21:42:40 +03:00
Roman Telezhynskyi 1c987b919b Use gcc’s Address Sanitizer only in Debug mode.
--HG--
branch : develop
2016-08-06 19:23:42 +03:00
Roman Telezhynskyi 69e0ff74e6 MSVC warnings.
--HG--
branch : develop
2016-08-06 15:59:30 +03:00
Roman Telezhynskyi 2af9c0e65a Fixed issues with include paths.
--HG--
branch : develop
2016-08-05 13:48:23 +03:00
Roman Telezhynskyi 483e56866d Added MSVC warnings.
--HG--
branch : develop
2016-07-29 21:04:53 +03:00
Roman Telezhynskyi 75e9e9b2ee Fixed issues with include paths.
--HG--
branch : develop
2016-08-05 13:41:02 +03:00
Roman Telezhynskyi 0cdd058eb4 Fixed issue #538. QSslSocket error messages during startup in newest development
build.

--HG--
branch : develop
2016-08-03 14:54:18 +03:00
Roman Telezhynskyi ffb6f1fbd5 cppcheck warnings.
--HG--
branch : develop
2016-08-02 15:12:13 +03:00
Roman Telezhynskyi e7504c0ea1 Resolved issue #24. New feature: Label on detail.
--HG--
branch : develop
2016-07-30 20:03:37 +03:00
Roman Telezhynskyi 35dee8dafb Refactoring. Treat waitForFinished more carefully. Use QScopedPointer for
pointer to QProcess.

--HG--
branch : develop
2016-07-30 18:17:43 +03:00
BojanKverh a1c905381b Fixed label update on clicking OK in pattern properties dialog and the label is hidden when there is no text on it
--HG--
branch : feature
2016-07-30 13:21:03 +02:00
Bojan Kverh c5f38207fd Merged develop into feature
--HG--
branch : feature
2016-07-29 21:47:49 +02:00
Roman Telezhynskyi c7cddbfb28 Specify correct name for lrelease on Windows.
--HG--
branch : develop
2016-07-28 15:15:31 +03:00
Valentina Zhuravska 6081a5f9d7 Little fix.
--HG--
branch : feature
2016-07-26 16:16:09 +03:00
Valentina Zhuravska 1ae8509d63 Merge with develop.
--HG--
branch : feature
2016-07-26 15:32:55 +03:00
Valentina Zhuravska f9c9cedfac We don't need DialogTool::ShowVisToolTip slot anymore.
--HG--
branch : feature
2016-07-26 13:45:17 +03:00
BojanKverh 88055db170 Show measurements option is now disabled and not hidden, if there are no measurements associated with the current pattern. Finished pattern converter and refactored measurement file extraction in text manager class
--HG--
branch : feature
2016-07-25 19:10:13 +02:00
Valentina Zhuravska d248c4f18a Added VAbstractMainWindow class.
--HG--
branch : feature
2016-07-25 19:23:00 +03:00
BojanKverh 85db8f84e6 Added hiding Show measurement option and showing just a filename without path in detail and layout mode. Also fixed a wrong comment
--HG--
branch : feature
2016-07-24 19:07:38 +02:00
BojanKverh a6e38b54d0 Added the optional measurements line to the pattern info label
--HG--
branch : feature
2016-07-24 12:30:10 +02:00
Bojan Kverh b19f45e90a Merged develop into feature
--HG--
branch : feature
2016-07-23 14:11:22 +02:00
Roman Telezhynskyi 524419e53f Fixed build on OS X.
--HG--
branch : develop
2016-07-23 12:56:22 +03:00
Roman Telezhynskyi dfb8c387b6 Added checking which minimal OSX version supports current Qt version.
From time to time Qt change minimal supported OS X version. This checking will
help build Valentina on older Qt version without fixing .pro files.

--HG--
branch : develop
2016-07-23 12:54:00 +03:00
BojanKverh 0e7b369c2e Corrected all the issues reported by Roman till 10:11 AM
--HG--
branch : feature
2016-07-22 11:56:45 +02:00
BojanKverh 28af32f027 Removed unnecessary method call
--HG--
branch : feature
2016-07-22 10:07:16 +02:00
BojanKverh 312b8e458b Centered the label texts and did some refactoring, so that the label content is generated in one place
--HG--
branch : feature
2016-07-21 21:46:49 +02:00
BojanKverh 5ba40aad8c Fixed alignments
--HG--
branch : feature
2016-07-21 16:49:26 +02:00
BojanKverh d6341b50e4 Fixed alignment
--HG--
branch : feature
2016-07-21 08:38:10 +02:00
Bojan Kverh 4138d30fb6 Merged develop into feature
--HG--
branch : feature
2016-07-21 08:30:51 +02:00
Roman Telezhynskyi 9375e0319d As part of testing make all compiler warnings treat as errors.
Added new CONFIG option "checkWarnings".

--HG--
branch : develop
2016-07-20 15:40:33 +03:00
Roman Telezhynskyi 1bffa92127 Using QLatin1String instead of QLatin1Literal.
QLatin1Literal is just a typedef of QLatin1String lefter for compatibility with
Qt 4.x.

--HG--
branch : develop
2016-07-20 11:39:15 +03:00
Roman Telezhynskyi f477904ef3 Use QStringLiteral everywhere inside noisyFailureMsgHandler().
--HG--
branch : develop
2016-07-20 11:25:53 +03:00
Roman Telezhynskyi dc275dce14 Fixed search string for error "setGeometry: Unable to set geometry".
--HG--
branch : develop
2016-07-20 11:11:35 +03:00
Roman Telezhynskyi 817a5d5f56 Fixed suppression warnings in Release mode.
Used wrong macros.

--HG--
branch : develop
2016-07-20 11:10:23 +03:00
Bojan Kverh 608b566006 Merged develop into feature
--HG--
branch : feature
2016-07-19 23:00:37 +02:00
BojanKverh 948102e74e Current date is always used to show the pattern creation date
--HG--
branch : feature
2016-07-19 22:59:14 +02:00
Roman Telezhynskyi ce50203d57 Better code look.
--HG--
branch : develop
2016-07-19 20:51:12 +03:00
BojanKverh 1759d4314f Labels with pattern info are now displayed in the Layout mode as well. Maybe needs a little bit of refactoring (the label styles and texts are now set up in two different places (VToolDetail and VLayoutDetail), I think this should be unified
--HG--
branch : feature
2016-07-19 13:47:21 +02:00
BojanKverh 6516fb3204 Made the labels text in Layout mode look better
--HG--
branch : feature
2016-07-19 09:06:29 +02:00
Bojan Kverh cb6b967a40 Merged develop into feature
--HG--
branch : feature
2016-07-19 02:28:45 +02:00
BojanKverh 9368978039 Added detail texts to layout mode
--HG--
branch : feature
2016-07-19 02:26:50 +02:00
Roman Telezhynskyi 8b438daa6c Slot OpenRecentFile in Tape replaced by lambda.
--HG--
branch : develop
2016-07-18 22:58:14 +03:00
Roman Telezhynskyi 7cabc7df18 Fixed loading recent files in main window.
--HG--
branch : develop
2016-07-18 22:55:18 +03:00
BojanKverh 363714985c Merging
--HG--
branch : feature
2016-07-18 21:02:02 +02:00
BojanKverh 9943fa7c8b Merging
--HG--
branch : feature
2016-07-18 20:56:05 +02:00
Roman Telezhynskyi 18e0f6750a Refactoring. Fixed wrong using method tr().
--HG--
branch : develop
2016-07-18 19:29:34 +03:00
Roman Telezhynskyi 47f12c80f8 Refactoring. Use lambda for small slots. Move slots declaration in appropriate
place.

--HG--
branch : develop
2016-07-18 18:09:15 +03:00
BojanKverh fed323fc25 Labels are now shown on the layout, however I still need to figure out how to paste text into the labels
--HG--
branch : feature
2016-07-17 22:52:53 +02:00
BojanKverh 25a58421cc Added pattern size field and creation date visibility flag to pattern properties
--HG--
branch : feature
2016-07-16 01:12:51 +02:00
Bojan Kverh 37425be026 Merged develop into feature
--HG--
branch : feature
2016-07-15 23:06:50 +02:00
Roman Telezhynskyi faae90363e Show button "Check For Updates" in dialogs about Valentina and Tape. Move
settings to common file.

--HG--
branch : feature
2016-07-15 13:14:48 +03:00
Roman Telezhynskyi a94daf6834 First implementation of Update Notification.
--HG--
branch : feature
2016-07-15 12:00:00 +03:00
BojanKverh ea9cdd46b2 Fixed some code style errors and checking label position at resizing
--HG--
branch : feature
2016-07-14 02:59:42 +02:00
Bojan Kverh f7ebda3c6e Merged develop into feature
--HG--
branch : feature
2016-07-13 23:11:49 +02:00
Valentina Zhuravska e080d845f3 We need to connect ToolTip signal from splines that already exists to ShowToolTip slot.
--HG--
branch : feature
2016-07-13 22:50:55 +03:00
Roman Telezhynskyi e4d6df06b7 Refactoring. Instead of using proxy slots emit signals directly from lambda
expressions.

--HG--
branch : develop
2016-07-13 14:41:44 +03:00
Valentina Zhuravska 2cf2275365 Added ToolTip for editing simple curve.
--HG--
branch : feature
2016-07-13 14:05:37 +03:00
Bojan Kverh e93f2c117b Merged develop into feature
--HG--
branch : feature
2016-07-12 22:09:47 +02:00
Roman Telezhynskyi f56f2a0209 Fixed issue #526. Dialog Detail is not on top after selection second object on
Mac.
(grafted from acde5cf1164d8227d71e7ff41ce03b45cbe7c9dd)

--HG--
branch : develop
2016-07-09 13:57:37 +03:00
Bojan Kverh 5aa75f2aff Merged develop into feature
--HG--
branch : feature
2016-07-07 20:47:16 +02:00
Roman Telezhynskyi d94b3dad14 Fixed build on Mac OS X.
--HG--
branch : develop
2016-07-07 18:15:28 +03:00
Roman Telezhynskyi a2acb032a2 Use static assert to check if minimal version is high enough to delete code that
needed for backward compatibility.

--HG--
branch : develop
2016-07-07 18:04:26 +03:00
Roman Telezhynskyi a78a516ce9 Remove zoom original from toolbar.
Rare used feature as i see it.

--HG--
branch : develop
2016-07-07 16:47:52 +03:00
Roman Telezhynskyi 628fdd4217 Call Lite Parse each time when add object inside of file.
--HG--
branch : develop
2016-07-07 14:55:01 +03:00
BojanKverh 192c4d33a7 Added possibility to hide both labels for each detail individually
--HG--
branch : feature
2016-07-06 21:56:52 +02:00
BojanKverh aa1d1f8ce1 Label cannot be moved outside of parent bounding box. Moving cursor is on when moving label. Name of detail moved to Pattern Piece Data tab. Hopefully all warnings removed
--HG--
branch : feature
2016-07-06 20:49:36 +02:00
BojanKverh cdd3e03e53 Merged develop into feature
--HG--
branch : feature
2016-07-06 17:58:17 +02:00
Roman Telezhynskyi f0a84471b3 Toolbar is only for frequently used features. "Config pattern piece" is not one
of them.

--HG--
branch : develop
2016-07-06 15:39:16 +03:00
Roman Telezhynskyi c97fa6a1e8 We don't need anymore button Stop Tool. Arrow Tool does this function.
--HG--
branch : develop
2016-07-06 15:28:36 +03:00
BojanKverh 4829b28d25 Fixed saving documents that were created before 0.3.3 schema. This change sets a new version right after the DOM tree from loaded document is created.
--HG--
branch : feature
2016-07-03 11:41:48 +02:00
BojanKverh 180e1ddc90 Merged
--HG--
branch : feature
2016-07-03 10:24:25 +02:00
Valentina Zhuravska 9d19ac14c5 Resoved issue #522. Error: Crash in new file after clicking 'OK' in Point From
Distance And Angle tool.

--HG--
branch : develop
2016-07-02 08:10:09 +03:00
BojanKverh f52f97740d Moved pattern info geometry into VDetail class
--HG--
branch : feature
2016-07-02 01:49:38 +02:00
BojanKverh 6effc2b5cd Rotation bugs fixed
--HG--
branch : feature
2016-07-01 01:45:16 +02:00
Bojan Kverh d5a3289ef7 Merged develop into feature
--HG--
branch : feature
2016-06-30 18:01:27 +02:00
Roman Telezhynskyi 6bf31f2846 Resolved issue #483. File lost.
Fixed crash after redo Unite tool. Caused by wrong position of modeling objects.

--HG--
branch : develop
2016-06-30 18:32:08 +03:00
Bojan Kverh 83ec6e219a Merged develop into feature
--HG--
branch : feature
2016-06-29 23:19:24 +02:00
Roman Telezhynskyi 750fe98ea4 Following "Clean all/qmake/Build all" did not refresh all data properly.
QM files inside /share/translations/ were not cleaned after call clean all.

--HG--
branch : develop
2016-06-28 22:08:58 +03:00
Roman Telezhynskyi 002619ad83 Moves the arrow tool from the toolbar to all the tabs in the toolbox as
discussed in https://groups.google.com/forum/#!topic/valentina-project-list/6RvYFlJLmMM

Thanks Benjamin Nauck for idea and the patch.

--HG--
branch : develop
2016-06-28 20:42:04 +03:00
Roman Telezhynskyi 0744359337 Run with pngcrush 1.8.1.
--HG--
branch : develop
2016-06-27 19:08:18 +03:00
Roman Telezhynskyi ba98e64217 These files also were broken by pngcrush.
--HG--
branch : develop
2016-06-27 19:01:31 +03:00