summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
Commit message (Collapse)AuthorAgeFilesLines
* Hob: add auto scroll to rows which be new appended in hob building log pageLiming An2012-03-231-1/+10
| | | | | | | | | | | | | | | For make the building screen to provide clear information about task in progress by request, so add this function. At the beginning of building, the vertical scroll bar will go to the active area automatically. Once the user moves the scroll bar in the middle, the automatic move of the bar is disabled. However, once the user moves it to the bottom again, it will be kept to the bottom even though more logs come. [Yocto #2098] (Bitbake rev: cf43be6685d45c66e6508bbce653f8a67db66a9b) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: reset the policy to forbid the horizontal scrolling for building logLiming An2012-03-233-6/+31
| | | | | | | | | | | | This patch is not to show the horizontal scroll bar for building log, and add CellRendererText class to wrap the text. [Yocto #2091] (Bitbake rev: 7c5e1297c1af2edd46315e3dec4516f850d5e222) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/builder: change dialogue title to LayersJoshua Lock2012-03-231-1/+1
| | | | | | | (Bitbake rev: 03e645cda56e9f8cf1fa94775534369b77518767) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs: make use of HobButton for existing primary action buttonsJoshua Lock2012-03-234-38/+7
| | | | | | | | | | Replace all gtk.Button instances that have the orange style applied with HobButton. (Bitbake rev: f4dfdc23a6498fdaa164a1bfccf616ff8fcbd251) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/hobwidget: add HobButton widget for the primary actionJoshua Lock2012-03-231-0/+20
| | | | | | | | | | | | | | The design uses a big, bold labelled, orange button for the primary action on each dialogue. The HobButton implements this design as a reusable widget. HobButton makes use of Pango Markup to use a relative size, x-large, for the button text to ensure it's relative to the system configured font sizes. (Bitbake rev: 9aa477f7bd16d3e360bf9b51c1f9d5032a6c5288) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs: fix 'Back to image configuration' alt button textJoshua Lock2012-03-232-2/+2
| | | | | | | | | Design calls for these buttons to include << at the beginning of the label (Bitbake rev: 08cc5ec196a51c29f936eccba1644607be2ed759) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs: add colour for HobAltButton per visual designJoshua Lock2012-03-232-2/+4
| | | | | | | | | | The visual design calls for the alternative button to have a pale blue colour. (Bitbake rev: c9f61765216a013c7ebc02157ea47c3478252e7c) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/hig: tweak 'Add Layer' button per visual designJoshua Lock2012-03-231-11/+16
| | | | | | | | | Use a separate, pre-lit, icon when the button has the cursor over it. (Bitbake rev: 535d23921dfb7310022099d39b1092edfee51c1a) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/builder: only show a close button on the Layer SelectorJoshua Lock2012-03-231-2/+1
| | | | | | | | | | | | Per discussion with the design team the LayerSelectionDialog should only have a close button. See: https://bugzilla.yoctoproject.org/show_bug.cgi?id=2083#c10 (Bitbake rev: 65d92efe2786f21b8a2790ef0383f87b6dc15b57) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs: replace HobXpmLabelButtonBox with HobImageButtonJoshua Lock2012-03-232-78/+85
| | | | | | | | | | | | HobImageButton is an gtk.Button subclass, and therefore behaves like a button with prelight and focus states, with an icon and two lines of text - primary and secondary. The secondary text is displayed in a lighter colour using a new module method, soften_color(), per the design. (Bitbake rev: b91cc96c4ff4195ac26fdfd1fb0c2ff8db06aff8) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/icons: add new icons for use in Hob, autocrop some existing onesJoshua Lock2012-03-235-0/+0
| | | | | | | Add add-hover and remove-hover icons for the Layer Selection Dialogue. Autocrop layers_hover, packages_hover and recipe_hover images. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* bitbake/fetch2: Ensure mirror tarballs have .done stamps so we don't ↵Richard Purdie2012-03-232-0/+2
| | | | | | | | | | redownload and corrupt them [YOCTO #2154] (Bitbake rev: 521d6b14151d3bf934b9597557f7ae46e50a3d7a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Fix icon paths that were mismergedRichard Purdie2012-03-232-0/+0
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Revert interfaces of callbacks for layer_button, view_recipes_button, ↵Shane Wang2012-03-221-3/+3
| | | | | | | | | | | and view_packages_button. (From Poky rev: 35942a7dd973796673ab0215f68b4a25356ec053) (Bitbake rev: 96e235a151fa04f5a15cd8b46f50a5852e2ba739) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/hig: disable removal of meta-hob layerJoshua Lock2012-03-221-1/+3
| | | | | | | | | | | | The Hob GUI requires the meta-hob layer to function so prevent its removal as we do with the core meta layer. (From Poky rev: a64d71e1e4475236e286cb20dde29c4d099d3693) (Bitbake rev: 431624678025b3d3fe04f1c6e8fc50820b3129fb) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hig: make the layer selection dialogue more closely match designJoshua Lock2012-03-221-29/+93
| | | | | | | | | | | | | | | | | | | | | The layer dialogue design includes in-line remove/delete widgets next to the layer path in the tree view for all layers other than the meta layer as well as an in-line notice that the meta layer cannot be removed. This is achieved in this patch through the use of custom cell_data_func's for the treeview to render the meta layer differently and a custom CellRenderer implementation, CellRendererPixbufActivatable, which renders a pixbuf and emits a clicked signal when the user clicks on it. Fixes [YOCTO #2083] (From Poky rev: 83c96b7a0ec4412716090098385a665045909a9a) (Bitbake rev: b2d8f28c0059992200457a15aef8be09e015a5dd) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs: add icons for use in the layer dialogueJoshua Lock2012-03-221-0/+2
| | | | | | | | | (From Poky rev: 5e5b488952ef2a0dd886fd67993411760855fcee) (Bitbake rev: e68c37cee0c9fb1b88479888656eae43bfd144d7) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/ui/icons: autocrop imagesJoshua Lock2012-03-223-0/+0
| | | | | | | | | | | | Remove transparent border from the edge of the layers_display, packages_display and recipe_display images. (From Poky rev: d240f17687f34a0c5733a7744e8689420f45381c) (Bitbake rev: e439de09eb073a50e12021b196f10fc87e33b858) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs: Add HobAltButton and use itJoshua Lock2012-03-227-22/+28
| | | | | | | | | | | | | | | | | | | This adds a gtk.Button subclass for secondary actions which unsets the relief so that the user is aware that the button is clickable and yet it is more subtle than the primary action (such that the primary action is the most obvious one) - this is per the interaction design. Further we replace all uses of gtk.LinkButton with the new HobAltButton Partially addresses [YOCTO #2105], a follow on patch will theme the button so that it matches the visual design. (From Poky rev: c3f17fed243180678264168968333463b203bfa0) (Bitbake rev: 601521c2d7f5568d94529a77b2cbe19fef7cbf48) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/persistenttooltip: fix whitespaceJoshua Lock2012-03-221-132/+132
| | | | | | | | | | | We use 4 spaces, not a tab, in BitBake (From Poky rev: 7d9c9fd7c267d69bab51590074d66a2d68e98ca6) (Bitbake rev: 7658cd6d8e0e558f60df72b294019a40c27bc703) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/persistenttooltip: fix colours on darker themesJoshua Lock2012-03-221-5/+21
| | | | | | | | | | | | | | | Darker gtk+ themes, such as the one used in Ubuntu Unity, revealed that the PersistentTooltip styling wasn't setting the label colour correctly. Set the label foreground colour to the tooltip_fg_colour value as read from gtk-color-scheme property of the system settings. (From Poky rev: 0934cfcea5986dbdc50e7159ee907c70b0b3e587) (Bitbake rev: ab15ef585e51e4c85a4a55aa6b35fbf3b53f3805) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/persistenttooltip: tweak bordersJoshua Lock2012-03-221-2/+6
| | | | | | | | | | | | | Change the layout and borders so that the close button is flush with the edge of the tooltip window yet leave the contents with a small border such that text isn't flush with the window edge. (From Poky rev: 5a0891d144de5d3f73c51adef5a30492a679c66a) (Bitbake rev: f652d9d28d69a04bc9361599d173625378ac8d33) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hobwidget: add clear icon to search entries in HobNotebookJoshua Lock2012-03-221-5/+14
| | | | | | | | | | | | It's a common pattern on Gtk+ desktops to be able to clear a search/filter entry using an icon in that entry. (From Poky rev: 6394283522ef2f259397d8bd294291fb20354c8b) (Bitbake rev: f55372d542995fd0797b11f42dcfdbe57858449a) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Use inherit information to judge if a recipe is image typeDongxiao Xu2012-03-221-3/+5
| | | | | | | | | | | | | | Previously we use pattern "-image-" to match recipe name to judge if it is image type. This will ignore some images whose name doesn't match the pattern. The new method is to use the inherit information, that is, if a recipe inherits image.bbclass, we treat it as an image. (From Poky rev: 981b81bd39529d2ba9af0d4e2a25bda3d32bd8fc) (Bitbake rev: bdbee0c899e115ad08b9a77d3e58d6767766da75) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cooker: add inherit information when generating package treeDongxiao Xu2012-03-221-0/+2
| | | | | | | | | | | | Inherit information could be used to judge if a recipe is image type or not. (From Poky rev: 203f112a84b3971dc71da3dc455fd054d1c16a12) (Bitbake rev: fe52af99918f61abec8f779efb02926b713f2aac) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Change the titles for recipe view and package viewShane Wang2012-03-222-2/+2
| | | | | | | | | (From Poky rev: cccbf0cc8a3d8c93a141d96bed4763beb7b85786) (Bitbake rev: 98dd4f20f2e6f50c1cad2c480eebde14eeadc41a) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Change "View Packages" descriptionShane Wang2012-03-221-3/+3
| | | | | | | | | | | | | | Change 'View Packages' button description from 'Add/remove packages' to 'Add/remove previously built packages to/from your image'. And we adjust the size to make "View Packages" button fit into the window. [Yocto #2146] (From Poky rev: 279dbff3ef9f8e8bc58b86f8c4f5ffe70d4a2e8b) (Bitbake rev: 594f5936c2450d596967f062c14434f5357cb5aa) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Change window title from HOB to HobShane Wang2012-03-221-1/+1
| | | | | | | | | | | [Yocto #2147] (From Poky rev: 9291e6b751171a49fcd8cd0d13c6b22479e542bd) (Bitbake rev: 6d9dc83e566b7d3a4903fdba30053233d97e8381) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Move "Create your own image" to the bottom of image listDongxiao Xu2012-03-222-3/+5
| | | | | | | | | | | | | | Move "Create your own image" item to the bottom of base image list. Besides, remove an un-used hob list entry. This fixes [YOCTO #2104] (From Poky rev: f215ce518ad644ca4747ae17279db4b82d0c715d) (Bitbake rev: 7e00723a6508023ffbefed2c2de1bc9c55564faa) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Change package selection tab orderDongxiao Xu2012-03-221-20/+20
| | | | | | | | | | | | | | | | | In the package screen, change the tab order to be: "Included" and "All packages". Also change some descriptions in tab. This fixes [YOCTO #2111] (From Poky rev: 25628f43d16bcc35874bdac3e1ce1b552c049633) (Bitbake rev: e12a5e478635a0de87060ac20aff8c9b1858596e) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Change recipe selection tab orderDongxiao Xu2012-03-221-24/+24
| | | | | | | | | | | | | | | | | In the recipe screen, change the tab order to be: "Included", "All recipes", and "Tasks". Also change some description name in tab. This fixes [YOCTO #2110] (From Poky rev: 400b1092f1bad578b26d1e41aeb87dcb852aa4e3) (Bitbake rev: f7168e891ce4af5234d53896a7f51489a7c84a6f) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Change template button name from "Template" to "Templates"Dongxiao Xu2012-03-221-1/+1
| | | | | | | | | | | | | Change the button name according to UI team's design. This fixes [YOCTO #2126] (From Poky rev: 1e4477f9b121b2523685cc6440050c47d3ae1cde) (Bitbake rev: f75dde11f2d73119702026d4dd531c0b242303c7) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: change package classes selection GUIDongxiao Xu2012-03-221-136/+45
| | | | | | | | | | | | This commit change the GUI for package classes selection in advanced setting dialog, which conforms with UI team's design. (From Poky rev: 7bbcabdb71d76cdb2ec1de15618d1e47f1149a21) (Bitbake rev: 4ebce01dde18e67e01ff7c4736c229a3364c04b0) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Remove split model in GTK HobDongxiao Xu2012-03-224-107/+41
| | | | | | | | | | | | | Since the GTK Hob will not use the server/client split model, thus remove it from current Hob code. But we still keep the core mechanism in bitbake server. (From Poky rev: 983ea0265a53e0725dcbf9085ea767ebbc155ae5) (Bitbake rev: 8c129e05a94d457860d883c9b2934a5559de8d9b) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Still use initcmd != None as the if judgementDongxiao Xu2012-03-221-2/+2
| | | | | | | | | | | | | This commit reverts part of change in 491c87d1, since initcmd has a possible value of 0, therefore we must explicitly compare the initcmd with None in if judgement. (From Poky rev: 5736972974a769ea7ce6c92fdf6842db044f770d) (Bitbake rev: ee55ca82c94080ef825d6de094e38ba40ee62e8b) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: save CONF_VERSION and LCONF_VERSION into templateDongxiao Xu2012-03-203-5/+14
| | | | | | | | | | | | To pass the sanity check, we need to define CONF_VERSION and LCONF_VERSION in local.conf and bblayers.conf. [YOCTO #2119] (Bitbake rev: d595960fea0988df9004d927bc2ec3439540dd9c) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Fix advanced setting reparse mechanismDongxiao Xu2012-03-201-0/+2
| | | | | | | | | | | | When judging if reparse is needed when change values in advanced setting, we need also include user's own defined variable pairs. [YOCTO #2121] (Bitbake rev: db4b78798e2280736ddce9f54d25cbcdcb779d0a) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: reset the selection if switch to a new base imageDongxiao Xu2012-03-201-0/+1
| | | | | | | (Bitbake rev: 947f1a3cb7ca81608fd04b7a5d7ced5f4da47d05) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* utils: Add split_version function for splitting a version into its componentsRichard Purdie2012-03-201-0/+14
| | | | | | (Bitbake rev: b7b7c768761d205bc5a60922ff709c9c184d4158) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/persistenttooltip: try to reflect WM close button positionJoshua Lock2012-03-201-1/+23
| | | | | | | | | | | | | | When the user is running a desktop where the close button is on the left we try to detect that and position the tooltip close button appropriately. Where we can't easily determine this we default to placing the close button on the right. Tested on Ubuntu/Unity and Fedora/Gnome Shell. (Bitbake rev: 09147098a63c33dc05dc39b7fe4da4df8e2dbd4c) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hobpage: no need to force a Toolbar button typeJoshua Lock2012-03-201-3/+1
| | | | | | | | | | This uses a more concise API that will be more flexible whent he Toolbar style is updated to match the visual design. (Bitbake rev: 6491b5fd877d6006ebc91e0c73d443a6e7626f3f) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs: remove unused return value from append_toolbar_buttonJoshua Lock2012-03-203-5/+5
| | | | | | | | | No caller of the method uses the returned toolbar variable (Bitbake rev: 77ed4bb3468d5d256f08329fd307df5a219ae242) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hig: use close rather than OK for dismis buttonJoshua Lock2012-03-201-1/+1
| | | | | | | | | Dialogue buttons should have descriptive names (Bitbake rev: 7b28ed7dfa59d9e7cec662159113a03633f8bb36) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: fixed the tabbar search entry retaining focus when user has clicked off ↵Liming An2012-03-201-0/+1
| | | | | | | | | | | | | | it issue Add reset focus code to fixed the search entry retaining focus issue (From Poky rev: 75969f92af4b0aae25dcaa3321f835dd729f4bf9) (Bitbake rev: 0531730b255f41b2804bcd322e10c52cbf13537a) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: fix static variable "self.search" to parameter "search" in signal ↵Liming An2012-03-201-17/+14
| | | | | | | | | | | | | | callback function To fix the signal callback function code, and make the temp parameter to replaced the static global variable, as required. (From Poky rev: a95b61d48bf92948ff5a21896e71ed3cb323ab38) (Bitbake rev: 76f63e70c7b2d6291f8b11bc5baebda510a276d7) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: change HobNoteBook tab edge color from green to grayLiming An2012-03-202-5/+10
| | | | | | | | | | | | To change the notebook tab pressed edge color from green to gray. (From Poky rev: 8e454749e7f535cf43544eeb167c90632e89cfb0) (Bitbake rev: 8e4e868e6183fbd52fa455937bb824a52ef15ab5) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: add auto adjust background area function for long issue textLiming An2012-03-201-9/+21
| | | | | | | | | | | | To add auto expand the background area function for long issue text input. (From Poky rev: f1822f0961bd719de0827e361f7e6fa3bf872746) (Bitbake rev: f406b0a11b021f8492ed0b083d9ff89de4a14653) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Fixed the hobwidget code and make it like a pythonistaLiming An2012-03-201-29/+34
| | | | | | | | | | | | fixed the 'for..in..' range dance code, and use the 'iterator' approach to replaced the index for quote the 'children' list (From Poky rev: 74e7286a4e875eda5e8abeb5db1015031d21c35f) (Bitbake rev: 3dc443663b97515a54b70c9047a9b22c6b8a0c14) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: remove the invalid code in hobwidget.pyLiming An2012-03-201-2/+0
| | | | | | | | | | | | To delete some code which is not used (From Poky rev: a8f5a72d36e9a55ec7a2296e1c9623e177a95a74) (Bitbake rev: 27e77f6c196e313b5b941238e54b74fc746a0230) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: fix '!= None' and '== None' in the codeShane Wang2012-03-206-16/+16
| | | | | | | | | | | | | | This patch is to fix the following: if foo != None -----> if foo if foo == None -----> if not foo (From Poky rev: d771343b1726f166ed8d75543ba68bd2a20aee7b) (Bitbake rev: 23c140a4d00293d922cbd34b6b837493cac2e93a) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>