Commit Graph

4853 Commits

Author SHA1 Message Date
Sirius Bakke 4d871e4c6f Merge branch 'revert-recursive-subfolder'
A subfolder is currently mostly visual. In the document
it is implemented as a subfolder attribute on the parent and
folder attribute on the child. The child objects are siblings
whether they are put in a subfolder or not.

This contributed idea of subfolders in subfolders is a good idea,
but currently will lead to many bugs. If the feature is desired
a different implementation is required.
2019-06-10 20:17:21 +02:00
Sirius Bakke 19d5968728 Revert "preliminary version -can now add subfolders to subfolders"
This reverts commit 84bc471db8.
2019-06-10 19:46:09 +02:00
Sirius Bakke cc0f4483bd Revert "can now add subfolders need to implement saving & loading functionality"
This reverts commit 7642f391af.
2019-06-10 19:43:50 +02:00
Sirius Bakke 780ef56f3f Revert "set detailed folder name"
This reverts commit d6e48b3313.
2019-06-10 19:40:03 +02:00
Sirius Bakke 03ed123626 chore: Add support for mxe w32 and cmake 2019-06-09 23:46:58 +02:00
Sirius Bakke 773b3dc6fa
Merge pull request #87 from rezso/patch-1
find required libxslt
2019-05-31 10:01:23 +02:00
rezso 4a478ccf5d
find required libxslt 2019-05-31 00:42:33 +02:00
Sirius Bakke fe8be2e61d fix: Remove colliding header guards
Github: fixes 85
2019-05-20 22:55:13 +02:00
Sirius Bakke 27a9ae6752 fix: Handle nullptr when adding object
Github: fixes 50
2019-02-21 00:56:48 -03:00
Sirius Bakke 30e01bdb89 fix: Initialize variable to nullptr
Github: fixes #67, fixes #81
2019-02-21 00:56:48 -03:00
Sirius Bakke c572b9da3d chore: Update debuild scripts to use cmake 2019-02-21 00:56:41 -03:00
Sirius Bakke 16f6de69d0 doc: Update build instructions
Github: fixes #65
2019-02-21 00:55:42 -03:00
Sirius Bakke 5b2d0e297d chore: Add support for CMake
TODO: Support macOS and Windows
2019-02-20 00:12:56 -03:00
Andrew McMillan 2470c3dfb9 For dark theme also rewrite Standard library color to dark blue
This changes the background colour for the Standard library to dark blue,
even when loading from file.  Potentially this could check for the
standard #d4f8ff value before doing this in case someone had manually
customised their `objects_init.xml` template but I think that would be
better to wait for a proper theming solution.
2018-12-24 16:57:50 +00:00
Andrew McMillan b8ced0cbb8 Use dark background for Standard library if dark theme active
Unfortunately this only applies when fwbuilder is opened without a
filename.  When a file is loaded the standard library color will be
applied again from the library template.
2018-12-24 16:40:10 +00:00
Andrew McMillan 7c2228b205 Choose dark green background when initialising the User tree and dark theme active
Note that this will be overridden by the color value from the file that is
loaded, but will apply for new files created.
2018-12-24 16:35:42 +00:00
Andrew McMillan 615d3d3991 When a dark palette is in effect lighten row for highlight
Using a small amount of lightening makes the white text more readable than
on "silver", and doesn't interfere with the in-cell highlighting in blue &
red.
2018-12-24 15:13:20 +00:00
Andrew McMillan c74c7d1e8e Fix missing semicolon 2018-12-23 23:18:18 +00:00
Andrew McMillan d14cbb406d Set a white text color if the background is dark
This checks that the "grayness" of the background is less than 100
and switches to use white for the text color if so.

