Commit Graph

258 Commits

Author SHA1 Message Date
Roman Telezhynskyi
9035382238 Cppcheck warnings.
--HG--
branch : develop
2016-08-09 14:18:49 +03:00
Roman Telezhynskyi
eec896edd0 Fix errors. error: QPrinter: No such file or directory.
error: QMetaTypeId: No such file or directory.

--HG--
branch : develop
2016-08-08 15:26:48 +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
8118bd45e5 With GCC 6.1.1:
debugbreak.h:51:1: error: 'inline' is not at beginning of
declaration [-Werror=old-style-declaration]

So i moved the inlines at the beginning of the declaration.

--HG--
branch : develop
2016-08-07 14:25:43 +03:00
Roman Telezhynskyi
c9cdd2cd8d Using macros QT_WARNING_DISABLE_*.
--HG--
branch : develop
2016-08-06 21:42:40 +03:00
Roman Telezhynskyi
88be00fe42 Fixed build on Qt lower version 5.5.0.
--HG--
branch : develop
2016-08-06 19:32:51 +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
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
8f78b31710 Translation unit tests moved to separate binary.
--HG--
branch : develop
2016-08-04 19:28:28 +03:00
Roman Telezhynskyi
ce92d2994d Show debug string immediately after call.
--HG--
branch : develop
2016-08-03 14:53:38 +03:00
Roman Telezhynskyi
ffb6f1fbd5 cppcheck warnings.
--HG--
branch : develop
2016-08-02 15:12:13 +03:00
Roman Telezhynskyi
3e12775a22 qt.network.ssl.warning=false appears only since Qt 5.4.1.
--HG--
branch : develop
2016-08-02 13:46:46 +03:00
Roman Telezhynskyi
47b1e20257 Fixed issue #538. QSslSocket error messages during startup in newest development
build.

--HG--
branch : develop
2016-08-02 13:43:41 +03: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
19387cc80e Resolved issue #528. Error: QSslSocket: cannot resolve SSLv2_client_method.
--HG--
branch : develop
2016-07-20 11:48:09 +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
817a5d5f56 Fixed suppression warnings in Release mode.
Used wrong macros.

--HG--
branch : develop
2016-07-20 11:10:23 +03:00
BojanKverh
9943fa7c8b Merging
--HG--
branch : feature
2016-07-18 20:56:05 +02: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
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
d61c1c13bf Check one day and try remind again.
--HG--
branch : feature
2016-07-15 12:30:55 +03:00
Roman Telezhynskyi
a94daf6834 First implementation of Update Notification.
--HG--
branch : feature
2016-07-15 12:00:00 +03:00
BojanKverh
7c2f4e54ba Fixed cursor handling on vtextgraphicsitem
--HG--
branch : feature
2016-07-12 23:11:17 +02:00
BojanKverh
e5f7c47828 Removed some compiler warnings and set the resize cursor when label is being resized
--HG--
branch : feature
2016-07-10 12:39:50 +02: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
39f7727088 Used pngcrush key "brute".
--HG--
branch : develop
2016-06-27 18:42:31 +03:00
Roman Telezhynskyi
a586d29e78 Restore png files after pngcrush work.
--HG--
branch : develop
2016-06-27 10:48:49 +03:00
Roman Telezhynskyi
643fafcbc9 Resolved issue #517. MAC version incorrect sRGB profile.
libpng warning: iCCP: known incorrect sRGB profile.

