aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs
AgeCommit message (Collapse)Author
2012-09-24bitbake: hob: fix Gtk-WARNINGs due to invalid markup on Back buttonPaul Eggleton
You can't use markup characters (e.g '<' or '>') in the labels for many widgets - you must use the appropriate entities instead. (Bitbake rev: 54a16ac999d4a2c4c3f8a4531e8c6fabc39a4147) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-24bitbake: hob: remove confirmation dialog on closePaul Eggleton
This is not necessary for modern applications - instead we just need to check if we're in the middle of a build and if so, do the same thing as pressing the "Stop" button. (Bitbake rev: a79eb5d918239db1dade8134743e6142a4854930) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-24bitbake: hob: allow configuring default machine using HOB_MACHINEPaul Eggleton
Allow specifying HOB_MACHINE in local.conf to set the initially selected machine. With this set, Hob will select the specified machine and then jump straight into parsing recipes. If you do wish to change the selected machine with HOB_MACHINE set you still can - you just need to stop the parsing process first. Fixes [YOCTO #3148]. (Bitbake rev: c3b623dc7d546a1ededdb532dcbcba4a6230bc65) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-24bitbake: hob: don't show error dialog for errors during buildingPaul Eggleton
During building we already report errors in a special tab and indicate when the build has failed; bringing up a dialog was a regression introduced in bitbake revision 5bab81b124087d63d6eb62a861e1241714fcd483. Fixes [YOCTO #3151]. (Bitbake rev: cf0a67d62f631aa48d1afc3fbdd0f73995b1c401) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-24bitbake: hob: The title of the packages screen depends on the screen you ↵Constantin Musca
arrive from - If you arrive to the packages screen from the recipes screen, the title should say: 'Step 2 of 2: Edit packages' - If you arrive to the packages screen from the image details screen, the title should say: 'Edit packages' - The title of the recipes screen should say 'Step 1 of 2: Edit recipes' [YOCTO #2982] (Bitbake rev: c366f4314c29b873a486daa9a0a4e29bb4225dd6) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-20bitbake: hob: Don't set busy cursor on the root window, just our windowRoss Burton
[ YOCTO #3127 ] (Bitbake rev: 5ef9d98b343b9ed05167e5471eb9f7f12e97b045) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-20bitbake: hob: add a top bar when building process is stoppedCristiana Voicu
When a build was stopped, it wasn't obvious what to do next. Now, on the page it appers a top bar with 3 buttons: "edit image", "open log", "build new image" [YOCTO #2537] (Bitbake rev: a6afd15b7a40919313e26777b514ae44b587a0f6) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-20bitbake: hob/packageselectionpage: "Cancel" button returns to "Image ↵Cristiana Voicu
configuration" screen Once package building completes, you can customise the list of packages that will go into the final image. Once you have made the changes you need, you can either build your image, or you can exit the process and go back to the 'Image configuration' screen by selecting 'Cancel'. [YOCTO #3105] (Bitbake rev: c5fd1824c9794923576ec1e747536c0430542fd1) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-20bitbake: hob: report event handler failuresPaul Eggleton
If an event handler failed we were not recieving an error message - parsing just "froze" at 99%. This is because we were expecting a CommandFailure event and this never happened in the case of RequestPackageInfo which is where the failure was occurring. This also required tweaking the error formatting slightly, taking the return value of the format function rather than the message property since the latter only seems to contain the first line without the traceback in the case of event handler failure. Other error cases were tested and their message formatting is unaffected by this change. Final part of the fix for [YOCTO #2651]. (Bitbake rev: 5bab81b124087d63d6eb62a861e1241714fcd483) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-20bitbake: hob/settings: Remove stray "distro" combobox from simple settingsBogdan Marinescu
The "distro" combobox was moved to advanced settings, but it was also present in simple settings. This patch removed it from simple settings. (Bitbake rev: 6d56bec4464da14d7fde0e60946be43293ad6e52) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-20bitbake: hob: Fix settings dialog issuesBogdan Marinescu
Fix some issues with the settings dialog that were introduced as a result of merging the fix for #2162. [YOCTO #3117] (Bitbake rev: a363f59579e01cb7bd39be2ce73f22c875c62ce7) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-20bitbake: hob: rename 'View log' to 'Open log'Constantin Musca
Rename all the 'View log' buttons to 'Open log' for consistency. [YOCTO #3045] (Bitbake rev: 7bc9b0c1c2544b494959b13ac79ac3e52edb4fe3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-14bitbake: Implement 'settings' dialog as designedValentin Popa
[YOCTO #2162] (Bitbake rev: ac75b06744e73399ca1fbda322ef851ae5754b0a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-14bitbake: hob/builddetailspage: Add tooltips to the build failed notificationConstantin Musca
[YOCTO #3046] (Bitbake rev: 69ad4ebd1379e804d0753bd4ee704b602b5efcc4) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-14bitbake: hob: format error messages properlyPaul Eggleton
Error messages that use arguments need to be formatted properly, or we don't get the full message. Use a formatter to do this when an error occurs. Partial fix for [YOCTO #2983]. (Bitbake rev: 6783538884adecd914909a9ab4ca73c27575f3ad) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-14bitbake: hob/imagedetailspage: change "FileCreated" label to "Files created"Cristiana Voicu
[YOCTO #2998] (Bitbake rev: ca2464561d54d59d1146359e41eb08201954fc21) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-14bitbake: Fixed hob proxy tab tooltip text per review suggestions [YOCTO #2499]Jessica Zhang
(Bitbake rev: 485e69d41e220ed4e8efc89a357a8d395e44da9f) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-14bitbake: hob: sort base image drop-down listPaul Eggleton
Sort the list of base images to make it easier to find a specific image in the list. Note that "Create your own image" still remains the last item in the list. (Bitbake rev: db16f575a774de7d9d44b4bc727b252de5d0f34d) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-14bitbake: hob: don't reorder layers listPaul Eggleton
We cannot reorder this list - it must stay in the order shown in the dialog (which may in future be configurable by the user). Fixes [YOCTO #2649]. (Bitbake rev: eca0352195d2d8ae8ef15baab9737884ec674a46) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-10bitbake: hob/packageselectionpage: restore selected packagesCristiana Voicu
After "Cancel" action, selected packages are restored to default. [YOCTO #2984] (Bitbake rev: 81b0c0cd15cbd61285e6525f482412051371ea4c) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-10bitbake: hob: rename task -> packagegroup in recipe selectionPaul Eggleton
This changes the filtering to use the inheritance of packagegroup.bbclass to determine if a recipe is a package group. Also makes the tab tooltip text generic; these recipes could come from any enabled layer, not just the default ones. (Bitbake rev: a3bf87a90198bf6127663c27d8be086dab04aaf9) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-10bitbake: hob: ensure error message text is properly escapedPaul Eggleton
Our poor implementation of markup escaping was causing invalid markup, leading to the error dialog being blank. Use the glib markup escaping function provided by PyGTK+ to do this properly and avoid the blank error dialogs. Partial fix for [YOCTO #2983]. (Bitbake rev: 563ea5233a5ab1629c51e802d04280692f96c596) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-10bitbake: hob: use correct semantics for dealing with pkgdataPaul Eggleton
Some of these values may or may not be overridden on a per-package basis, so handle them accordingly. (Bitbake rev: 56cee6a958843b03c5389d4a45245a04d1e03327) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-10bitbake: hob/imageconfigurationpage: remove or_label referenceCristiana Voicu
When or_label was removed, I forgot to remove also the references to it. [YOCTO #3010] (Bitbake rev: 4d208aaedd60f79a4277f501fdbf8c2afc32c250) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-07bitbake: hob: print message when DISPLAY is not setCristiana Voicu
If DISPLAY wasn't set, launching hob has printed a traceback difficult to understand. Now, the exception is caught and it shows a human message. [YOCTO #2596] (Bitbake rev: a41098a2dacbd903422ccdcd1885b0f351c7ddf3) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-07bitbake: Hob: change view of 'recipes' and 'packages' tables as ui designLiming An
changed the order of task tables, cancel the 'description' column, add the binb total number indicator, and so on [YOCTO 2195] (Bitbake rev: 6dc3263d60a6d35f9eebfcdbc2665201ee40b953) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-07bitbake: crumbs/hig: Save toolchain in settingsBogdan Marinescu
Toolchain was not saved in the settings dialog ("Output" tab). [YOCTO #2695] (Bitbake rev: f8924b75d6ff7f093d73f4e3c0953e349960d5ff) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-07bitbake: hob: The 'run image' and 'deploy image' dialogs text and alignment ↵Cristiana Voicu
corrections -changed the text shown by both dialogs text -make small tweaks to alignment [YOCTO #2999] (Bitbake rev: b193db13472908b8ec6c670da96ff3b0004e635b) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-07bitbake: hob/imagedetailspage: "Image ready" icon appers only after the ↵Cristiana Voicu
image was generated Now, "Your image is ready" icon doesn't appear when you come back on Imagedetails page. It appears only after the image was generated. [YOCTO #2984] (Bitbake rev: de29bfc163471e4959483493a5e5b26f8a2cf8a0) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-07bitbake: hobwidget: Button theme is taken from host, fixIoana Grigoropol
- All buttons in the interface inherit a BaseHobButton that use the gtk settings for buttons from the host; - Removed 'or' label between actions on image details page [Yocto #3011] (Bitbake rev: 1a8356b57f906cf575612eb52fc8d3a9824ff9a7) Signed-off-by: Ioana Grigoropol <ioanax.grigoropol@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-07bitbake: hob/recipe&packageselectionpage: Change "Back" button to "Cancel" ↵Cristiana Voicu
button "Back" button placed on RecipeSelectionPage and PackageSelectionPage was changed to "Cancel" button to avoid any confusion. Also, it was placed next to the other buttons on the page. [YOCTO #3012] (Bitbake rev: 1785b49a1b0b9698851d6e8aea94d1d2aa22c445) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-07bitbake: hob/imageconfigurationpage: Set secondary action for "Edit image" ↵Cristiana Voicu
button The image configuration screen should have only one primary action. "Edit image" button has now secondary action, and also I have removed "or" label. [YOCTO #3010] (Bitbake rev: f54191dac18b4e1100944cc6da86705c1e9c1683) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-07bitbake: hob/packageselectionpage: Add tooltips to 'Included' and 'All ↵Cristiana Voicu
packages' tab and 'Search' field For the 'Included' tab: "The packages currently included for your image" For the 'All packages' tab: "All packages that have been built" For the 'Search' field: "Enter a package name to find it" [YOCTO #2322] (Bitbake rev: 0828f352419127fb30dc4eb5f91feba84ea59202) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-07bitbake: hob/packageselectionpage: Correctly restore previously selected ↵Cristiana Voicu
packages "Back" button from "Packageselection" page now restores correctly previously selected packages list. Till now "Back" button was implemented just to switch pages, not to cancel changes you have made to packages list. [YOCTO #2984] (Bitbake rev: 1ad03d6a327eb3389f7b4d0d74d2e8ae8b50c3b6) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-07bitbake: hob2: remove class hccKang Kai
Because class hcc is useless, remove it. (Bitbake rev: 08d4a0f76542e05755c298b3875ea373e5512e13) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-07bitbake: hob2: remove the hard-coded images mapKang Kai
[Yocto #2795] When a new image type added, the hob will crash because the new type is not in the hard-coded image dictionary. For most of the image types, they are same with the image file's extension name. So use variable "IMAGE_EXTENSION_difftype" to map the image type which is diff with the image file extension name, such as type "live". And the variable(s) will be set in image_types.bbclass. (Bitbake rev: e7c84f056af9c613920d5adcd078a011e0387193) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-22bitbake: Hob wizard-like reorganizationCristian Iorga
Hob is now more context-sensitive regarding user changes/options. Also, the workflow have been streamlined and resembles more of a wizard. Beautified some hardcoded values. Fixed typo. New streamlined Image Configuration page. Build and/or Edit image buttons presence is context sensitive. Recipes and packages tabs selected automatically based on custom image or pre-defined target image (included or all). Context sensitive Back button. Fixes [YOCTO 2165] (Bitbake rev: b48cd7dcf57b1abc8c5b46ced11d4f57bf06e557) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-22bitbake: bitbake: hob: create console log directory before writingPaul Eggleton
The default value of BB_CONSOLELOG in OE-Core now points to a directory that might not exist prior to the first build, so ensure it is created first. (Bitbake rev: 660821769b9dfb89086291ffc835e9b5444509be) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-02bitbake: Hob: change the Build failure scenario as ui designLiming An
As ui design 'build-fail-spec.pdf' to change the GUI [YOCTO #2183] (Bitbake rev: f9b81e44b2e71b4de6729bd2c69b25fd619b5fed) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-02bitbake: Hob: log for Hob and allow users to show logs after successful buildLiming An
If users build images in Hob, record logs and allow users to retrieve the lo after successful build. The logs are generated if and only if: - users do "just bake" - users do "build image" after "build packages" - users do "build packages" only [YOCTO #1991] (Bitbake rev: 291289787bb042b99f0599babc2d67c220aadb87) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-02bitbake: hob: deal event DiskFullKang Kai
Part of [Yocto #2168] When bitbake runqueue is teminated by disk monitor, it will send event DiskFull. Update to handle it. (Bitbake rev: a691de10d8b8de552628b277e78d47c607ee3a46) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17bitbake: hob2: add elf to hcc supported image typesKang Kai
[Yocto #2709] OE Core Commit c9b01af84b64edba056f959c349895e0698324e6 add elf image type. This will cause hob build image failed. Add elf to hcc supoorted image types to fix this issue. (Bitbake rev: a93a58b7cea2ddb9596cb4d718c0801db5d1a295) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-04bitbake: Hob: fixed some variables not clean bug in detail pageLiming An
[YOCTO #2679] (Bitbake rev: 73801f571e040dcdfeb15a15b9a484cbefaae70c) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-29bitbake: Hob: change 'run image' and 'deploy' Gui and work flow for building ↵Liming An
detail page In build detail page, the response action of clicked the 'run image' or 'deploy' button will accroding to below as ui design: 1)if there has one file in building result, it will responsed the 'run image'(now, we only support the qemu) or 'deploy' directly 2)if there has more than one file, it will popup a dialog with listed created files type, they are has same action attributes 'deploy' or 'runnable'. Note: because the qemu image (runnable file) can't be deployed and we can't generated a image that has the two attributes now, can be run or can be deployed, so the code will not deal with this case. [YOCTO #2155] (Bitbake rev: 0d24b1e85a11b68c8464cf15b49d3fc78f216818) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-25bitbake: Fix for Hob bug #2323Cristian Iorga
Removed unnecessary button from Recipes screen and replaced the button that diplayed packages size and total image size from Packages screen with a label. (Bitbake rev: e6ff1d4bab43fdcd8af1230f1d54615f53c1978e) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-25bitbake: hig.py: use module tempfile to create temp fileKang Kai
I am sorry that use os.tmpname which casue a security warning. Follow Darren's suggestion to use tempfile.NamedTemporaryFile instead. (Bitbake rev: fe514a130579302312f68821536d108c8ceb4363) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-14Hob: fixed issue about 'select a base image' combo not sensitiveLiming An
The combo view is not sensitive, after select recipes come back. so fixed this issue. [YOCTO #2500] (Bitbake rev: debcea9c063f7bddcba1d4ed47edbe173ef1d9cf) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-14Hob: fixed an issue about no 'set_page' function in hob failed page showLiming An
Due in mistake deletion in previous patches, if building failed, will report the error of no 'set_page', so add that function. (Bitbake rev: b046f4316ee7f2afaa0bb723e4216714d9cb87a0) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-14ui/crumbs/hig.py: simplify subprocess callKang Kai
According to Darren's suggestion, subprocess.call() will wait until the subprocess complete. So simplify the code, use subprocess.call() to wait command complete. (Bitbake rev: 3dea9d5a5af82d99d337238981807a4cb1bd5b93) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-14ui/crumbs/hig.py: tweak stringsKang Kai
Add comments for DeployImageDialog 'standalone' part of codes to make it easy to read. And tweak some strings. (Bitbake rev: b0e604d3d6dbfcaeac0a2e0e4399aeb4327f8cbc) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>