Age | Commit message (Collapse) | Author |
|
Since gdb cmd and poky_target_sysroot is now given by by env script,
we need to use them and set gdb sysroot accordingly. And also, unfs
now switch back to use "poky-qemu" bash cmd instead of "runqemu-unfs".
Signed-off-by: Liping Ke<liping.ke@intel.com>
|
|
This patch is a bug fix for environment script path for poky tree
mode. The correct path is input_poky_tree_build_path plus "/tmp".
Signed-off-by: Liping Ke <liping.ke@intel.com>
|
|
Since poky SDK infrastructure changes greatly, we need change the
plugin implementation accordingly. The major change is that we
need to pass the available environment-setup* script files to get
the available supported architecture. And we need to set the env
variables and gdb/oprofile search path according to the contents
of the script files too.
Signed-off-by: Liping Ke <liping.ke@intel.com>
|
|
Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
|
|
From this changeset, we only support anjuta 2.30 and above versions.
We will remove old conditional build for easy to maintain.
Signed-off-by: Liping Ke <liping.ke@intel.com>
|
|
Before anjuta 2.30, we use Ibuildable interface to pass command
and parameters. Now because the changing implementation of
anjuta_execute as well the obsolete Ibuildable interface, we have
to implement new IAnjutaEnvironment override interface to override
build related command and parameters. The patch is tested against
anjuta 2.30.2.
Signed-off-by: Liping ke<liping.ke@intel.com>
|
|
Currently Anjuta IDE vte plugin did not use error output param
to show (anjuta_terminal_execute_command) excection errors.
Actually it use return value(child_pid) to indicate the command
execution result. If fails, -1 will be returned. Otherwise, child
process id will be returned.
After this fix, this vte terminal plugin still has other issues,
please refer to poky sdk bugzilla, bug number: 2000
Signed-off-by: Liping Ke <liping.ke@intel.com>
|
|
This is a small bug fixing related to bug 2122.
Before calling the first gnome_vfs API, we must first to init
gnome_vfs by calling gnome_vfs_init().
Signed-off-by: Liping Ke <liping.ke@intel.com>
|
|
It's not obvious to all that your just deployed package is in /usr/local/bin so
to make it easy pre-populate the entries requesting the binary with the deploy
path.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
|
Add a strrstr() call in deploy_launcher_data_cb() for "rsync: not found"
so that we can give the user a slightly easier to nitice warning for this case
as requested by Richard.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
|
|
|
Rebased patch from Haito Feng <haito.feng@intel.com>
Signed-off-by: Joshua Lock <josh@linux.intel.com>
|
|
* configure.ac:
* src/plugin.c (anjuta_plugin_sdk_activate):
Make the GDB integration conditional with --enable-gdb-integration.
|
|
* anjuta-plugin-sdk/src/beaver-target-qemu.c:
* anjuta-plugin-sdk/src/beaver-target.c:
* anjuta-plugin-sdk/src/beaver-util.h:
* anjuta-plugin-sdk/src/plugin.c:
Make the plugin build with Anjuta 2.23.x
|
|
* src/anjuta-plugin-sdk.ui:
* src/beaver-target.c: (beaver_target_class_init),
(beaver_target_remote_stop), (_beaver_target_run_remote_v),
(_beaver_target_remote_stop):
* src/beaver-target.h:
* src/plugin.c: (action_remote_stop_activate_cb), (update_state),
(anjuta_plugin_sdk_activate):
* src/plugin.h:
Add support for stopping the remote command.
|
|
* src/plugin.c: (action_remote_debug_stop_activate_cb),
(do_remote_gdb), (action_remote_debug_activate_cb), (update_state):
Port over to use new target API.
|
|
* src/plugin.c: (remote_run_dialog),
(action_remote_run_activate_cb):
Switch running a remote command over to use the new target based
remote run mechanism.
|
|
* src/plugin.c: (update_environment):
Add support for using the new pkgconfig path in toolchain mode.
|
|
* src/plugin.c: (update_state):
Add missing break statement that was causing the shutdown action to be
disabled when it should have been enabled.
|
|
* src/plugin.c: (do_local_gdb):
Fix regression where gdb cross failed due to hard coded paths for the
full Poky tree case.
|
|
* src/Makefile.am:
* src/beaver-settings-page.c: (radio_toggled_cb), (create_ui):
* src/beaver-target-device.c: (beaver_target_device_get_property),
(beaver_target_device_set_property),
(beaver_target_device_dispose), (beaver_target_device_finalize),
(beaver_target_device_set_state), (beaver_target_device_get_state),
(beaver_target_device_get_ip_address),
(beaver_target_device_class_init), (beaver_target_device_init),
(beaver_target_device_new):
* src/beaver-target-device.h:
* src/beaver.h:
* src/plugin.c: (update_state), (setup_target),
(rootfs_preference_notify_cb), (kernel_preference_notify_cb),
(target_mode_preference_notify_cb),
(target_ip_preference_notify_cb), (target_state_changed_cb),
(anjuta_plugin_sdk_activate), (anjuta_plugin_sdk_deactivate):
* src/plugin.h:
Add support for using an external device.
|
|
* src/Makefile.am:
* src/beaver-settings-page.c: (beaver_settings_page_get_property),
(beaver_settings_page_set_property),
(beaver_settings_page_dispose), (beaver_settings_page_finalize),
(beaver_settings_page_constructed),
(beaver_settings_page_class_init), (beaver_settings_page_init),
(beaver_settings_page_new), (preferences_timeout_cb),
(full_radio_toggled_cb), (toolchain_radio_toggled_cb), (create_ui):
* src/beaver-settings-page.h:
* src/beaver.h:
* src/plugin.c: (ipreferences_merge):
* src/plugin.h:
Separate the preferences UI into it's own component.
|
|
* src/Makefile.am:
* src/beaver-target-qemu.c: (beaver_target_qemu_get_property),
(beaver_target_qemu_set_property), (beaver_target_qemu_dispose),
(beaver_target_qemu_finalize), (beaver_target_qemu_class_init),
(beaver_target_qemu_init), (beaver_target_qemu_new),
(beaver_target_qemu_start), (beaver_target_qemu_shutdown),
(beaver_target_qemu_get_state),
(beaver_target_qemu_get_ip_address),
(beaver_target_qemu_set_state), (launcher_data_cb),
(launcher_child_exited_cb):
* src/beaver-target-qemu.h:
* src/beaver-target.c: (beaver_target_get_property),
(beaver_target_set_property), (beaver_target_dispose),
(beaver_target_finalize), (beaver_target_class_init),
(beaver_target_init), (beaver_target_get_state),
(beaver_target_set_state), (beaver_target_get_ip_address),
(beaver_target_get_message_manager), (beaver_target_run_remote_v),
(_beaver_target_run_remote_v), (launcher_child_exited_cb),
(launcher_data_cb):
* src/beaver-target.h:
* src/beaver-util.c: (beaver_util_message_view_buffer_flushed_cb),
(beaver_util_strv_concat), (beaver_util_strv_joinv):
* src/beaver-util.h:
* src/plugin.c: (deploy_do_copy),
(action_shutdown_qemu_activate_cb),
(action_start_qemu_activate_cb),
(action_remote_debug_stop_activate_cb), (do_local_gdb),
(do_remote_gdb), (action_remote_run_activate_cb),
(action_remote_profile_activate_cb),
(remote_gdb_launcher_child_exited_cb),
(oprofileui_launcher_child_exited_cb),
(rootfs_preference_notify_cb), (kernel_preference_notify_cb),
(project_root_uri_value_added), (target_state_changed_cb),
(anjuta_plugin_sdk_activate), (anjuta_plugin_sdk_deactivate):
* src/plugin.h:
Refactor out some operations on the target to allow using a real
device as the target (rather than QEMU.)
|
|
* src/plugin.c: (update_path), (update_environment):
* src/plugin.h:
Add the old style staging paths to PKG_CONFIG_PATH and the PATH for
compatability with older OE/Poky.
|
|
* src/plugin.c: (get_host_component), (update_path),
(update_environment), (poky_mode_preference_notify_cb),
(poky_root_preference_notify_cb), (anjuta_plugin_sdk_activate),
(anjuta_plugin_sdk_deactivate), (full_radio_toggled_cb),
(toolchain_radio_toggled_cb), (ipreferences_merge):
* src/plugin.h:
Allow using a full Poky tree rather than with an externeral SDK.
|
|
* src/plugin.c: (anjuta_plugin_sdk_deactivate):
Ensure we nullify string pointers after freeing them in the
deactivate function and add a comment why we are doing this.
|
|
* src/plugin.c: (action_remote_profile_activate_cb):
Use the command line option to oprofileui to specify the supplementary
search path for binaries.
|
|
* src/plugin.c:
Remove the break on main in the gdb script.
|
|
* src/plugin.c: (remote_debug_dialog), (remote_run_dialog):
Fix up the default action behaviour for the Run and Debug dialogs.
|
|
* src/plugin.c: (do_local_gdb):
Switch the prefix that the cross gdb uses to find the symbols to the
new location. (Includes the triplet.)
|
|
* src/plugin.c:
Set the confirm buttons as default in the Run and Debug dialogs.
|
|
* src/plugin.c:
Fix Run Remote by executing the entered command, not NULL.
|
|
* configure.ac:
* src/plugin.c:
Remove glib 2.14 requirement by #defining g_timeout_add_seconds if
it isn't available.
|
|
* src/anjuta-plugin-sdk.ui:
* src/plugin.c: (action_start_qemu_activate_cb),
(action_remote_profile_activate_cb),
(qemu_launcher_child_exited_cb),
(remote_gdb_launcher_child_exited_cb),
(oprofileui_launcher_child_exited_cb),
(anjuta_plugin_sdk_activate), (anjuta_plugin_sdk_deactivate):
* src/plugin.h:
Add OProfileUI interaction.
|
|
* src/plugin.c: (action_shutdown_qemu_activate_cb),
(action_remote_debug_stop_activate_cb), (do_remote_gdb),
(qemu_launcher_child_exited_cb), (remote_launcher_child_exited_cb),
(update_path), (update_environment), (anjuta_plugin_sdk_activate),
(anjuta_plugin_sdk_deactivate):
* src/plugin.h:
Hook up functionality for killing gdbserver over ssh.
|
|
* src/plugin.c: (remote_debug_dialog), (remote_run_dialog),
(do_local_gdb), (do_remote_gdb), (action_remote_debug_activate_cb),
(action_remote_run_activate_cb), (shell_session_load_cb),
(shell_session_save_cb), (anjuta_plugin_sdk_activate),
(anjuta_plugin_sdk_deactivate):
* src/plugin.h:
Save local path and remote command in the session.
|
|
* src/plugin.c: (action_start_qemu_activate_cb),
(remote_gdb_launcher_child_exited_cb):
Only make the "Remote debug..." option available when we have a
triplet and sdk_root.
|
|
* src/anjuta-plugin-sdk.ui:
* src/plugin.c: (remote_gdb_launcher_data_cb),
(deploy_do_initial_state), (action_start_qemu_activate_cb),
(remote_debug_dialog), (remote_run_dialog), (do_local_gdb),
(remote_gdb_timeout_cb), (do_remote_gdb),
(action_remote_debug_activate_cb), (action_remote_run_activate_cb),
(qemu_launcher_child_exited_cb),
(remote_gdb_launcher_child_exited_cb),
(project_root_uri_value_added), (anjuta_plugin_sdk_activate),
(anjuta_plugin_sdk_deactivate):
* src/plugin.h:
Add preliminary remote/gdb support.
|
|
* src/plugin.c: (deploy_launcher_child_exited_cb),
(deploy_set_state), (deploy_do_delete):
* src/plugin.h:
Remove the temporary deploy directory when we done.
|
|
* src/anjuta-plugin-sdk.ui:
* src/plugin.c: (deploy_launcher_data_cb), (qemu_launcher_data_cb),
(deploy_do_initial_state), (deploy_do_copy),
(action_shutdown_qemu_activate_cb),
(action_start_qemu_activate_cb), (qemu_launcher_child_exited_cb),
(reboot_launcher_child_exited_cb), (anjuta_plugin_sdk_activate),
(anjuta_plugin_sdk_deactivate):
* src/plugin.h:
Add a Shutdown action for QEMU (this actually invokes reboot on the
remote device but if we start with -no-reboot this halts it.)
Fix problem where the AnjutaMessageManager can be replaced but we
don't get told (so instead fetch it each time rather than caching.)
Fix some action sensitivity issues.
|
|
* src/plugin.c: (ipreferences_merge):
HIG compliance changes.
|
|
* src/anjuta-plugin-sdk.plugin.in:
* src/plugin.c: (ipreferences_merge), (ipreferences_unmerge):
Branding tweaks.
|
|
* src/plugin.c: (deploy_launcher_data_cb), (qemu_launcher_data_cb),
(deploy_do_initial_state), (deploy_do_local_install),
(deploy_do_copy), (deploy_do_finished), (deploy_do_error),
(action_start_qemu_activate_cb), (anjuta_plugin_sdk_deactivate):
* src/plugin.h:
Add a message view for messages from QEMU.
|
|
* configure.ac:
Bump up version number.
* src/plugin.c: (deploy_do_initial_state),
(action_start_qemu_activate_cb), (qemu_launcher_child_exited_cb),
(update_path), (cleanup_environment), (update_environment),
(setup_buildable), (sdk_root_preference_notify_cb),
(triplet_preference_notify_cb), (rootfs_preference_notify_cb),
(kernel_preference_notify_cb), (project_root_uri_value_added),
(project_root_uri_value_removed), (anjuta_plugin_sdk_activate),
(anjuta_plugin_sdk_deactivate), (anjuta_plugin_sdk_finalize),
(anjuta_plugin_sdk_dispose), (anjuta_plugin_sdk_instance_init),
(anjuta_plugin_sdk_class_init), (preferences_timeout_cb),
(ipreferences_merge), (ipreferences_unmerge),
(ipreferences_iface_init):
* src/plugin.h:
Switch over to work against trunk. Tidy up some of the logic.
|
|
* src/Makefile.am:
* src/anjuta-plugin-sdk.ui:
* src/plugin.c: (deploy_launcher_child_exited_cb),
(deploy_launcher_data_cb), (deploy_set_state),
(deploy_do_initial_state), (deploy_do_local_install),
(deploy_do_copy), (deploy_do_finished), (deploy_do_error),
(action_deploy_activate_cb), (action_start_qemu_activate_cb),
(qemu_launcher_child_exited_cb), (plugin_value_added_cb),
(plugin_value_removed_cb), (message_view_buffer_flushed_cb),
(file_chooser_property_get_cb), (file_chooser_property_set_cb),
(sdk_root_file_chooser_changed_cb),
(kernel_file_chooser_file_set_cb),
(rootfs_file_chooser_file_set_cb), (update_path),
(update_environment), (cleanup_environment),
(update_configure_opts), (update_environment_idle_cb),
(qemu_settings_changed_idle_cb), (sdk_root_preference_notify_cb),
(triplet_preference_notify_cb), (rootfs_preference_notify_cb),
(kernel_preference_notify_cb), (load_session_cb),
(anjuta_plugin_sdk_setup_preferences),
(anjuta_plugin_sdk_activate), (anjuta_plugin_sdk_deactivate),
(anjuta_plugin_sdk_dispose):
* src/plugin.h:
Integrate QEMU support into the SDK plugin (was a separate plugin.)
|
|
* AUTHORS:
* Makefile.am:
* autogen.sh:
* configure.ac:
* po/Makefile.in.in:
* po/POTFILES.in:
* src/Makefile.am:
* src/anjuta-plugin-sdk.plugin.in:
* src/plugin.c: (file_chooser_property_get_cb),
(file_chooser_property_set_cb), (sdk_root_file_chooser_changed_cb),
(update_path), (update_environment), (cleanup_environment),
(update_configure_opts), (update_environment_idle_cb),
(sdk_root_preference_notify_cb), (triplet_preference_notify_cb),
(load_session_cb), (anjuta_plugin_sdk_setup_preferences),
(anjuta_plugin_sdk_unsetup_preferences),
(anjuta_plugin_sdk_activate), (anjuta_plugin_sdk_deactivate),
(anjuta_plugin_sdk_finalize), (anjuta_plugin_sdk_dispose),
(anjuta_plugin_sdk_instance_init), (anjuta_plugin_sdk_class_init):
* src/plugin.h:
Initial commit of a working SDK cross-compiling plugin for autotooled
projects.
|