--HG--
branch : develop
2016-06-26 21:27:04 +03:00
Roman Telezhynskyi
1608599795 Added list "Details in layout".
--HG--
branch : feature
2016-06-26 14:36:12 +03:00
Roman Telezhynskyi
e7455cdabc Option "Use last tool" worked incorrect in case of tool "Arc intersect axis".
--HG--
branch : develop
2016-06-23 20:45:45 +03:00
Roman Telezhynskyi
7eaadf1761 Resolved issue #480. New tool: Midpoint between two points.
--HG--
branch : develop
2016-06-23 20:20:21 +03:00
Roman Telezhynskyi
7b40bc3667 Show path to pattern file in a graphical shell.
--HG--
branch : develop
2016-06-18 16:57:07 +03:00
Roman Telezhynskyi
9d9d2702ba Show PMSystem code in combobox near name.
--HG--
branch : develop
2016-06-16 16:25:28 +03:00
Roman Telezhynskyi
972dd36fcf Redesign printing system. ref #494. Printing is not working.
Made complete redesign of printing code. Now the code check printer's dpi and
calculate  scale factor. Instead of printing with QImage buffer the code print
directly on printer. Help avoid limitations of QImage class.

Also removed menu option "Save as PDF". The option duplicate option "Export As"
and also mislead a user about purpose of option "Print preview".

--HG--
branch : develop
2016-06-15 13:55:43 +03:00
Valentina Zhuravska
1ca5b4dfa6 Resolved issue #180. Search field in tape app and dialog Increments.
--HG--
branch : develop
2016-06-11 15:51:48 +03:00
BojanKverh
1d78009585 Trying to resolve conflict
--HG--
branch : feature
2016-06-10 22:42:27 +02:00
BojanKverh
96b2d28604 Fixed issue #479. Improve feature: The Preferences dialog box in Valentina and Tape should be expandable.
--HG--
branch : feature
2016-06-10 21:34:21 +02:00
Holger Pandel
349625fbed Create string variable for ini file name identifier.
--HG--
branch : feature
2016-06-10 16:48:30 +02:00
Holger Pandel
8735357fbf Resolve issue #508. Settings saved to INI files in different folders.
--HG--
branch : feature
2016-06-10 15:57:08 +02:00
Roman Telezhynskyi
6d18c71956 Try to fix broken tests. Error QPrinter: No such file or directory.
--HG--
branch : develop
2016-06-01 22:06:28 +03:00
Roman Telezhynskyi
080da6d3e1 Try to fix issue #494. Seems like default constructor on mac creates non-native
printer by default or default printer can't be found.

--HG--
branch : develop
2016-06-01 21:55:27 +03:00
Roman Telezhynskyi
e0bf6f11d1 Export to CSV. Added button "Restore Defaults".
--HG--
branch : develop
2016-06-01 17:21:03 +03:00
Roman Telezhynskyi
32d391c587 Resolved issue #409. New feature: Export measurement file to Excel .csv.
--HG--
branch : develop
2016-06-01 16:37:42 +03:00
Roman Telezhynskyi
80b415f258 Merge with develop.
--HG--
branch : feature
2016-05-12 22:52:31 +03:00
Roman Telezhynskyi
910c40a5b3 Commit successful build.
--HG--
branch : feature
2016-05-12 22:11:21 +03:00
Roman Telezhynskyi
384d85dfae Fixed build with MSVC.
--HG--
branch : develop
2016-05-06 19:32:35 +03:00
Roman Telezhynskyi
f83c016c54 Updated description measurements N06 and N07. Add new measurements A23 and J10.
(grafted from cf140cecff83698ca48fcf563a5e8a857466f531)

--HG--
branch : develop
2016-04-08 13:21:18 +03:00
Roman Telezhynskyi
48e411a3ce Working with group widget.
--HG--
branch : feature
2016-04-07 17:57:53 +03:00
Roman Telezhynskyi
d73256f119 The method CreateGroup.
--HG--
branch : feature
2016-04-05 20:53:49 +03:00
Roman Telezhynskyi
ada64305c0 Dialog Group.
--HG--
branch : feature
2016-04-05 20:14:12 +03:00
Roman Telezhynskyi
844d3764c2 Group button.
--HG--
branch : feature
2016-04-04 18:03:40 +03:00
Roman Telezhynskyi
d1480132a0 Don't separate data about spline and arc length and angles.
--HG--
branch : develop
2016-04-01 22:34:57 +03:00
Roman Telezhynskyi
9f5fd98865 Fixed tools Spline and Spline Path. For their work need section by mouse press
event, all other better work with mouse release event.

