Commit Graph

882 Commits

Author SHA1 Message Date
Jacob Støren
cd5943a39c #4555 Fix errors in filter behavior.
Handle double separators
Handle */ pathfilter correctly (no recursive search)
2019-08-16 09:05:15 +02:00
Gaute Lindkvist
84495641f9 Fix problem with wrong return value for RiaImportEclipseCaseTools method 2019-08-14 09:08:55 +02:00
Magne Sjaastad
7b3155ab33 Help text editor : Set text widget as read only 2019-08-13 10:16:31 +02:00
Magne Sjaastad
94e71b900c Improve help text 2019-08-13 10:12:32 +02:00
Jacob Støren
b5d9a47fdc #4556 Command Line Help: Improve help text
Group options using newline
Fix misleading --case description
2019-08-12 08:35:12 +02:00
Magne Sjaastad
31f4453135 #4540 Command line : Fix option --case without file extension 2019-08-09 12:27:36 +02:00
Magne Sjaastad
0bb84b22a5 #4540 : Include full path when working with extensions 2019-08-09 12:27:36 +02:00
Jacob Støren
e915c8e18c #4003 Refactoring to prepare for preferences based default summary plot curves 2019-08-09 09:54:55 +02:00
Jacob Støren
b2adea51e3 #4001 Improved windows console support. Other shells than native also supported. Preparations for Summary plotting command line parameters. 2019-08-08 13:33:51 +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
8cb3ac5b1f #4538 Check fullPathProjectFileName instead of project 2019-08-07 16:32:07 +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
Magne Sjaastad
ec1cf83b4e #4483 Summary Plot: Data source for well segment number and completions 2019-08-05 21:53:48 +02:00
Gaute Lindkvist
25f13122a2 #4517 Implement highlighting function for plot curves 2019-08-02 13:13:23 +02:00
Gaute Lindkvist
b8d6c6b958 Make sure default text editor is actually used in RiaPreferences-defaults 2019-07-31 11:41:06 +02:00
Gaute Lindkvist
010b573afb Python: add extra path to PythonPath for Linux 2019-07-30 14:31:45 +02:00
Gaute Lindkvist
20832dfc88 Scripts: set sensible default editors on Windows and Linux 2019-07-30 14:05:48 +02:00
Gaute Lindkvist
357c722b4b #4525 Increase default plot font size to 10 2019-07-30 12:51:18 +02:00
Gaute Lindkvist
7fcb1afe6c Python: Move gRPC settings into Python group and rename UI items to remove gRPC-terminology 2019-07-30 12:32:10 +02:00
Gaute Lindkvist
7c30af62c2 #4528 #4512 Fix script-locations when loading project and remove initScriptDirectories()
* Disable IO for scriptlocations and make sure we save it in preferences when editing
* The next valid case Id stuff in initDirectories is irrelevant because it always runs on an
  empty project
