aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2010-10-13Get GDB cmd from env script and Set sysroot for GDBHEADmasterliping ke
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>
2010-09-07Enable unfs qemu modeliping ke
Since now unfs style qemu is supported, this patch will switch to the new unfs qemu style. Signed-off-by: Liping Ke<liping.ke@intel.com>
2010-09-01Bug fix: Load unset environment vars into old hash for unset purposeliping ke
This patch is a bug fix for restore original environment before activating poky sdk plugin. when deactive poky plugin, we need to unset all set envrionment, otherwise, when deactivating poky plugin, native compile environment will be polluted. So if non-poky environment does not have the env var such as "CC", we still need to save it in the hash table for later unset operation. I save the unset environment value into old hash table as "null" for easy to unified operation (g_free will be automatically called in hash destructor). Signed-off-by: Liping Ke <liping.ke@intel.com>
2010-09-01Bug fix: poky root script file path need to add "/tmp"liping ke
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>
2010-09-01Increase script file read buf max lengthliping ke
This is a bug fix for bigger PATH script file. I found latest PATH length in environment-setupXXX files exceeds 1000, so I increase this read buffer max length, making sure that the path is not cut. Signed-off-by: Liping Ke <liping.ke@intel.com>
2010-08-27Update according to SDK infrastructure changeliping ke
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>
2010-07-15Fix poky root build option based on the latest sysroots directory structureJessica Zhang
Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
2010-07-15Remove old conditional buildLiping Ke
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>
2010-07-15Use IAnjutaEnvironment override interfaceLiping Ke
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>
2010-06-29Release version 0.7.10.7.1Joshua Lock
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-28Update README document for Anjuta POKY pluginLiping Ke
Signed-off-by: Liping Ke <Liping.ke@intel.com>
2010-06-28Make remote GDB related menus be visible by default.Liping Ke
Most users need this option for debugging remote application on the target. If user did not use it, please use ./configure --enable-remove-gdb to make the menu defaultly invisible. Signed-off-by: Liping Ke <liping.ke@intel.com>
2010-06-28Use return value to judge whether terminal command runs successfully or not.Liping Ke
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>
2010-06-28Add gnome_vfs_init before first time calling gnomevfs APIsLiping Ke
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>
2010-03-01Release version 0.7Joshua Lock
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-26Add default value for Run remote and Debug remote entriesJoshua Lock
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>
2010-02-26Fix make distJoshua Lock
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-02-26Try to emphasise when rsync is missing on the target.Joshua Lock
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>
2010-02-26Make the "Shutdown QEMU" command actually shutdown.Joshua Lock
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2009-12-04Fix a harmless compiler warningJoshua Lock
2009-12-04Add conditional support for updated interfaces in Anjuta 2.28Joshua Lock
Rebased patch from Haito Feng <haito.feng@intel.com> Signed-off-by: Joshua Lock <josh@linux.intel.com>
2008-10-032008-10-02 Rob Bradford <rob@linux.intel.com>Rob Bradford
* configure.ac: * src/plugin.c (anjuta_plugin_sdk_activate): Make the GDB integration conditional with --enable-gdb-integration.
2008-09-262008-09-26 Rob Bradford <rob@linux.intel.com>Rob Bradford
* src/beaver-util.h: Change the macro for detecting the Anjuta version due to breakage in Anjuta 2.24.0.1.
2008-09-172008-09-17 Rob Bradford <rob@linux.intel.com>Rob Bradford
* configure.ac: Release 0.6.
2008-09-172008-09-17 Rob Bradford <rob@linux.intel.com>Rob Bradford
* README: Update Anjuta version details in README.
2008-09-112008-09-11 Rob Bradford <rob@linux.intel.com>Rob Bradford
* 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
2008-05-19Update POTFILES.inRoss Burton
2008-05-192008-05-19 Ross Burton <ross@openedhand.com>Ross Burton
* configure.ac: Version 0.5.
2008-04-252008-04-25 Rob Bradford,,, <rob@openedhand.com>Rob Bradford
* 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.
2008-04-092008-04-09 Rob Bradford <rob@openedhand.com>Rob Bradford
* src/beaver-target.c: (_beaver_target_remote_debug), (debug_launcher_data_cb): Switch to using the same message view for all remote operations.
2008-04-072008-04-07 Rob Bradford <rob@openedhand.com>Rob Bradford
* 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.
2008-04-072008-04-07 Rob Bradford <rob@openedhand.com>Rob Bradford
* src/beaver-target.c: (beaver_target_finalize), (_beaver_target_remote_debug), (debug_launcher_data_cb): * src/beaver-target.h: Add an extra DEBUGGER_READY state which we can use to find out if the gdbserver is ready to start the client side.
2008-04-042008-04-04 Rob Bradford <rob@openedhand.com>Rob Bradford
* src/beaver-target.c: (beaver_target_class_init), (beaver_target_remote_debug_stop), (_beaver_target_remote_debug_stop): * src/beaver-target.h: Add functionality to the target to allow stopping of the remote gdbserver.
2008-04-042008-04-04 Rob Bradford <rob@openedhand.com>Rob Bradford
* src/beaver-target.c: (beaver_target_dispose), (beaver_target_class_init), (beaver_target_init), (beaver_target_remote_debug), (_beaver_target_run_remote), (_beaver_target_run_remote_v), (_beaver_target_remote_debug), (debug_launcher_data_cb): * src/beaver-target.h: Refactor some of the remote debugging infrastructure into the target. Also specify the PATH environment variable so that we can find the versions installed into the the /usr/local directories.
2008-04-042008-04-04 Rob Bradford <rob@openedhand.com>Rob Bradford
* src/beaver-target.c: (beaver_target_init), (_beaver_target_run_remote_v): Move initialisation of launcher from just-in-time to on object initialisation.
2008-04-032008-04-03 Rob Bradford <rob@openedhand.com>Rob Bradford
* 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.
2008-04-032008-04-03 Rob Bradford <rob@openedhand.com>Rob Bradford
* src/beaver-target-qemu.c: (beaver_target_qemu_set_state), (launcher_data_cb): Don't blindly transition into the READY state. Check that we are still ready. Remove dead code.
2008-04-032008-04-03 Rob Bradford <rob@openedhand.com>Rob Bradford
* src/beaver-target.c: (beaver_target_class_init), (beaver_target_run_remote), (_beaver_target_run_remote), (launcher_child_exited_cb): * src/beaver-target.h: Add a beaver_target_run_remote function that uses the correct environment to programs on the device *without* needing an extra script. Fix the logic in the launcher_child_exited_cb.
2008-04-032008-04-03 Rob Bradford <rob@openedhand.com>Rob Bradford
* src/beaver-target-device.c: (beaver_target_device_set_state): Emit signal on state change.
2008-04-032008-04-03 Rob Bradford <rob@openedhand.com>Rob Bradford
* src/plugin.c: (update_environment): Add support for using the new pkgconfig path in toolchain mode.
2008-03-252008-03-25 Rob Bradford <rob@openedhand.com>Rob Bradford
* src/plugin.c: (update_state): Add missing break statement that was causing the shutdown action to be disabled when it should have been enabled.
2008-03-252008-03-25 Rob Bradford <rob@openedhand.com>Rob Bradford
* src/plugin.c: (do_local_gdb): Fix regression where gdb cross failed due to hard coded paths for the full Poky tree case.
2008-03-202008-03-20 Rob Bradford <rob@openedhand.com>Rob Bradford
* src/beaver-target-device.c: * src/beaver-target-device.h: Append missing copyright headers.
2008-03-192008-03-19 Rob Bradford <rob@openedhand.com>Rob Bradford
* 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.
2008-03-192008-03-19 Rob Bradford <rob@openedhand.com>Rob Bradford
* po/Makefile.in.in: Updated by intltoolize.
2008-03-182008-03-18 Rob Bradford <rob@openedhand.com>Rob Bradford
* 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.
2008-03-182008-03-18 Rob Bradford <rob@openedhand.com>Rob Bradford
* src/beaver-util.h: Add header guards.
2008-03-172008-03-17 Rob Bradford <rob@openedhand.com>Rob Bradford
* 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.)
2008-03-112008-03-11 Rob Bradford <rob@openedhand.com>Rob Bradford
* 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.
2008-03-072008-03-07 Rob Bradford <rob@openedhand.com>Rob Bradford
* 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.