--HG--
branch : feature
2016-03-31 20:10:20 +03:00
Roman Telezhynskyi
e52fb734f0 Changed default layout settings.
--HG--
branch : develop
2016-03-28 17:19:29 +03:00
Roman Telezhynskyi
c4ca41aa83 Fixed issue #463. Wrong export to DXF format.
(grafted from a2df4c627d50fcd0225cc63d924c065063af326f)

--HG--
branch : develop
2016-03-27 19:00:08 +03:00
Roman Telezhynskyi
70fd0be830 Use Q_REQUIRED_RESULT where it make sense.
--HG--
branch : develop
2016-03-23 17:27:17 +02:00
Roman Telezhynskyi
be7277eeba Refactoring. Use more safe function VFuzzyComparePossibleNulls.
--HG--
branch : develop
2016-03-23 16:09:30 +02:00
Roman Telezhynskyi
56496aaa59 Refactoring. More switch tests. Added tool button for tool Cubic bezier path.
--HG--
branch : feature
2016-03-17 20:12:48 +02:00
Roman Telezhynskyi
53250a4dc4 Simple curve which uses point as control handle.
--HG--
branch : feature
2016-03-10 15:55:04 +02:00
Roman Telezhynskyi
c65a320c45 Added new language Portuguese (Brazil).
--HG--
branch : develop
2016-03-08 20:27:25 +02:00
Roman Telezhynskyi
595e5b0bf5 Resolved issue #306. Layout generator optimization. Divide into strips.
--HG--
branch : develop
2016-02-23 14:13:10 +02:00
Roman Telezhynskyi
61adfbaef5 Handle all tools when creating the history records.
--HG--
branch : develop
2016-02-09 17:26:59 +02:00
Roman Telezhynskyi
7deed94604 Fixed broken path to measurements after using Save As option.
(grafted from 2e63a19d717ad4ef5d6f38da7ed3b1ed6d7311a6)

--HG--
branch : develop
2016-02-09 17:19:19 +02:00
Roman Telezhynskyi
ea0000fea6 First successful build. Tool working was not tested!
--HG--
branch : feature
2016-01-24 18:15:08 +02:00
Roman Telezhynskyi
e000486633 Fixed broken tests.
--HG--
branch : develop
2016-01-21 17:20:47 +02:00
Roman Telezhynskyi
f0d4aaf1fb Added language Chinese (China).
--HG--
branch : develop
2016-01-21 17:14:47 +02:00
Roman Telezhynskyi
e1f3456027 Begin developing new version 0.5.0.
--HG--
branch : develop
2016-01-14 11:55:14 +02:00
Benjamin Nauck
6ffa9d0055 Move set attribute to vabstractapplication
--HG--
branch : feature
2016-01-02 17:06:19 +01:00
Benjamin Nauck
4bc766295e Add @2x versions of toolbar tab icons (excluding detail and layout)
--HG--
branch : feature
2016-01-02 02:45:29 +01:00
Roman Telezhynskyi
00b8aae5a7 Fixed issue with deleting detail and blocked objects. Part about tool union
still is not fixed.

