Rename "Variable Inspector" into "Expression Inspector"

	* src/persp/dbgperspective/nmv-expr-inspector-dialog.cc: Renamed
	src/persp/dbgperspective/nmv-var-inspector-dialog.cc into this,
	and renamed most references to "variable monitor" to "expression
	monitor.
	* src/persp/dbgperspective/nmv-expr-inspector-dialog.h: Renamed
	src/persp/dbgperspective/nmv-var-inspector-dialog.h into this and
	and renamed most references to "variable monitor" to "expression
	monitor..
	* src/persp/dbgperspective/nmv-expr-inspector.cc: Renamed
	src/persp/dbgperspective/nmv-var-inspector.cc in to this and
	renamed most references to "variable monitor" to "expression
	monitor.
	* src/persp/dbgperspective/nmv-expr-inspector.h: Renamed
	src/persp/dbgperspective/nmv-var-inspector.h into this and renamed
	most references to "variable monitor" to "expression monitor.
	* po/POTFILES.in: Adjust.
	* src/persp/dbgperspective/Makefile.am: Likewise.
	* src/persp/dbgperspective/menus/menus.xml: Likewise.
	* src/persp/dbgperspective/nmv-dbg-perspective.cc: Likewise.
Updated Polish translation
542503 - Initial support for monitoring expressions

	* src/dbgengine/nmv-i-debugger.h (Variable::id)
	(Variable::is_morally_root): New methods.
	* src/persp/dbgperspective/ui/exprinspectordialog.ui: Add a new
	"add to monitor" button.
	* src/persp/dbgperspective/nmv-expr-monitor.{cc,h}: New file.
	* src/persp/dbgperspective/menus/exprmonitorpopup.xml: New
	description file for the contextual menu.
	* src/persp/dbgperspective/Makefile.am: Add
	nmv-expr-monitor.{h,cc} and exprmonitorpopup.xml to the build
	system.
	* po/POTFILES.in: Add src/persp/dbgperspective/nmv-expr-monitor.cc
	to the list of translatable source files.
	* src/persp/dbgperspective/nmv-expr-inspector-dialog.h: Add
	comments.
	(ExprInspectorDialog::FunctionalityFlags): New enum.
	(ExprInspectorDialog::functionality_mask): New accessors.
	* src/persp/dbgperspective/nmv-expr-inspector-dialog.cc
	(ExprInspectorDialog::Priv::{add_to_monitor_button,expr_monitor_requested,
	fun_mask}): New members.
	(ExprInspectorDialog::Priv::Priv): Initialize new fun_mask member.
	(ExprInspectorDialog::Priv::on_do_monitor_button_clicked)
	(ExprInspectorDialog::Priv::functionality_mask): New functions.
	(ExprInspectorDialog::Priv::build_dialog): Initialize the
	add_to_monitor button.
	(ExprInspectorDialog::Priv::on_var_name_changed_signal): Inspect
	button is now controlled by FUNCTIONALITY_EXPR_INSPECTOR flag.
	(ExprInspectorDialog::Priv::on_variable_inspected):  Add to monitor
	button is now controlled by FUNCTIONALITY_EXPR_MONITOR_PICKER
	flag.
	(ExprInspectorDialog::expr_monitoring_requested)
	(ExprInspectorDialog::functionality_mask): New functions.
	(ExprInspectorDialog::Priv::on_var_name_changed_signal): Do not
	enable/disable the "add to monitor" button based on the presence
	of an expression/name in the "variable name" entry field.
	(ExprInspectorDialog::Priv::on_variable_inspected): Enable the "add
	to monitor" button only when the expression has been inspected.
	(ExprInspectorDialog::Priv::on_variable_inspector_cleared): Disable
	the "add to monitor" button when the inspector has been cleared.
	* src/persp/dbgperspective/menus/menus.xml: Add a menu item to
	activate the new variable monitor.
	* src/persp/dbgperspective/nmv-dbg-perspective-default-layout.cc
	(DBGPerspectiveDefaultLayout::append_view): Style cleanup.
	* src/persp/dbgperspective/nmv-variables-utils.h
	(unlink_a_variable_row): New function.
	* src/persp/dbgperspective/nmv-variables-utils.cc
	(update_a_variable_node, ): Add (better) logging.
	(find_a_variable): Likewise.  Remove dead code.
	(unlink_a_variable_row): Add logging.  Add const to last
	argument.
	(update_a_variable): Add logging.  Style cleanup.
	(set_a_variable): Remove dead code. Style cleanup.
	(unlink_a_variable_row): New function.
	(visualize_a_variable): Style cleanup.
	* src/persp/dbgperspective/nmv-dbg-perspective.h (enum
	ViewsIndex::VARS_MONITOR_VIEW_INDEX): New enumerator.
	* src/persp/dbgperspective/nmv-dbg-perspective.cc
	(DBGPerspective::{on_expr_monitoring_requested,get_vars_monitor_view}):
	New functions.
	(DBGPerspective::Priv::vars_monitor): New
	member.
	(DBGPerspective::{on_expr_monitoring_requested,
	on_activate_vars_monitor_view, get_vars_monitor_view}): New
	functions.
	(DBGPerspective::on_going_to_run_target_signal)
	(DBGPerspective::clear_status_notebook): Take a boolean saying if
	we are re-starting the current program or not.  Re-init the
	variable monitor.  Make the former use the latter.
	(DBGPerspective::going_to_run_target_signal): Take a boolean
	saying if we are re-starting the current program or not.
	(DBGPerspective::detach_from_program): Adjust call to clear to
	clear_status_notebook.
	(DBGPerspective::restart_local_inferior): Adjust call to
	DBGPerspective::going_to_run_target_signal.
	(DBGPerspective::execute_program): Remove useless call to
	clear_status_notebook.  Adjust call to
	DBGPerspective::going_to_run_target_signal.
	(DBGPerspective::init_actions): Define a new action
	to activate the variable monitor view.
	(DBGPerspective::add_views_to_layout): Append the variable
	monitor view.
	(DBGPerspective:::inspect_expression): On the
	event of requesting the monitoring of a variable, hook the new
	function DBGPerspective::{on_expr_monitoring_requested.
Fix wrong values returned

    * src/persp/dbgperspective/nmv-dbg-perspective.cc
    (DBGPerspective::open_file_real)
    (DBGPerspective::get_breakpoint): Fix wrong values returned
Remove space before an ellipsis in a string
Misc style cleanup

	* src/persp/dbgperspective/nmv-dbg-perspective.cc
	(DBGPerspective::on_sv_markers_region_clicked_signal)
	(DBGPerspective::on_button_pressed_in_source_view_signal)
	(DBGPerspective::on_motion_notify_event_signal)
	(DBGPerspective::on_leave_notify_event_signal)
	(DBGPerspective::on_mouse_immobile_timer_signal)
	(DBGPerspective::on_insertion_changed_signal): Trivial style
	fixes.
665274 - Support --just-load command line

	* src/dbgengine/nmv-i-debugger.h (enum IDebugger::State): Add
	comments.  Add a new INFERIOR_LOADED enumerator.
	(IDebugger::state_to_string): Re-indent.  Add support for new
	INFERIOR_LOADED enumerator of IDebugger::State.
	(IDebugger::is_running): New entry point.
	* src/dbgengine/nmv-gdb-engine.h (GDBEngine::is_running): New
	entry point.
	* src/dbgengine/nmv-gdb-engine.cc (GDBEngine::Priv::is_running):
	New member.
	(GDBEngine::Priv::on_running_signal): New signal handler ...
	(GDBEngine::Priv::Priv): ... connected to the running_signal event.
	(GDBEngine::Priv::set_tty_path):  Take a new command name parm.
	Use it when emitting the underlying command.
	(GDBEngine::Priv::on_stopped_signal): Set
	GDBEngine::Priv::is_running to false when the debugger exits.
	Style cleanup.
	(GDBEngine::OnCommandDoneHandler::do_handle): Fix state management
	logic.  Include the new IDebugger::INFERIOR_LOADED state for when
	the inferior is loaded but not yet run.
	(GDBEngine::load_program): Use a proper command name for
	underlying commands issued.  Update the "attached_to_target"
	property.
	(GDBEngine::attach_to_target): Adjust call to m_priv->set_tty_path.
	(GDBEngine::is_running): New definition.
	* src/persp/dbgperspective/nmv-dbg-perspective.h
	(DBGPerspective::execute_program): Add a parameter for
	'break_in_main_run'.
	(DBGPerspective::debugger_ready_signal): Remove.
	* src/persp/dbgperspective/nmv-dbg-perspective.cc
	(DBGPerspective::on_debugger_ready_signal): Removed.
	(DBGPerspective::update_action_group_sensitivity)
	(DBGPerspective::run_real): New functions.
	(DBGPerspective::attached_to_target): Take a IDebugger::State in
	parameter.
	(DBGPerspective::Priv::inferior_loaded_action_group): Renamed
	target_connected_action_group into this.
	(DBGPerspective::Priv::detach_action_group): New action
	group.
	(DBGPerspective::Priv::attached_to_target_signal): Remove.
	(DBGPerspective::on_debugger_not_started_signal)
	(DBGPerspective::debugger_not_started_signal): Remove.
	(DBGPerspective::on_attached_to_target_signal): Take the debugger
	state in parameter.  Call the new update_action_group_sensitivity.
	(DBGPerspective::on_debugger_inferior_re_run_signal): Don't emit
	attach_to_target_signal anymore.
	(DBGPerspective::on_debugger_detached_from_target_signal): Rename
	target_connected_action_group in to inferior_loaded_action_group.
	(DBGPerspective::on_program_finished_signal): Don't emit
	attached_to_target_signal.  Call update_action_group_sensitivity.
	(DBGPerspective::on_debugger_state_changed_signal): Call
	update_action_group_sensitivity.
	(DBGPerspective::init_actions): Renamed
	s_target_connected_action_entries into
	s_inferior_loaded_action_entries.  Added new action group
	s_detach_action_entries.  Re-arranged groups containing actions.
	(DBGPerspective::restart_inferior)
	(DBGPerspective::restart_local_inferior): Add logging.
	(DBGPerspective::execute_program): Take a flag to break in main
	and run.
	(DBGPerspective::attach_to_program): Cleanup logic.
	(DBGPerspective::run):  Use the new run_real function.
	(DBGPerspective::do_continue): Start the inferior if it not yet
	started.
	(DBGPerspective::attached_to_target_signal):  Take an instance of
	IDebugger::State as the event parameter.
	* src/persp/dbgperspective/menus/menus.xml: Re-organized some menu
	items.
	* src/main.cc: Add a new --just-load option to just load the
	inferior without trying to set a breakpoint in main and run.
	(process_gui_options):  Adjust call to
	DBGPerspective::execute_program.
Updated Spanish translation
Updated Spanish translation
Terminal portability fixes for BSDs

	* src/uicommon/nmv-terminal.cc (Terminal::Priv::init_pty):
	Don't call useless grantpt and unlockpt.
	(Terminal::slave_pts_name): use POSIX call ttyname in lieu of
	the non-portable ptsname.
Added Lithuanian translation
Updated Galician translations
Added Greek translation
Added Greek translation
Revert "Added Greek translation"

This reverts commit 39cdb74c198f32910880c4535edeb835892e2096.

Probably committed by mistake.
Save and restore tty attributes

	* src/dbgengine/nmv-i-debugger.h (IDebugger::load_program): Take
	additional slave_tty_fd and uses_launch_tty parameters.
	* src/dbgengine/nmv-gdb-engine.h (GDBEngine::load_program):
	Likewise.
	* src/dbgengine/nmv-gdb-engine.cc
	(GDBengine::Priv::{uses_launch_tty, tt_attributes, tty_path,
	tty_fd): New members.
	(GDBEngine::Priv::Priv): Initialize the new members above.
	(GDBEngine::Priv::{get_tty_attributes,set_tty_attributes}): New
	functions.
	(GDBEngine::Priv::issue_command): When issuing a "re-run" command
	make sure to re-set the tty attribute to their initial state.
	(GDBEngine::load_program): In compliance with the above change on
	the interface of this function, Take additional slave_tty_fd and
	uses_launch_tty parameters.  Call new m_priv->get_tty_attributes before
	really launching GDB.  Adjust call from load_program overload.
	Update comment.
	(GDBEngine::exit_engine): Call new m_priv->set_tty_attributes
	after debugger exited.  Add comment.
	* src/uicommon/nmv-terminal.h (Terminal::slave_ptr): Declare ...
	* src/uicommon/nmv-terminal.cc (Terminal::slave_pty): ... new
	function.
	* src/persp/dbgperspective/nmv-dbg-perspective.cc
	(DBGPerspective::execute_program): Adjust call to the
	IDebugger::load_program.
	(DBGPerspective::on_shutdown_signal): Re-indent comment.
	(DBGPerspective::get_terminal_name): Add comment.

Signed-off-by: Dodji Seketeli <dodji@seketeli.org>
Updated Traditional Chinese translation(Hong Kong and Taiwan)
Updated Norwegian bokmål translation
Updated Indonesian translation
Updated Greek translation-help