aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui
AgeCommit message (Collapse)Author
2013-08-06bitbake: hob/packageslist: change image size label to estimated image sizeCristiana Voicu
On the "Edit packages list" page, the image size may be computed before building. We didn't find another way to give a more accurate size, so we have agreed to inform the user that this an estimated size. [YOCTO #4388] (Bitbake rev: 136eda2dcbc32aba4f59783049352dc1375cc945) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-06bitbake: hob/advancedsettings: change toolchain labels to sdk labelsCristiana Voicu
In order to be easier for the user to understand, we have changed the toolchain labels to sdk. [YOCTO #3808] (Bitbake rev: 008afbcf6b1b315eb5463ecfb39fc50e6303687e) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-29bitbake: hob: sstatemirror is standard also for file://.* regexCristiana Voicu
(Bitbake rev: 2e3c87569a8c40f7a2ebda22b01eee3bb7c96d1d) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-29bitbake: hob: changed the split of SSTATE_MIRRORS variableCristiana Voicu
Until now the split made searching the string "file://", but this is not ok when SSTATE_VARIABLE has the following form: SSTATE_MIRRORS ?= "\ file://.* http://someserver.tld/share/sstate/PATH \n \ file://.* file:///some/local/dir/sstate/PATH" In the documentation I've found that \n is the list separator. [YOCTO #4857] (Bitbake rev: 73bcd96928cb2df390e1fc6d3a8b7ce3e9d546a4) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-05bitbake: HOB:Proper handle of SIGINTValentin Popa
Modal dialogs doesn't run on the main loop so they cannot catch any signal from the terminal. This patch makes sure the dialogs are destroyed when a SIGINT is sent to HOB. [YOCTO #3329] (Bitbake rev: 6eee0cc37438cc3f91531b7df524330fba27161b) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-03bitbake: hob: save button from settings called a nonexisting methodCristiana Voicu
The method was removed when the process for saving configuration in Hob was changed. Replace the call with the right function. [YOCTO #4793] (Bitbake rev: b6aa2b63d71cbe82850a375381b2dbc750cf1905) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-20bitbake: hob: save variables in conf/ directoryCristiana Voicu
Until now the variables were saved in bitbake configuration, now they are saved in configuration files, in order to be read by bitbake-worker. This helps to assure the consistency for the rest of the variables. (Bitbake rev: ea65ebf43525f173205183aa2fd5d8db303ffd4a) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-20bitbake: hob: replace the init cooker with reset in order to keep the historyCristiana Voicu
When the cooker initialization is called, the variables history is lost. It need a reset, in order to load the configuration files. Also, concatenated the value for INHERIT variable. (Bitbake rev: 2b8c0c09e09ab69edc53501b84050c797f0686e4) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-20bitbake: hob: check if imageconfiguration page has the attribute 'warnings_bar'Cristiana Voicu
[YOCTO #4571] (Bitbake rev: 53c6b65bbcd5a6d3caed8581533f31ac373163a7) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-20bitbake: bitbake & hob: modify some commands and call them from hobCristiana Voicu
This patch adds a new command to create an extra configuration file, in order to create it from Hob. Also, it calls the enable/disable data tracking when needed. Modified the prefiles and postfiles variables because the cooker expects some lists. (Bitbake rev: 92393701adcfa181a1090e3632bc6df7ee7852e6) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-20bitbake: hob: remove the rest of the old template functionalityCristiana Voicu
Until now, some configuration settings was saved in a hob specific directory. From now on, it will be saved in conf directory through bitbake. (Bitbake rev: c53e902b010d1c3f1550f7e60e744f40120f73c2) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-17bitbake: knotty, bitbake: add option to terminate a remote serverAlexandru DAMIAN
I add an option to terminate a remote server gracefully as not to need a kill command. (Bitbake rev: 7495f835666a9561c2c7d84da7aaa74e4df55b9a) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-17bitbake: knotty, xmlrpc: add observer-only modeAlexandru DAMIAN
I add an observer only mode for the knotty UI and the XMLRPC server that will allow the UI to register a callback with a server in order to receive events. The observer-UI is able to send read-only commands to the server, and also is able to register as an event handler. Read-only commands are the commands that do not change the state of the server and have been marked as such in the command module. The observer can switch to a full client if it calls addClient at any time, and the server has no other client running. (Bitbake rev: 4de9ee21f1fa4d04937cc7430fb1fc8b7a8f61e2) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-12bitbake: Add missing file that went out of syncRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-31bitbake: Added distroy signal to information dialogsAndrei Dinu
Added distroy signal to information dialogs so that when pressing the close button, the dialog would close. [HOB #4568] (Bitbake rev: 265e27857d1d8914486b924d3390bfbe88f4e39b) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-22bitbake: hob: Table sorting criteria should not change after deselecting ↵Cristiana Voicu
recipes/packages After a recipe/package is deselected, the table is sorted as before the fadeout animation. [YOCTO #4453] (Bitbake rev: d4968eac539f777367ab1243a1049117cb261176) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-22bitbake: hob: apply a fade out animation when deselecting from tablesCristiana Voicu
-applied a fade out mechanism for deselctiong on all the tabs of recipes and packages list page -set cursor on the package/recipe when it is included(important when the its place is changing; like when the tree si order by included tab) [YOCTO #4342] (Bitbake rev: 8bd0e0681a6a39c00accbfc0041ab248993f3877) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-22bitbake: cooker: Move commandline parsing back into the UI/cookerdataRichard Purdie
Building up a set of actions for the server is tricky since we depend upon the commandline but fall back to values from the datastore. We should be able to build a datastore without a commandline and vice versa. Ultimately the UI should send the commands to the server. This patch amounts to code rearranging, moving the heavy lifting to the UI, though a helper in the configuration option. This will need further cleanup/tweaking but this should be the only update needed to the UIs. The code now queries the server for any missing data should it need to. This code allows various knowledge of configuration variables to move to the UI side only, partcularly pkgs_to_build but also all the command specifiers. It should also be possible to move cmd eventually, I'm just unsure if any callers call the commands expecting this to default to something sane right now. (Bitbake rev: 2dbbb1d51dafd4451fef8fe16f095bcd4b8f1177) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-14bitbake: hob: fix for XMLRPC modeBogdan Marinescu
Contains a small fix to the builder.py code (a missing "self" in a variable assignment). With this changes, "hob" can run with the XMLRPC backend: $ hob -t xmlrpc (Bitbake rev: 3497478f803986af32099ddd124c47df8e89f6da) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-10bitbake: hob: assure consistency for image size labelCristiana Voicu
After the image was build, update the image size in the packagelistpage. [YOCTO #4388] (Bitbake rev: 4d6d02e61b32d1d710c708774f08cc5e7764415d) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-10bitbake: hob: clicking on "cancel" should reset table sorting to defaultCristiana Voicu
Changed the "cancel" callback function for both recipes and packages list page. [YOCTO #4333] (Bitbake rev: 05ebbaa2426716c6254c4a98872020d02d2944bd) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-10bitbake: hob: "Brought in by" sorting should take into account the (+#) ↵Cristiana Voicu
information [YOCTO #4332] (Bitbake rev: 226a5f2d0947460cb6df9e97f0146b65f96a7f8c) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-10bitbake: hob: sort alphabetically results in groups of recipes/packagesCristiana Voicu
When you search a string, there are 2 groups: recipes/packages starting with that string, and the rest. These 2 groups are now sorted. [YOCTO #4111] (Bitbake rev: 8d2b2a1c97570d3c6b40727f1afa1db8c00882f9) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-10bitbake: Updated information in tooltipsAndrei Dinu
Updated information for "Additional free space" and "Image basic size" to match the description in the manual. [HOB #4354] [HOB #4355] (Bitbake rev: d3eac3f104689137c071c91a343ca4558b9d9f17) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-09bitbake: lib: print is a function in moderm python, covert remaining usersRichard Purdie
(Bitbake rev: d0b180d868390a464b6799ad90db6bbe0350e158) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-05-03bitbake: goggle: fix invalid error checkMartin Donnelly
runCommand was returning 'error' but checking for 'err' resulting in an exception. (Bitbake rev: 263aa44ed47e0cb03e1a97e7ed4a50bd9f828c78) Signed-off-by: Martin Donnelly <martin.donnelly@ge.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-15bitbake: hob: Refine sorting mechanisms in HobCristiana Voicu
-refine sorting functions for each column from recipe list page and package list page -sort correctly size column from packages list page -set default sroting order and secondary sorting criteria -make included on included recipes/packages no sortable [YOCTO #2346 & #4194] (Bitbake rev: 56822176e3d5e613654a46c983d2f979d7a9eebc) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10bitbake: hob:Only display scrolled list of images if neededIoana Grigoropol
- do not set the Images window to always display a scroll bar if it is not needed [Yocto #4171] (Bitbake rev: 970e2e6f079fa9a49646f86364eae9a4ee241f90) Signed-off-by: Ioana Grigoropol <ioanax.grigoropol@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-10bitbake: bitbake:hob: use a socks proxy mechanism for gitCristian Iorga
Instead of a custom git proxy mechanism, Hob now uses a SOCKS proxy in order to work with external repos via the oe-git-proxy helper script. Fixes [YOCTO #4187] (Bitbake rev: 0b81a2c4a5611b64dbdd40131730a82c149b94a2) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Cristian Iorga <ubik3000@gmail.com> Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-04bitbake: propertydialog adjustments for package.bbclassAndrei Dinu
After moving the code from packageinfo.bbclass to package.bbclass, minor adjustments were made to the parsing of the package items. (Bitbake rev: 414fe98fe367ba44ea0fd20d8fe1296bcef58ea6) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-02bitbake: hob: giving focus to the search field loses the table sortingCristiana Voicu
Giving focus to the search text field should not impact the table sorting. [YOCTO #4113] (Bitbake rev: b5b4b6e4fefa6a164a49b291a0993b1ff63947f4) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-02bitbake: hob: add tooltip on "clear search" buttonCristiana Voicu
[YOCTO #4116] (Bitbake rev: 3c1b63cf49bdbffef0728fc83bd5a35bc16fd3dc) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-02bitbake: Removed popup when including a packageAndrei Dinu
Fixed the functionality which made an information dialog pop up when including any package. [HOB #4138] (Bitbake rev: 6cabbb241ab3959b3c8f084423469c0bfc9899bd) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29bitbake: hob: Search strings and results should be persistentCristiana Voicu
Now, the search results stay until I clear the search field, so that I can manipulate the search results. [YOCTO #4112 & #4117] (Bitbake rev: d880ce966ca825aa66a23755fcb47497fb3f26c3) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29bitbake: packageselectionpage.py : added information to hobAndrei Dinu
In order to have information for each package in hob, a new item is added to the dictionary, represeting the files that are brought in by each package. (Bitbake rev: ffb8e32166d0ab690131e753f91592011c3f7ffb) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29bitbake: hoblistmodel.py : passing the package information to hobAndrei Dinu
Added a new column to the model and also populating it with the information brought in from the packageinfo.bbclass. (Bitbake rev: afa78ae15be3e0babadd5d86092a2852135cfcce) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29bitbake: propertydialog.py : added 'Package files' functionalityAndrei Dinu
Extended the packages page information with the listing of the files brought in by every package. (Bitbake rev: 42b1ce37b5c9a357108afdc01b0e9f008a84e6e3) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22bitbake: Adjust spacing on information windowsAndrei Dinu
[Hob #4070] - tweaked the spacing on info windows - fixed text bolding in simple settings dialog (Bitbake rev: 2ecb102968cdbbdbbfa91e1dcccf45bcd0b59a89) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22bitbake: hob: implementation of search functionality in HobCristiana Voicu
Implemented the search functionality for recipes and packages using filters on the listmodel. I have used the design which can be found in bugzilla. [YOCTO #3529] (Bitbake rev: b77166ad7b8571895f73a84f7789d93fbd4f6d04) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22bitbake: hob: Hob custom image build errorCristiana Voicu
For a custom image from scratch, the image version is not set and it gives an error. [YOCTO #4065] (Bitbake rev: 43703f3eb5f71a117e6315fa5df91711653636a3) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-19bitbake: hob: some settings in Hob are not rememberedCristiana Voicu
Some settings in Hob were not saved in Bitbake and they were not displayed correcty in Hob, because Hob used some other variables with the extension "_HOB". I have removed this, in order to have a consistency for the variables. ALso, I called a function to load the extra variables saved in .hob/template_default.hob. [YOCTO #3957] (Bitbake rev: 0f62a12ef3fa4daf8f3a289c984115302b75c23d) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-19bitbake: crumbs/recipeselectionpage: added events for the "Package Groups" ↵Andrei Dinu
"All recipes " tabs and passing the information needed to the function created in the builder. (Bitbake rev: 60c3b561d66f9a43e696c402899141287ddb496e) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-19bitbake: crumbs/packageselectionpage: added event for the "All packages" tabAndrei Dinu
and passing the information needed to the function created in the builder. (Bitbake rev: 840bbdbc973e72d4305c21bcc26c008a6dc39456) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-19bitbake: crumbs/imageconfigurationpage: added information so that it ↵Andrei Dinu
displays correctly in the information dialogs. (Bitbake rev: 0301e7622af83c105ba60d7d1749294de06f6a59) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-19bitbake: hobwidget: added functionality for the information dialogs.Andrei Dinu
(Bitbake rev: e4d9729fc66f472266e9dc2f579edeef74d8f289) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-19bitbake: crumbs/hoblistmodel: added information columns needed for prop dialogsAndrei Dinu
in order to display all the information gathered in the backend, new columns needed to be added in the hoblistmodel. (Bitbake rev: 0942f05a1196513c6d163f28cf297728aed6ee22) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-19bitbake: hig/simplesettingsdialog: added entries for information dialogsAndrei Dinu
added information so that it would display correctly in the information dialogs. (Bitbake rev: bf86cc183c250acd0e52755ae6050a2f8d85ccf5) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-19bitbake: hig/propertydialog: new class added for the property windows.Andrei Dinu
this covers functionality for : recipe selection page package selection page information dialogs (Bitbake rev: 82cb844c92fcc71cefe7d7ddc110523c62185e9e) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-19bitbake: hig/advancedsettingsdialog: Added information for the information ↵Andrei Dinu
dialogs added information so that it would display correctly in the information dialogs. (Bitbake rev: 7580716b905366aea70c9eed38dc703cecf24219) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-19bitbake: crumbs/builder: Replaced the function that displayed tooltipsAndrei Dinu
replaced in the builder.py the function that displayed the tooltips with two functions that display property windows for recipes and packages pages. (Bitbake rev: bec3c1dc91118705149d00e5ec2bea08c8db75ed) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>