Commit Graph

2812 Commits

Author SHA1 Message Date
Roman Telezhynskyi
a781d16cd4 Used way proposed in MainWindow class.
--HG--
branch : develop
2015-11-28 19:02:21 +02:00
Roman Telezhynskyi
211b68b920 OpenSuse still doesn't like categories.
--HG--
branch : develop
2015-11-28 17:28:05 +02:00
Roman Telezhynskyi
b6caf1f53f Try to fix broken build with Qt 5.1 and less.
--HG--
branch : develop
2015-11-28 17:27:17 +02:00
Roman Telezhynskyi
a1183e4f7f OpenSuse. Despite the above, /usr/lib/rpm/brp-suse.d/brp-30-desktop strictly
enforces to always have *at least* one category followed by a subcategory.

--HG--
branch : develop
2015-11-28 13:17:45 +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
fa4a249fc3 Fixed invalid .travis.yml.
--HG--
branch : develop
2015-11-28 12:05:29 +02:00
Roman Telezhynskyi
4f776f1fbb Error "rcc: Unknown option: '--binary'"
--HG--
branch : develop
2015-11-28 12:01:24 +02:00
Roman Telezhynskyi
1468d25322 error: Installed (but unpackaged) file(s) found:
/usr/lib/mime/packages/valentina
/usr/share/mime/packages/valentina.xml

--HG--
branch : develop
2015-11-28 10:56:14 +02:00
Roman Telezhynskyi
a8b75361e4 Fixed wrong prefix value. %{buildroot} value we now pass through 'make install'.
--HG--
branch : develop
2015-11-28 09:53:16 +02:00
Roman Telezhynskyi
074242ad56 OpenSuse requires more categories in .desktop files.
--HG--
branch : develop
2015-11-28 09:51:47 +02:00
Roman Telezhynskyi
a73e70f2ca Macros %suse_update_desktop_file.
--HG--
branch : develop
2015-11-27 17:39:09 +02:00
Roman Telezhynskyi
e72c3c8cf8 Fixed bogus date in valentina.spec.
--HG--
branch : develop
2015-11-27 16:23:58 +02:00
Roman Telezhynskyi
9ee7b467d5 Completely skip RHEL that does not provide Qt5 packages.
--HG--
branch : develop
2015-11-27 16:12:47 +02:00
Roman Telezhynskyi
c2deab80e1 Try to fix building on RHEL.
--HG--
branch : develop
2015-11-27 16:06:59 +02:00
Roman Telezhynskyi
ccc52239a7 Respect destination directory in "make install".
--HG--
branch : develop
2015-11-27 15:15:03 +02:00
Roman Telezhynskyi
b6506b2cae Wrong defining QLoggingCategory.
--HG--
branch : develop
2015-11-27 14:04:23 +02:00
Roman Telezhynskyi
bb83fb8f29 Updated valentina.spec file.
--HG--
branch : develop
2015-11-27 13:03:56 +02:00
Roman Telezhynskyi
5cb7abd0f4 Added valentina.dsc. Need for building Debian package with OBS.
--HG--
branch : develop
2015-11-27 13:02:57 +02:00
Roman Telezhynskyi
ee06681956 Valentina's svg logo files.
--HG--
branch : develop
2015-11-27 13:02:18 +02:00
Roman Telezhynskyi
31314fcb9b Updated debian files.
--HG--
branch : develop
2015-11-26 18:24:56 +02:00
Roman Telezhynskyi
aa410c6e76 Updated travis.yml.
--HG--
branch : develop
2015-11-26 15:00:43 +02:00
Roman Telezhynskyi
97d60004f6 Update debian files.
--HG--
branch : develop
2015-11-26 15:00:04 +02:00
Roman Telezhynskyi
f0691d7c9f Mark implicitly shared classes as a movable type. This can improve performance
and memory efficiency when using Qt's container classes.