Testing against a dark theme here suggests that this helps a lot. The
"grayness" for a dark theme is typically less than 60, but contrast issues
should start to disappear around 100.
2018-12-23 22:33:58 +00:00
Sirius Bakke 95e17034ea fix: Use toolchainType for setting properties
Except for mingw where the current version of qbs
reports undefined for toolchainType
2018-10-04 17:53:03 +02:00
Sirius Bakke 2d46b39188 fix: Report errors from buildscripts 2018-10-04 17:03:07 +02:00
Sirius Bakke 6afe1fc916 refactor: Use -Wno-overloaded-virtual 2018-10-04 17:01:22 +02:00
Sirius Bakke 8371c531de chore: Properly read environment variables 2018-10-04 16:51:25 +02:00
Sirius Bakke ece29b5e0c chore: Windows doesn't like file names containing colons 2018-10-04 16:43:28 +02:00
Sirius Bakke d2a2806ada feat: MSVC 64bit support 2018-10-04 16:43:23 +02:00
Sirius Bakke f43700d9b1 refactor: Move -Wno-overloaded-virtual to build system 2018-10-04 16:20:03 +02:00
Sirius Bakke bf349a12f6 feat: Use C++11 threads 2018-10-04 16:20:03 +02:00
Sirius Bakke 9a50941938 feat: Use QCommandLineParser instead of getopt 2018-10-04 16:20:03 +02:00
Sirius Bakke c30dc1c24d refactor: Use back compat fallthrough comment 2018-10-04 16:20:03 +02:00
Sirius Bakke 896238c0e7 refactor: Disable -Wshift-negative-value 2018-10-04 16:20:03 +02:00
Sirius Bakke e1409f0477 refactor: Adhere to the ODR rule 2018-10-04 16:20:02 +02:00
Sirius Bakke 65a2009f97 refactor: Disable unused variables in production code 2018-10-04 16:20:02 +02:00
Sirius Bakke a8f38647c9 refactor: NULL -> nullptr 2018-10-04 16:20:02 +02:00
Sirius Bakke 1dba7aaae4 refactor: Add cast operators for XMLTools 2018-10-04 16:20:02 +02:00
Sirius Bakke e208ca68bb refactor: Remove unused files 2018-10-04 16:20:02 +02:00
Sirius Bakke 2bc73bc65a refactor: Fix libxml2 parentheses warnings 2018-10-04 16:20:02 +02:00
Sirius Bakke a33f73b394 refactor: Initialize variables 2018-10-04 16:20:01 +02:00
Sirius Bakke 0cf32a26b5 refactor: Remove malloc and free 2018-10-04 16:20:01 +02:00
Sirius Bakke b4e9abb25e refactor: Add more compiler flags 2018-10-04 16:20:01 +02:00
Sirius Bakke 667241a9ba chore: disable Ubuntu 16.04 for now 2018-09-12 23:44:52 +02:00
Sirius Bakke bc162213bb fix: travis: correct Ubuntu 16.04 script 2018-09-12 21:53:27 +02:00
Sirius Bakke c042834098 fix: travis: update build scripts for Ubuntu 2018-09-12 21:11:00 +02:00
Sirius Bakke 946831ae59 fix: qbs: use correct version string 2018-09-12 21:09:19 +02:00
Sirius Bakke 80c9296910 chore: Update travis and build files 2018-09-12 20:21:31 +02:00
Sirius Bakke 7824066a96 feat: Apply modernize-use-nullptr 2018-09-12 20:21:26 +02:00
Sirius Bakke defc5c7b63 feat: Remove automake and qmake files 2018-09-12 20:21:21 +02:00
Sirius Bakke ea85cab17b feat: Remove unneeded header includes 2018-09-12 20:21:12 +02:00
Sirius Bakke 91cd514744 fix: pflib constants 2018-09-12 20:21:05 +02:00
Sirius Bakke 2714593277 fix: Remove unneeded checks 2018-09-12 20:21:00 +02:00
Sirius Bakke fc77645e2d fix: Define FREEXMLBUFF 2018-09-12 20:20:53 +02:00