Ester Lindgren
ba0685227f
Merge branch 'master' into thesis/2021/skybrowser
2021-04-06 08:52:11 +02:00
Alexander Bock
52b020d836
Include strict lua file, throw error in configuration loading when overriding with unused variable
...
- Preventing True/true bug
- Fix issue with unused variable in configuration_helper
2021-04-01 23:37:35 +02:00
Alexander Bock
4ca82fff19
Remove warnings on Apple clang
2021-03-29 23:16:15 +02:00
Alexander Bock
0bfe3f6d72
MacOS compile fix
2021-03-29 21:56:01 +02:00
Alexander Bock
612b9bbc7f
Moving more documentation to use codegen ( #1549 )
...
- Make use of more codegen in more classes
- Fix verifier for Color4Verifier
2021-03-29 21:50:26 +02:00
Alexander Bock
797ddf7daf
Fix some warnings on AppleClang
2021-03-29 14:58:19 +02:00
Alexander Bock
e88650f22c
Tiny coding style fixups
2021-03-27 23:49:02 +01:00
Alexander Bock
f47d62a5ee
Fix verifier for Color4Verifier
2021-03-27 22:16:04 +01:00
Alexander Bock
a6bb8cdecb
Split DashboardTextItem from DashboardItem
2021-03-24 17:46:13 +01:00
Emma Broman
38f5a12c24
Avoid crash in RenderEngine if screenshot token has not been registered
...
This is the case in for example the test application
2021-03-24 14:02:05 +01:00
Alexander Bock
0d82e1848f
Feature/configuration codegen ( #1544 )
...
Convert configuration document over to codegen
2021-03-23 15:22:29 +01:00
Ylva Selling
fbc05244e1
Make it possible to add many browsers and targets by moving functionality to ScreenSpaceRenderable
2021-03-23 09:44:14 +01:00
Alexander Bock
196a98b0c6
Add ability to StringVerifier to test for non-emptiness
2021-03-23 00:13:52 +01:00
Alexander Bock
2f36c7d88c
Use codegen in LogFactory
2021-03-22 23:40:47 +01:00
Alexander Bock
dfc42e9467
Rename createSingeColorImage -> createSingleColorImage
2021-03-22 23:17:42 +01:00
Alexander Bock
c7f77e3286
Add property to determine whether the date should be added to the screenshot folder ( #1535 )
...
closes #1528
2021-03-22 15:49:30 +01:00
Ylva Selling
3573859ffe
Add resizing functionality to all corners and side of browser
2021-03-18 16:13:46 +01:00
Alexander Bock
ed980bb5d8
Add support for passing shared pointers into the OrVerifier
2021-03-17 00:18:53 +01:00
Micah Acinapura
4a51c3dce7
prevent renderbin change for overlay renderables ( #1519 )
...
* prevent renderbin change for overlay renderables
* Fix line length
Co-authored-by: Alexander Bock <mail@alexanderbock.eu >
2021-03-08 15:31:56 -05:00
Micah
2158dd585c
creating user directories if not existing;
2021-03-04 16:00:34 -05:00
Malin Ejdbo
4fb8a36952
Merge branch 'master' into feature/multitexturing
...
* Resolve conflicts
2021-03-02 15:49:39 +01:00
Emma Broman
29e77534c7
Make use of new verifiers (Color and File) ( #1510 )
...
* Use codegen for renderable discs
* Utilize color and file verifier
* Add missing property assignment in exoplanets module
2021-03-02 08:11:49 +01:00
Micah Acinapura
eec6b15781
Feature/user profiles assets ( #1496 )
...
* added user profile/asset tokens to config, launcher and profile editor
* creating one user directory for data, config, screenshots, recordings
2021-03-02 01:36:32 -05:00
Emma Broman
d5671e0321
Include potential explanation when stringifying TestResult Offense
2021-02-25 12:57:46 +01:00
Emma Broman
10eabaa1a6
Prevent TaskRunner crashing on specification error
2021-02-25 12:46:57 +01:00
Malin E
9acbdb2446
Merge pull request #1504 from OpenSpace/issue/1466
...
Issue/1466
2021-02-18 09:03:35 +01:00
Alexander Bock
6837bad5b0
Tiny cleanups
2021-02-17 16:18:08 +01:00
Malin Ejdbo
d3a04825bb
Merge branch 'master' into issue/1466
2021-02-17 14:25:55 +01:00
Malin Ejdbo
9372382e78
Add possibility to have * at the end and tags + *
2021-02-17 14:16:10 +01:00
Malin Ejdbo
9143316111
Match property name better to avoid false matches
2021-02-16 09:28:02 +01:00
Malin Ejdbo
edff4b537c
Add warning if regex contains two or more wildcards
...
* Find that replaces std::regex currently does not support two or more
wildcards in an expression
2021-02-15 14:30:25 +01:00
Malin Ejdbo
ace8df0692
Do not miss matches when searching with regex
2021-02-15 14:28:23 +01:00
Alexander Bock
da31d1e375
Properly handle SpecificationErrors when initializing Modules ( closes #1502 )
2021-02-15 11:20:27 +01:00
Alexander Bock
23f24c50fe
Update Ghoul and remove explicit generation of ConsoleLog
2021-02-13 18:33:28 +01:00
Alexander Bock
dfa223abef
Make use of std::filesystem::path and cleanup specification error messages
2021-02-13 12:00:26 +01:00
Alexander Bock
e7bcb774ee
Add new verifiers for files and directories. Update codegen to be able to create these
2021-02-13 10:44:21 +01:00
Malin Ejdbo
f34805beeb
Remove false matches while matching whole string
2021-02-12 16:53:04 +01:00
Alexander Bock
afd484044d
Better support for colors in dictionaries ( closes #1489 )
...
- Add a new Color3Verifier and Color4Verifier that checks components to be in [0,1]
- Update codegen to add a new attribute [[codegen::color()]] to mark a vec3/vec4 to be a color value
- Update RenderableTrail to use the new verion
2021-02-12 12:59:00 +01:00
Malin Ejdbo
5772fc621c
Improve find that replace regex
...
* Enable * in the begining of string
* Enable search without *
2021-02-12 11:23:45 +01:00
Malin Ejdbo
e70ba00757
Remove regex from scene_lua.inl
...
* Replace with find functions
2021-02-12 09:19:14 +01:00
Emma Broman
11e5bc36ab
Prevent exception when querying renderable of non-existing SGN
2021-02-11 16:24:36 +01:00
Alexander Bock
88122d1dbb
Adapt to new Ghoul; fix previously undetected errors in uniform setting
2021-02-11 14:44:13 +01:00
Alexander Bock
548d673e8b
Add drag and drop support for images and assets ( #1497 )
2021-02-11 13:43:36 +01:00
Alexander Bock
6d821d4f91
Feature/codegen ( #1480 )
...
* Add the ability to automatically generate code to extract values out of a Dictionary (see https://github.com/openspace/codegen for more information on how to use this)
* Applied this technique to a large number of cases in the codebase
* Don't add _codegen files to the repository
Co-authored-by: Emma Broman <emma.broman@liu.se >
2021-02-09 09:12:43 +01:00
Emma Broman
3f63f92128
Add test cases for the create single color image lua function
2021-02-04 13:25:17 +01:00
Emma Broman
91612f4bfd
Merge pull request #1468 from OpenSpace/issue/1438
...
Add habitable zone for our Sun and some useful generic classes
2021-02-03 08:39:12 +01:00
Emma Broman
0b9b42e0bf
Rename single color image function
2021-02-03 08:33:55 +01:00
Alexander Bock
c8fc369fb1
Fixed issue preventing the rendering of color properties
2021-02-01 13:55:53 +01:00
Alexander Bock
e50ca7aded
Try a fix against random crashes at startup when loading configuration
2021-02-01 13:31:28 +01:00
Emma Broman
f2eb81a450
Merge branch 'master' into issue/1438
2021-02-01 13:16:18 +01:00