--HG--
branch : develop
2015-11-25 20:56:17 +02:00
Roman Telezhynskyi
783e3d57c2 Support QGraphicsView autoscroll of a draged object.
--HG--
branch : develop
2015-11-25 19:26:37 +02:00
Roman Telezhynskyi
af1c40e027 Merge
--HG--
branch : develop
2015-11-25 15:47:51 +02:00
Roman Telezhynskyi
1e5fd5e28d Merge
--HG--
branch : develop
2015-11-25 15:45:54 +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 Telezhinskyi
f33910088c Merged in ValentinaZhuravska/valentina/feature (pull request #80)
Do not close application when can't open recent file if we have GUI mode

--HG--
branch : develop
2015-11-25 13:49:51 +02:00
Valentina Zhuravska
58d2410f11 Do not close application when can't open recent file if we have GUI mode
--HG--
branch : feature
2015-11-25 13:46:36 +02:00
Roman Telezhinskyi
88a61513ee Merged in ValentinaZhuravska/valentina/feature (pull request #79)
Correct save of currentDrawIndex

--HG--
branch : develop
2015-11-25 11:58:22 +02:00
Valentina Zhuravska
3d5e8c211d Move 'drawMode = false' inside to 'if' statement
--HG--
branch : feature
2015-11-25 11:52:50 +02:00
Roman Telezhynskyi
2bd5a22218 Fixed memory leak.
--HG--
branch : develop
2015-11-25 11:30:02 +02:00
Valentina Zhuravska
2fbd01d89a Correct save of currentDrawIndex
--HG--
branch : feature
2015-11-25 04:29:12 +02:00
Roman Telezhynskyi
8f47af2c56 GCC warning.
--HG--
branch : develop
2015-11-22 19:45:20 +02:00
Roman Telezhynskyi
954d08d3bf Lupdate.
--HG--
branch : develop
2015-11-22 19:44:11 +02:00
Roman Telezhinskyi
4c3eae4c80 Merged in ValentinaZhuravska/valentina/feature (pull request #78)
Tests for SumTrapezoids method in VAbstractDetail class

--HG--
branch : develop
2015-11-22 18:59:07 +02:00
Valentina Zhuravska
88503bb806 Added comments to tests for SumTrapezoids
--HG--
branch : feature
2015-11-22 18:56:49 +02:00
Roman Telezhynskyi
b7caafb0c4 Fixed test failure.
--HG--
branch : develop
2015-11-22 17:49:36 +02:00
Valentina Zhuravska
56d655f2ff Tests for SumTrapezoids method in VAbstractDetail class
--HG--
branch : feature
2015-11-22 17:08:22 +02:00
Roman Telezhynskyi
e8570f9812 Merge
--HG--
branch : develop
2015-11-22 17:02:08 +02:00
Roman Telezhinskyi
e0f0c51453 Merged in ValentinaZhuravska/valentina/feature (pull request #77)
The user must select points in a clockwise direction

--HG--
branch : develop
2015-11-22 17:01:17 +02:00
Valentina Zhuravska
d575ad5ad3 Return false if we have less than 3 points
--HG--
branch : feature
2015-11-22 16:58:58 +02:00
Valentina Zhuravska
3e9793dbbb We don't need variable points in method Square
--HG--
branch : feature
2015-11-22 16:47:50 +02:00
Valentina Zhuravska
6c653163f9 Erased QString(" ")
--HG--
branch : feature
2015-11-22 16:36:55 +02:00
Roman Telezhynskyi
0a67af35b3 Don't know why i did this, but this code did not allow change valies of known
measurement in standard table.

--HG--
branch : develop
2015-11-22 16:31:31 +02:00
Roman Telezhynskyi
64df6d8095 Standard table must provide 'height'.
--HG--
branch : develop
2015-11-22 16:30:06 +02:00
Valentina Zhuravska
d679187f15 Fixed SumTrapezoids method
--HG--
branch : feature
2015-11-22 15:58:31 +02:00
Valentina Zhuravska
40ef4732ca Changed SumTrapezoids method to static
--HG--
branch : feature
2015-11-22 03:01:56 +02:00
Valentina Zhuravska
e8deb4b29c The user must select points in a clockwise direction
--HG--
branch : feature
2015-11-22 01:52:18 +02:00
Roman Telezhynskyi
0e70d335ce Changes for new debian package.
--HG--
branch : develop
2015-11-21 19:34:23 +02:00