2019-07-30 12:32:10 +02:00
Gaute Lindkvist
acde63a7e0 Fix build problem without GRPC enabled in RiaApplication.cpp 2019-07-27 11:15:32 +02:00
Gaute Lindkvist
c1a89ec10e #4522 Ensure ResInsight does not run if the setuid bit is set on the executable.
* If you run a GUI-version this is likely to be checked anyway through Qt or GTK+ but not the console version.
2019-07-26 16:28:24 +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
000ce6db52 #4509 Guard access to gui application code in import and well path code to avoid crashes in console mode 2019-07-25 15:54:20 +02:00
Gaute Lindkvist
6b7a9b8da5 #4463 Working creation of grid case groups 2019-07-18 13:43:28 +02:00
Magne Sjaastad
3c644629df #4136 Export of Flow Characteristics : Use CSV text export 2019-06-23 18:32:05 +02:00
Magne Sjaastad
5067c6ce9c #4503 Framework : Add support for passing text data to command features 2019-06-23 15:02:45 +02:00
Magne Sjaastad
a3d521e272 #4402 Ensembles: Remove Preference import option 'Separate Case' for Origin ensembles 2019-06-21 09:11:10 +02:00
Magne Sjaastad
41235a2f00 #4490 Command Features : Add support for setting application state to be used in features 2019-06-17 09:02:26 +02:00
Magne Sjaastad
a5670cdb0e #4482 Summary Plot: Missing curve if same case name, but different folders 2019-06-13 17:34:25 +02:00
Magne Sjaastad
a6210cfcc1 Whitespace 2019-06-13 17:32:47 +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
979a109f80 #4476 Fix reload of group by formation when a 3d Filter View is enabled
* Need to ensure the display model has been created by the time the cross plot is created.
2019-06-11 11:08:11 +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
Magne Sjaastad
4c54ec8522 #4464 LAS files : Reintroduce wellPathCollection->addWellLogs(wellLogFilePaths)
This function was removed unintentionally as part of the splitting of GUI/console application.
2019-06-05 21:59:05 +02:00
Gaute Lindkvist
7444007219 #4470 Fix crashes when launching headless 2019-06-05 14:28:48 +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
debf15bbbe Fix test filter in regression test runner 2019-05-27 14:53:25 +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
cc031e7895 #4429 Implement return values from the gRPC Command execution 2019-05-23 16:47:02 +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
bfe8e7176a #4410 Dock Window State : Restore dock widgets when opening main window 2019-05-15 13:54:05 +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
b824f1d75f #4407 Make sure we convert fontInScene from point size to enum value from old registry settings 2019-05-13 15:46:31 +02:00
Gaute Lindkvist
29ec970b02 Qt4 fix 2019-05-06 15:03:24 +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
Magne Sjaastad
d0b5357ed4 #4379 Documentation : Update command line parser for import of summary files 2019-05-03 07:49:53 +02:00
Magne Sjaastad
1f5d4030b9 #4384 Preferences : Missing default font sizes 2019-04-30 12:36:53 +02:00
Magne Sjaastad
df62a41397 #4380 Preferences : Changing scene font size when geo mech view is open causes crash
Guard access to annotationCollection, as this is nullptr for geo mech views.
2019-04-30 07:40:00 +02:00
Magne Sjaastad
80718901d1 #4377 Octave : Remove obsolete developer setting in Preferences 2019-04-29 08:05:03 +02:00
Magne Sjaastad
f758a8edb2 #4377 Octave : Use RiaLogging for error messages instead of QErrorMessage 2019-04-29 08:02:15 +02:00
Magne Sjaastad
60153b20ec
Merge pull request #4350 from OPM/cpp-check-cleanup
Cpp check cleanup
2019-04-24 09:09:18 +02:00
Magne Sjaastad
6dd3b36f86 Regression Test : Allow execution of tests starting at filter folder 2019-04-24 08:06:13 +02:00
Gaute Lindkvist
2e13e53b3c Make the preference dialog slightly narrower 2019-04-23 08:38:49 +02:00
Gaute Lindkvist
0861a79dfa #4320 Add create valve to 3d context menu when clicking on perforation 2019-04-23 08:25:39 +02:00
Magne Sjaastad
8d4142187e #4348 System , cppcheck : Remove unused functions 2019-04-21 09:11:20 +02:00
Magne Sjaastad
b786c2c5f3 #4348 System , cppcheck : Remove unused functions 2019-04-21 07:53:52 +02:00
Magne Sjaastad
159f3fa0fc clang : Identify gridfile correctly 2019-04-20 19:47:33 +02:00
Magne Sjaastad
4ec289a7fa #4348 System , cppcheck : Remove unused variables 2019-04-20 14:01:47 +02:00
Gaute Lindkvist
edf46496b7 #4341 Make docked plots follow font size preferences (but subtract 1 in point size)
* The docked plots have much less space available than most plots
2019-04-15 15:08:15 +02:00
Gaute Lindkvist
93f76d9739 Fix labels to match Documentation 2019-04-15 12:44:14 +02:00
Gaute Lindkvist
9d06b59357 #4255 Read default plot font sizes from preferences and apply 2019-04-12 14:47:21 +02:00
Gaute Lindkvist
798e3ff19e #4256 Update fonts in Project and views when changing preferences 2019-04-12 14:47:21 +02:00
Magne Sjaastad
5c3c031938 #4306 Octave : Increase timeout when starting octave process 2019-04-09 15:11:03 +02:00
Magne Sjaastad
26f89f6e35 #4016 Observed Cases : Simplify access functions 2019-04-05 10:11:30 +02:00
Gaute Lindkvist
7d78956781 #4196 Apply background color, well label color and z-scale automatically from preferences
* Ask to change existing views if their values are different from the previous Preferences default
2019-04-03 08:39:26 +02:00
Gaute Lindkvist
209146ebae #4260 Support changing IJK bounding box in sector model and remodel UI 2019-04-02 09:51:58 +02:00
Magne Sjaastad
2a534f88df #4251 Saturation Pressure Plots: Create curves only for unique values from EQLNUM 2019-03-29 15:15:15 +01:00
Magne Sjaastad
c4b0bf5890 #4221 MDI window : Move MDI handling to RiuMainWindowBase 2019-03-29 08:26:34 +01:00
Gaute Lindkvist
75b0905e26 #4243 Grid Cross Plot: Make legend icons black & white when grouping is enabled and set size from font size 2019-03-29 07:53:54 +01:00
Gaute Lindkvist
ee5935aad6 Linux build fixes 2019-03-29 07:53:54 +01:00
Gaute Lindkvist
4ada37c218 #4243 Fix crash in import EGRID or SMSPEC by moving to general import feature 2019-03-28 20:31:45 +01:00
Gaute Lindkvist
ec525e8774 Move ProgressBlocker creation to unit test launch method 2019-03-22 15:28:03 +01:00
Gaute Lindkvist
f8102797c1 #4208 Store last used folder when exporting Sector Model + warning for LGRs 2019-03-21 14:45:47 +01:00
Magne Sjaastad
614a3628f0 Add collection and feature to create saturation pressure plots 2019-03-18 12:52:11 +01:00
Gaute Lindkvist
52d2eed98b Fix log axis crash in Grid Cross Plot and refactor log axis range code 2019-03-14 09:58:12 +01:00
Gaute Lindkvist
d2393cb8a5 #4156 Simplify curve naming code 2019-03-07 14:20:28 +01:00
Gaute Lindkvist
4c5ffffd60 Set all pointers in RiaApplication to null in constructor initialisation list 2019-03-07 10:21:31 +01:00
Gaute Lindkvist
0cc1b256b2 Add back missing whitespace between functions in RiaApplication 2019-03-07 10:21:23 +01:00
Gaute Lindkvist
fd01871202 #4173 Fix problems with saving state when closing 3d Window before closing plot window 2019-03-07 09:13:56 +01:00
Gaute Lindkvist
8845c456bc Grid Cross Plot: Use the term Grouping instead of Categorization 2019-03-05 13:35:35 +01:00
Gaute Lindkvist
ac7eccee88 #4157 Grid Cross Plot: Make categorisation legend more like ensemble legend 2019-03-05 10:41:41 +01:00
Gaute Lindkvist
89a68d099a #4156 Don't show the common part of Grid Cross Plout curve names in legend 2019-03-05 10:41:41 +01:00
Magne Sjaastad
728eb79a3d #4165 Regression Test : When running on build server, do not open report in browser locally 2019-03-04 11:35:25 +01:00
Gaute Lindkvist
1e994ac8b8 #4117 Improve time step names for Grid Cross plot categorisation 2019-02-27 11:38:35 +01:00
Gaute Lindkvist
7e57ec39ea 3D Cross Plot: Improve colors and symbols in legend 2019-02-21 15:42:40 +01:00
Magne Sjaastad
287ff64fc2 System : Output messages to std cout when running regression tests from command line 2019-02-21 13:13:19 +01:00
Gaute Lindkvist
a010fc03d7
3d Cross Plot: First implementation (#4127)
* First cross plot commit

* Made cross plot deal with "all time steps" and categorise curves based on time step

* Support STATIC vs DYNAMIC plotting

* #4115 Avoid updating plots in RimEclipseCase::computeCachedData()

* Make sure loading of Cross plot from file works

* Show Legend in Cross Plot

* Uncheck / Check curves to disable/enable

* Axis titles and checkable data set

* Name config and setting of common plot look

* Fix category indentation in GeoMech results

* Support name configuration for Grid Cross Plot

* Support adding new curve sets

* Improve colors and symbols with better cycling

* Moved GridCrossPlot files to sub directory in ProjectDataModel and Commands

* #4111 3D calculations : Always show difference options

* Whitespace

* #4111 Move resultDefinition field to private

* Whitespace

* #4087 Ensemble : When importing and ensemble, show by default an ensemble plot

* #4085 3D view: Improve overlay item colors

* #4106 Crash on Linux

Temporary workaround to avoid crash

* #4106 Stop trying to do recursive setting tab order widget

* The double pointer was handled wrongly and shift-tab order isn't working anyway.

* #4114 Regression Test : Remove cached pointer to eclipse case

* Revert "#4114 Regression Test : Remove cached pointer to eclipse case"

This reverts commit f2146c6007.

* #4114 Regression Test : Missing data for flow diag property filter

* #4085 3D view: Add check box for version info text

* Whtespace

* Improve labelling of static results

* Fix update of result property when changing type
2019-02-21 12:52:23 +01:00
Magne Sjaastad
a0c983a84e #4095 System : Add preferences to control project changed and Octave warning dialogs 2019-02-15 09:07:13 +01:00
Magne Sjaastad
93eca21b69 #4068 System : Add forward declare 2019-02-12 14:49:37 +01:00