--HG--
branch : feature
2015-12-26 15:08:41 +02:00
Roman Telezhynskyi
d227ce68c2 Show dialog "Fix broken formula" only in GUI mode.
--HG--
branch : develop
2015-12-22 20:12:09 +02:00
Roman Telezhynskyi
a0b785ffd8 Resolved issue #402. After Crash .val is empty.
--HG--
branch : develop
2015-12-19 21:02:38 +02:00
Roman Telezhynskyi
90dac31a2e Discard vmargins.h. Build backport files if only need.
--HG--
branch : develop
2015-12-19 16:38:24 +02:00
Roman Telezhynskyi
e8a93ddc2b New setting "Default height and size".
--HG--
branch : develop
2015-12-12 13:11:39 +02:00
Roman Telezhynskyi
3aa1ccaea4 Optimization. Call creation toolbar only if was not uploaded any measurements.
--HG--
branch : develop
2015-12-11 17:06:20 +02:00
Roman Telezhynskyi
ced638a782 Support a proxy icon on Mac OS.
--HG--
branch : develop
2015-12-03 14:07:51 +02:00
Roman Telezhynskyi
70cc2b6f95 QDebugStateSaver available only since Qt 5.1.
--HG--
branch : develop
2015-11-28 12:36:54 +02:00
Roman Telezhynskyi
b6506b2cae Wrong defining QLoggingCategory.
--HG--
branch : develop
2015-11-27 14:04:23 +02:00
Roman Telezhynskyi
36704cd02e Invisible "VSimpleCurve" causes exponential growth scene size, and it causes
the program crash. Because we don't need anymore this calss i just have removed
it.

--HG--
branch : develop
2015-11-25 15:45:38 +02:00
Roman Telezhynskyi
e38dc9d866 For avoiding error "dyld: Library not loaded" in Mac OS X we should create app
bundle for Tape. I think if create bundle then make it full, not half made.
The bundle also will be very usefull for testing Tape in Mac and in case if
someone will want to use Tape like independent application. The main bundle
still will have Tape inside.

--HG--
branch : develop
2015-11-18 14:42:25 +02:00
Roman Telezhynskyi
0473db2947 Load also qtbase_*.qm files.
--HG--
branch : develop
2015-11-17 16:27:51 +02:00
Roman Telezhynskyi
cdec047f58 Very often case in Mac OS is to have translations inside an app bundle. And
searching these files require iterate through subdirectories.

--HG--
branch : develop
2015-11-17 16:20:36 +02:00
Roman Telezhynskyi
ab526a54b4 New icon in the icon theme 'help-about'.
--HG--
branch : develop
2015-11-17 12:45:22 +02:00
Roman Telezhynskyi
e31a6eb841 Merge
--HG--
branch : develop
2015-11-16 22:04:56 +02:00
Valentina Zhuravska
e0237e901f Added help label to detail mode
--HG--
branch : feature
2015-11-16 17:34:16 +02:00
Roman Telezhynskyi
96b2d644e1 Fixed broken compatible with higher Qt versions.
--HG--
branch : develop
2015-11-16 14:07:28 +02:00
Roman Telezhynskyi
5eed97c640 Enable #pragma message in Clang.
--HG--
branch : develop
2015-11-16 12:28:21 +02:00
Roman Telezhynskyi
7038c25c39 Turn on PCH on mac os x.
--HG--
branch : develop
2015-11-16 12:22:34 +02:00
Roman Telezhynskyi
c3e87b4ffc File index.theme. Fixed wrong name of the category.
--HG--
branch : develop
2015-11-12 14:18:56 +02:00
Thies Schröder
823090718b fix build on mac os
--HG--
branch : develop
2015-11-11 21:16:58 +01:00
Roman Telezhynskyi
4e21bf05e0 Don't show section "Size and Height".
--HG--
branch : develop
2015-11-11 20:52:25 +02:00
Roman Telezhynskyi
833c507148 New measurement (N08) rise_length_side.
--HG--
branch : feature
2015-11-11 16:26:48 +02:00
Roman Telezhynskyi
fa822dda24 (N04) 'rise_length_side' renamed to 'rise_length_side_sitting'.
--HG--
branch : feature
2015-11-11 14:37:32 +02:00
Roman Telezhynskyi
e286ae8476 New measurements: (H41) neck_back_to_across_back, (H42) across_back_to_waist_b,
​(L22) arm_neck_side_to_outer_elbow, (G46) hip_circ_with_abdomen.

--HG--
branch : feature
2015-11-11 14:23:39 +02:00
Roman Telezhynskyi
9545db280d Test that all command line option names are unique.
--HG--
branch : develop
2015-11-09 20:02:38 +02:00