Commit Graph

29 Commits

Author SHA1 Message Date
Gaute Lindkvist
a2bad82391
#4736 System python command refactor (#4743)
* Move case loading commands from Commands to project and case
* Major refactor
* Fix problems with Python examples
* Add ability to export snapshot from just one view + fixup
* Case comments and black
* Make all modules pass pylint test
2019-09-23 11:50:33 +02:00
Magne Sjaastad
fe9e567825 #4683 clang-format on all files in ApplicationCode 2019-09-06 10:57:22 +02:00
Gaute Lindkvist
2c6191c94b
Merge branch 'dev' into feature-ensemble-rft 2019-08-28 12:56:27 +02:00
Jacob Støren
80f0273437 #4570, #4568 Ensemble support for --summaryplot 2019-08-28 10:12:53 +02:00
Jacob Støren
e04daa7596 #3950 Add the minimal --summaryplot commandline option.
Using shell globbing for filenames, and only one additional option implemented.
Avoid creating default plot when using --summaryplot
2019-08-28 10:12:52 +02:00
Gaute Lindkvist
2c5ca4ce46 Import and plot of FMU RFT data works 2019-08-26 12:52:07 +02:00
Magne Sjaastad
529f181689 #4601 Make sure 3D main window is focus window when opening grid 2019-08-23 14:01:01 +02:00
Magne Sjaastad
7b3155ab33 Help text editor : Set text widget as read only 2019-08-13 10:16:31 +02:00
Magne Sjaastad
31f4453135 #4540 Command line : Fix option --case without file extension 2019-08-09 12:27:36 +02:00
Jacob Støren
81de872c7b #4543, #4544 Fixed missing command line help text from menu-command and --help option.
Improved the error text when an unknown option is used.
Improved the dialog used to show command line options, and make the text selectable
2019-08-08 10:46:15 +02:00
Magne Sjaastad
58cef265ec #4538 Skip Save project at exit when no data has changed
Guard changes in preferences and reset change detector when project is closed
2019-08-07 14:21:37 +02:00
Gaute Lindkvist
3ba962aefb #4471 Implement python script running and editor in ResInsight GUI, same as Octave. 2019-07-26 14:54:54 +02:00
Gaute Lindkvist
c2bad4a686 #4421 Python: Add GRPC status to About dialog
* If the finish comes because the server is shut down,
  there is no m_eclipseCase
2019-06-11 12:40:35 +02:00
Gaute Lindkvist
58765ffdd4 Python: close project before QCoreApplication::quit when told to exit by gRPC call 2019-06-06 14:22:14 +02:00
Gaute Lindkvist
df2fe42c4a Python: gRPC timeout 2019-06-06 13:15:42 +02:00
Magne Sjaastad
2cbfecd2e6 #4475 Dock Windows : Always restore window visibility in plot window 2019-06-06 12:35:56 +02:00
Gaute Lindkvist
3530c8b3de #4460 #4424 Adding Exit() to the gRPC interface plus implemented test framework 2019-06-04 12:59:06 +02:00
Gaute Lindkvist
af83ee310f #4435 Make sure we don't ask user about changes to preferences that haven't been changed 2019-05-27 14:53:25 +02:00
Gaute Lindkvist
6ad0c8fbe1 gRPC: Fix up comments and clean up callback code 2019-05-23 16:47:02 +02:00
Gaute Lindkvist
b44f0a2029 #4418 Handle all queued gRPC requests per main loop iteration
* This means a streaming request should be completed in one main loop iteration
2019-05-20 15:20:49 +02:00
Gaute Lindkvist
922386c673
#4416 First implementation of gRPC-based Python interface
First implementation with Asynchronous gRPC server, a few services and some client python code.
2019-05-20 13:21:02 +02:00
Magne Sjaastad
a52afd7b34 #4410 Dock Window State : Set default visibility of dock widgets 2019-05-15 13:37:23 +02:00
Magne Sjaastad
699870c8c7 #4410 Dock Window State : Use hideAllDockWidgets() in base class 2019-05-15 12:31:27 +02:00
Magne Sjaastad
f43edf3c7d #4410 Dock Window State : Create static functions instead of singleton 2019-05-15 10:47:30 +02:00
Magne Sjaastad
a68650ebf8 #4410 Dock Window State : Remove obsolete code 2019-05-15 10:36:23 +02:00
Magne Sjaastad
1a67773ace #4410 Dock Window State : Remove obsolete functions 2019-05-15 07:35:53 +02:00
Gaute Lindkvist
07903a6324 Headless: handle unknown command arguments better 2019-05-06 13:35:05 +02:00
Gaute Lindkvist
274dee70fa Rename RiaApplication::handleEvents -> invokeProcessEvents 2019-05-06 10:40:05 +02:00
Gaute Lindkvist
57b33b0d4c
First implementation of Headless (#4392)
* Revert "#4377 Octave : Use RiaLogging for error messages instead of QErrorMessage "

This reverts commit f758a8edb2.

* Revert "#4380 Preferences : Changing scene font size when geo mech view is open causes crash"

This reverts commit df62a41397.

* Revert "#4379 Documentation : Update command line parser for import of summary files"

This reverts commit d0b5357ed4.

* Unfinished WIP

* Builds but crashes

* Refactored code now builds and runs

* ResInsight can now run the unittests headless

* Can run some command files successfully

* Build on Linux

* Extra headless hack header

* Moved PdmUiItem hack to cpp file

* Fix headless crash in RimWellAllocationPlot

* Handle error gracefully if ExportSnapshots command is executed from console

* Add caf::QIconProvider and remove some hacks

* Also made the greying out of disabled icons work for a couple of cases where it didn't.

* Linux build fix

* #4380 Reimplement fix df62a41397 by @magnesj on top of Headless code changes

* #4379 Reintroduce kode from d0b5357ed4 by @magnesj

* #4377 Restore f758a8edb2 in new Headless code
2019-05-06 10:36:05 +02:00