Commit Graph

33 Commits

Author SHA1 Message Date
Allen Winter
a2f4c972a6 update copyright year 2021-01-02 09:27:50 -05:00
Sergio Martins
d3224ed266 Fix -Wclazy-qstring-arg 2020-12-22 15:28:29 +00:00
Sergio Martins
d2da07508a Replaced an include with a fwd decl 2020-12-15 22:58:10 +00:00
Allen Winter
b4f49895c2 clarify: licensing is GPL2 or GPL3 or commercial licensed
follow the REUSE specs
2020-07-24 18:16:13 -04:00
Sergio Martins
d373585e0c get rid of some unneeded qobject_cast<FloatingWindow*> casts 2020-06-25 17:56:21 +01:00
Sergio Martins
0db40953ac fuzzer: don't dump invalid operations to the JSON 2020-05-13 19:37:47 +01:00
Sergio Martins
5eff4f8df8 fuzzer: fix dumping to JSON skipping some operations
Operations that don't have any parameters werent being saved
2020-05-11 00:04:26 +01:00
Sergio Martins
cc2aa13eb7 fuzzer: Fix dockByName() returning nullptr
dockStr() is just for printing purposes
2020-05-10 23:44:48 +01:00
Sergio Martins
7a2aa43b2d Fuzzer: Add SaveLayout and RestoreLayout operations too 2020-02-19 14:12:44 +00:00
Sergio Martins
7c10ab37f4 fuzzer: print description of skipped operation
involves making sure the description is generated
2020-01-22 11:54:09 +00:00
Sergio Martins
460d3f9ec1 fuzzer: Print the skipped operation 2020-01-22 11:48:04 +00:00
Allen Winter
df692686e7 various - update copyright year 2020-01-07 11:36:56 -05:00
Sergio Martins
195390aa9e Fix build with msvc2015, it doesn't have <optional> 2019-10-18 17:37:25 +01:00
Sergio Martins
60de4fd6a0 fuzzer: Generate the descriptions before running the operations
Because we want to print the state before running stuff, not how
the dockwidgets end up
2019-10-15 11:59:30 +01:00
Sergio Martins
f287258a5a fuzzer: Remove the pause action
It's annoying as the generator inserts it, and it's only indented
for debug. Instead of an action add a field for the json.
2019-10-14 23:18:13 +01:00
Sergio Martins
ad4c77e15a fuzzer: Add -f option to force dumping json
When loading from json we don't dump. But it's useful to regenerate
the old json in case the format was upadted with more fields.
2019-10-14 22:46:12 +01:00
Sergio Martins
d4306b458e fuzzer: Add a comment field to the json
So it's easier to read the json
2019-10-14 22:09:15 +01:00
Sergio Martins
09101e9252 fuzzer: Don't allow Pause action to pause during regular runs
We only want to pause when we add it ourselves in the json
2019-10-13 23:49:39 +01:00
Sergio Martins
a0e3f32a63 fuzzer: Don't add as tab a widget that's already in the same mainwindow
Remove the testcase json, since this case shouldn't be tested
2019-10-13 23:49:10 +01:00
Sergio Martins
fb52c4053e fuzzer: Add a Pause action, for debugging purposes 2019-10-13 22:51:01 +01:00
Sergio Martins
dd580a0f2f fuzzer: Don't generate random params when replaying
When replaying we want to replay with the params we read from json
2019-10-13 21:32:43 +01:00
Sergio Martins
3c6625164c fuzzer: add a method to check if the operation has params 2019-10-13 21:14:34 +01:00
Sergio Martins
d23eb035b9 fuzzer: Don't add dock widget to tabwidget already containing it 2019-10-13 18:51:41 +01:00
Sergio Martins
e278d0108a Add OperationBase::newOperation() to avoid duplicated code 2019-10-13 18:41:27 +01:00
Sergio Martins
ae439e0dad fuzzer: Add new operation: AddDockWidgetAsTab 2019-10-13 18:34:51 +01:00
Sergio Martins
0ca0ad492b fuzzer: don't require dock widgets to exist when loading json
They'll be created later. So use their name instead of a pointer
to them.
2019-10-13 17:50:50 +01:00
Sergio Martins
78efe4097f fuzzer: Add fromVariantMap(), so we can read the json 2019-10-13 14:03:23 +01:00
Sergio Martins
09b2d749fa fuzzer: Don't hide hidden dock widgets and don't show visible ones 2019-10-12 10:13:12 +01:00
Sergio Martins
954fb271d3 fuzzer: Also serialize the AddDockWidget operation 2019-10-11 17:04:26 +01:00
Sergio Martins
2769c8a789 fuzzer: Fix serializing QRect and QSize 2019-10-11 15:09:24 +01:00
Sergio Martins
005e811eaa fuzzer: Fix hidding/showing operations
They werent receiving a dock widget name.
Normalized them, they now receive Fuzzer* via ctor
2019-10-11 13:33:13 +01:00
Sergio Martins
233d3f14cc fuzzer: AddDockWidget operation now works 2019-10-11 13:20:16 +01:00
Sergio Martins
e432c0d409 fuzzer: Move fuzzer into a fuzzer/ directory 2019-10-11 12:45:34 +01:00