Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save and restore webbrowsers [DISCL-6] #97

Merged
merged 2 commits into from
Oct 28, 2016

Conversation

rdumusc
Copy link

@rdumusc rdumusc commented Oct 26, 2016

No description provided.

@rdumusc
Copy link
Author

rdumusc commented Oct 27, 2016

Bug fixed: https://github.com/BlueBrain/Tide/pull/97/files#diff-c9226f34c0371355af8c7a50e70820b6R82
This demonstrate once again the usefulness of unit testing - this unexpected regression caused by an external dependency could easily have gone unnoticed..

Copy link
Contributor

@tribal-tec tribal-tec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uff, long review... Don't expect high-quality reviews with some many changes in 1 commit. I tried my best.


#include "ThumbnailGenerator.h"

class WebbrowserThumbnailGenerator : public ThumbnailGenerator
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doxygen? At least the motivation why webbrowser needs a specialized thumbnail generator.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, will do. I got lazy because none of the existing ThumbnailGenerator classes had been documented so far.

*/
enum class StreamType
{
STANDARD,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EXTERNAL?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good suggestion, thanks.

@@ -203,7 +193,7 @@ void CommandLineOptions::_parseCommandLineArguments( int& argc, char** argv )
}

_getHelp = vm.count( "help" );
_streamname = vm["streamname"].as<std::string>().c_str();
_streamId = vm["streamname"].as<std::string>().c_str();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change the commandline option name as well? Or why the 'inconsistency' is introduced?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I will adapt further - the idea is to adjust to previous changes in deflect::Stream API which now uses id instead of name.

@rdumusc rdumusc merged commit f14df6e into BlueBrain:master Oct 28, 2016
@rdumusc rdumusc deleted the webbrowsers branch October 28, 2016 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants