summaryrefslogtreecommitdiffstats
path: root/bitbake
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: knotty: kill duplicated import of 'time'Christopher Larson2012-11-141-1/+0
| | | | | | | | | The duplicated import could result in an UnboundLocalError. (Bitbake rev: a098cebd5c33ebd704efd35d9e655262283cbe1f) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: print clear message for "bitbake -e ASSUME_PROVIDED"Robert Yang2012-11-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "bitbake -e ASSUME_PROVIDED" should fail, but the error message wasn't clear enough in the past: $ bitbake -e bzip2-native [snip] ERROR: Command execution failed: Traceback (most recent call last): File "/buildarea/lyang1/poky/bitbake/lib/bb/command.py", line 94, in runAsyncCommand commandmethod(self.cmds_async, self, options) File "/buildarea/lyang1/poky/bitbake/lib/bb/command.py", line 323, in showEnvironmentTarget command.cooker.showEnvironment(None, pkg) File "/buildarea/lyang1/poky/bitbake/lib/bb/cooker.py", line 325, in showEnvironment fnid = taskdata.build_targets[targetid][0] KeyError: 0 [snip] With this patch, the massage will be: [snip] ERROR: bzip2-native is in ASSUME_PROVIDED ERROR: Command execution failed: Exited with 1 Summary: There were 2 ERROR messages shown, returning a non-zero exit code. [YOCTO #3392] (Bitbake rev: f31447dac92454c822d4ebb7dd48e96c6c69dde4) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: hob was freezing because it doesn't receives well the log fileCristiana Voicu2012-11-131-1/+1
| | | | | | | | | | | -after pressing "build image" button, hob was freezing because it didn't receive well the log file [YOCTO #3398] (Bitbake rev: e3619e34d43c3f7725fc83c362d8cbd07e153ebe) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: command: add error to return of runCommandChristopher Larson2012-11-017-65/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, command.py can return an error message from runCommand, due to being unable to run the command, yet few of our UIs (just hob) can handle it today. This can result in seeing a TypeError with traceback in certain rare circumstances. To resolve this, we need a clean way to get errors back from runCommand, without having to isinstance() the return value. This implements such a thing by making runCommand also return an error (or None if no error occurred). As runCommand now has a method of returning errors, we can also alter the getCmdLineAction bits such that the returned value is just the action, not an additional message. If a sync command wants to return an error, it raises CommandError(message), and the message will be passed to the caller appropriately. Example Usage: result, error = server.runCommand(...) if error: log.error('Unable to run command: %s' % error) return 1 (Bitbake rev: 717831b8315cb3904d9b590e633000bc897e8fb6) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: providing details about process state through porgress barCristiana Voicu2012-11-013-14/+9
| | | | | | | | | | -small changes to the text of the progress bar when parsing recipes [YOCTO #3282] (Bitbake rev: 90c0dfc39c3ce13e53c7c91168dc3401f7df476b) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake/server: Remove dead console log codeRichard Purdie2012-11-014-10/+6
| | | | | | | | This code is dead and doesn't do anything so lets remove it. (Bitbake rev: 8d45739f49618757a5d7d79782deda355e3981ec) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker.py: Don't dump the environment into the console log fileRichard Purdie2012-11-011-0/+2
| | | | | | | | | | | | | Dumping the environment data into the console log files directory is invariably not what the user wants or expects and leads to confusion when looking at the log directory. This change forces the logs to be disabled by default when using the -e option. (Bitbake rev: 5d825b31d1133e41d3982db1b94f6a30a6fb99f7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: uihelper: Set update flag when start event encounteredRichard Purdie2012-10-301-0/+1
| | | | | | | | | Its a minor correctness detail but the update flag should be set when Start events are encountered. (Bitbake rev: 96683ed68e11672ff22fb4a291d2628676c136f0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: knotty: Ensure last tasks are disaplyed correctly in the footerRichard Purdie2012-10-301-1/+1
| | | | | | | | | | | There was an issue where the last tasks run by bitbake would not correctly get displayed in the knotty footer. This was due to the total count including active tasks. This change ensures the footer is displayed if the are any running tasks. (Bitbake rev: d787e4efc106589811651bc18ca48d5223443b95) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: reordering the layers in the Hob Layers dialogCristiana Voicu2012-10-271-1/+41
| | | | | | | | | | | | | -since the order of the layers can potentially impact the build outcome, users should be able to reorder the layers within the layers dialog; -used TreeView Drag and Drop [YOCTO #3270] (Bitbake rev: 2bd9a00facb90f7d76a9bdaa86ca765fb2159e71) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/hig: Hob doesn't save properly proxy settingsCristian Iorga2012-10-271-16/+1
| | | | | | | | | | | | | | | | | | | User introduced proxy settings were not saved when a proxy details input dialog was opened. The proxy settings were lost upon return, and restored from the previously stored one. Also: Code cleanup: details_cb() function duplicate definition removed Fixes [YOCTO #3240] (Bitbake rev: aa64b2e472f8a9713e3dc25647aa2cae474e2622) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: during recipe parsing, progress bar text provides details ↵Cristiana Voicu2012-10-271-2/+8
| | | | | | | | | | | | | | | about the process state - indicating on progress bar that hob has gone from parsing recipes to "Generating dependency tree"; this will provide some visibility of what has caused the "stop" button state to change [YOCTO #3282] (Bitbake rev: d964d04ff1f59a590bd3ab5430517d79e92536d0) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: add a progress indicator when you select 'view log'Cristiana Voicu2012-10-275-3/+136
| | | | | | | | | | | | | | | | | | | | - created a new file named "hobthreads.py", defining a thread for opening the log file in a subprocess using subprocess module; in the future I think we will add some other threads here, to implement some other performance issues - on "builddetailspage", "packageselectionpage" and "imagedetailspage" I have changed the manner for opening the log file; it uses the thread to open the file, and on main thread it creates a dialog to show a progress bar, which pulses till the file is open - this was added because when the log file is big, it takes time to be opened; on the dialog you can use "Cancel" button to terminate the process initiated to open the file [YOCTO #2997] (Bitbake rev: 165362a63f085991b6bab63ab90a0c7b9bf6b784) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake: hob/builder: Hob crashes because of bad initCristian Iorga2012-10-251-0/+1
| | | | | | | | | | | | | | | Image selection is not properly initialized to none, and it used before having a chance to have a value. Due to dynamic nature of Python, variable is used before it exists, in this case. This causes a crash. Bug introduced during the fix of [YOCTO #3228] Fixes [YOCTO #3334] (Bitbake rev: 1c540541c5397c38dca880a79df9ebfcda576d4c) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/settings: add a scroll bar for the box with mirrorsCristiana Voicu2012-10-241-3/+10
| | | | | | | | | | | | - added a scroll bar in the shared state tab from settings - added a signal on it, so when you add a new mirror, it will auto-scroll to the end of the list [YOCTO #3229] (Bitbake rev: 00afd6a25c0cc0a4fcddd9f7c26a17ef6c47cbd2) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake: hob/builder: Image selection is remembered while changing ↵Cristian Iorga2012-10-241-1/+0
| | | | | | | | | | | | | | | adv settings Image selection is remembered correctly even after advanced settings have been changed. Selected image was reset even when it was not the case. Fixes [YOCTO #3228] (Bitbake rev: 93fb0a2c56100b2bbc8769af9ae2343c05e72193) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/builddetailspage: set "Log" page as defaultCristiana Voicu2012-10-241-0/+1
| | | | | | | | | | | | - when you do a build you should see "Log" page, not "Build configuration" page [YOCTO #2569] (Bitbake rev: 431cb80d4d5222f832f6141b8578291f2f14a131) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/imageconfigurationpage: progress bar shows when recipe parsing ↵Cristiana Voicu2012-10-241-3/+9
| | | | | | | | | | | | | is stopped -when the recipe parsing process is stopped, the progress bar shows "Stopping recipe parsing" [YOCTO #3259] (Bitbake rev: d20626bd717bb8f5cfd73b91337af880198db247) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake: hob/hobwidget: "Brought in by" column is now displayed ↵Cristian Iorga2012-10-243-4/+10
| | | | | | | | | | | | | | | correctly In "Edit Recipes" and "Edit packages" pages, the "Brought in by" column is displayed correctly, with the right number of additional packages and a proper title. Fixes [YOCTO #2195]. (Bitbake rev: 4d1d3e5a54eb718e2eee02f734d929f15ccf99ce) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: stop build without percentage shownAndrei Dinu2012-10-242-1/+6
| | | | | | | | | | | | added a method in progressbar.py that doesn't update the percentage in the progress bar shown in hob. the call of the method is done in builder.py. (Bitbake rev: 7ab5775fceda1055b86bdc3313fc4bf928bf5155) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: change behavior for "cancel" button from the Recipe selection pageCristiana Voicu2012-10-243-0/+5
| | | | | | | | | | | -when returned to the Image configuration page, after canceling on the Recipe selection page, the image selected previously is now shown corectly [YOCTO #3205} (Bitbake rev: 0a755026661a18ae386eb64b807e9e9e8f0dfe4c) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: image size displayed wrong size in edit packages screenAndrei Dinu2012-10-241-2/+2
| | | | | | | | | | | | | size_str = '%.1f' % (size*1.0/(1024*1024)) + ' MB' from /bitbake/lib/bb/ui/crumbs/hobpages.py file transformed the size in MB. In our file it was again multiplied by 1024 instead of doing a division by 1024, which brought a faulty size on the edit packages screen. (Bitbake rev: 7dcea3884a45973ae332695dc8a53814b701151f) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: event/hob: Add a button for network tests in the proxy settingsBogdan Marinescu2012-10-244-71/+273
| | | | | | | | | | | | | | | | | This patch allows the user to check the network connectivity in the "Proxy" page ("Settings" dialog) by adding a button which provides this functionality. It also disables retrigerring sanity checks if the proxy values are changed, since now the proxy checks are explicit. Note that this patch depends on a patch in oe-core ("sanity.bbclass: trigger network tests explicitly"). It will not work properly if the patch in oe-core is not merged. [YOCTO #3026] (Bitbake rev: cb1354d29c0be27aee57b9783c724457ef6725fb) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob-toolchain: task-core-standalone-sdk-target renamed to ↵Andrei Dinu2012-10-101-1/+1
| | | | | | | | | | | | packagegroup-core-standalone-sdk-target This change also applies to task-core-standalone-sdk-target-dbg and resolves build failures caused by the missing packages. (Bitbake rev: 4cd0200e96fb282980a945b80af641a6e022e0b4) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/imageconfigurationpage: a 'hob-image' appears listed in the ↵Cristiana Voicu2012-10-081-0/+1
| | | | | | | | | | | | | base image combo box -remove this image from image combo box [YOCTO #3230] (Bitbake rev: 90fd57ee3cb2856c10bda1f5af4879d2b7cf2668) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/hobeventhandler: Describe the runCommand failure exceptionConstantin Musca2012-10-081-1/+3
| | | | | | | | | [YOCTO #1245] (Bitbake rev: 17f28f09452f70dfb67fce9a397a99deec84dfe5) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/hobeventhandler: Throw an exception if runCommand failsConstantin Musca2012-10-041-1/+6
| | | | | | | | | | | | - throw a Hob exception if runCommand returns 'Busy' or 'No such command' [YOCTO #1245] (Bitbake rev: 5a8e3baa66f845599a616f080a7efce81ecda631) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/imagedetailspage: disable the deploy tool for qemu machinesConstantin Musca2012-10-031-0/+2
| | | | | | | | | | | | - qemu images cannot be deployed to hardware, even if live images (hddimg and iso) files are created [YOCTO #3196] (Bitbake rev: 001b1c439ffa450cb8728b0fa9469fed63ae9bed) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/settings: alignment and spacing fixes on "Shared state" tabCristiana Voicu2012-10-031-29/+43
| | | | | | | | | | | -alignment and separation on vertical and horizontal axis -change controls width [YOCTO #3188] (Bitbake rev: a84c466eae7c2616c041faf930163f23834f0685) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/image_details/run_image: Kernel must be setIoana Grigoropol2012-10-031-2/+2
| | | | | | | | - when displaying image details, even if the kernel information is not shown, the kernel value must be set (if dealing with qemu) otherwise running the image will throw an error (Bitbake rev: 334125a98ecb8a938aee4bc530205ad75099361c) Signed-off-by: Ioana Grigoropol <ioanax.grigoropol@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: raise an exception if user specifies protocol=git with http://Paul Eggleton2012-10-031-0/+3
| | | | | | | | | | | | It is a common mistake to use http:// and protocol=git when attempting to fetch from a git repository using the http protocol; if this is detected then throw an error explaining that you need to use git:// with protocol=http instead. (Bitbake rev: 5bc4930c1638db16bcd5f9c8cfc4081f9ffc192b) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: providers.py: Fix PREFERRED_VERSION containing epochsRichard Purdie2012-10-031-1/+1
| | | | | | | | | | | | | For some reason the code calls int() on the epoch component of any PREFERRED_VERSION. Since this is compared against strings, the comparison would always fail. This removes the stray cast and allows epochs in preferred_version to work correctly. [YOCTO #3187] (Bitbake rev: 117b47553970fc5307374cbf500744b7c302efb4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/hobpages: Generate the title label every timeConstantin Musca2012-10-021-0/+1
| | | | | | | | | | | | - the title label is destroyed at page switching (that's why we need to generate it every time) [YOCTO #3195] (Bitbake rev: d6d991c08f66cf9ab27c53075109212ea9129380) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: Improved behavior for error reporting windowCristian Iorga2012-10-021-0/+1
| | | | | | | | | | | | Scrollbars have now an automatic behavior, depending on the error's text size and error window size. Fixes [YOCTO #2983] (Bitbake rev: 0c0a25672498520fb2c46164f08959dda83c61e0) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Update version to 1.16.0Richard Purdie2012-10-022-2/+2
| | | | | | (Bitbake rev: a579754a04bdcf450e6957dde614a15c11df39e2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: Further improvements to hob dialogsBogdan Marinescu2012-10-021-6/+23
| | | | | | | | | | | | | | | 1. Replace some labels in the "Build environment" tab 2. 'defaultsetup' changed to 'Default' in the "Image types" tab 3. Fixed the moving icon in the "Output" tab For more details: https://bugzilla.yoctoproject.org/show_bug.cgi?id=2162 [Yocto #2162] (Bitbake rev: db7d98569117b7a75262eb555e1c7ae9a421bdf8) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: Fix 'User selected' tag functionalityConstantin Musca2012-10-022-6/+13
| | | | | | | | | | | | | | | - the 'User selected' tag is only used when the user selects a package - fix hob to remember which packages are 'User selected' - if the package is already brought in by some other package, it should not appear as 'User selected' [YOCTO #3108] (Bitbake rev: 2391e9ba7034d4f90bafa5732d8efa8166f69950) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/settings: Change the 'Delete' button behaviour in the shared ↵Cristiana Voicu2012-10-021-16/+21
| | | | | | | | | | | | | | state settings tab -the tab shows an empty mirror row when no mirror is configured -able to delete the mirror row even if it's not empty(if it's not the first mirror) [YOCTO #3189] (Bitbake rev: d6472608112b8af2e98f247e6f89a7f948b2d020) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/image_details: Remove kernel info from detailsIoana Grigoropol2012-10-021-12/+12
| | | | | | | | | | | - removed kernel information from image details [Yocto #3002] (Bitbake rev: 7fc33f0a8a38d9b8984bf884e47e505791536d16) Signed-off-by: Ioana Grigoropol <ioanax.grigoropol@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: tests/utils: Add test for explode_dep_versions2Richard Purdie2012-10-021-0/+15
| | | | | | (Bitbake rev: b1b0aabfab3c94c3b515070d0fb4d7819e2548bc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: utils: Add explode_dep_versions2 to replace explode_dep_versionsRichard Purdie2012-10-021-6/+21
| | | | | | | | | | | | | | | | The API for explode_dep_versions is flawed since there can only be one version constraint against any given dependency. This adds a new function with an API without this limitation. explode_dep_versions() is maintained with a warning printed when its used in a situation where information is lost. This should allow a simple transition to the new API to fix the lost dependency information. join_deps() is updated to deal with data in either format. (Bitbake rev: babeeded21827d8d3e7c7b785a62332ee9d45d4f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: utils.py: Allow explode_dep_versions comparisons to have arbitrary ↵Mark Hatle2012-10-021-15/+47
| | | | | | | | | | | | | | | | | | | whitespace Refactor the explode_dep_versions to be more lenient on whitespace values. The required format is: foo (= 1.10) foo (=1.10) foo ( = 1.10) foo ( =1.10) foo ( = 1.10 ) foo ( =1.10 ) (Bitbake rev: 39c1c12c58fadd854098cf14ebe92f4d307a36dd) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: utils.py: Check for duplicate dependency entriesMark Hatle2012-10-021-1/+4
| | | | | | | | | | | | | | | | | | | | | | explode_dep_versions is not able to have duplicate entries. Previously duplicate entries ended up with the last item being the one returned to the caller. We now detect a collision. We do allow an empty item to have a comparison added to it, or a duplicate with the same comparison without error. When a collision is detected a ValueError exception is thrown. Allowed: foo foo (= 1.12) foo Invalid: foo (= 1.12) foo (= 1.13) (Bitbake rev: d40448f0483a2959e9dcaac9b6dd35839f396a6e) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Fix bad merge of #2162Bogdan Marinescu2012-09-281-19/+4
| | | | | | | | | This patch fixes the bad merge of #2162 fixes on master. (Bitbake rev: 5b84d88f2a47063197f9a20f8ebf0a7ccf22c2eb) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: Error reports are done in a clearer wayCristian Iorga2012-09-282-18/+46
| | | | | | | | | | | | | | | | | | | For long errors (bigger than 200 letters), the text box is scrollable and resizable and text is selectable. Additionaly, all message dialogs are modal. Otherwise, a user could still interact with hob even in an error case, leading to potential problems. See design details in related bugs. Fixes [YOCTO #2960], [YOCTO #2983] (Bitbake rev: be8bf02f2b347edf5514cafc6cb6a44f71118736) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/builddetailspage: fix failure_primary_action_button_clicked_cbConstantin Musca2012-09-281-1/+1
| | | | | | | | | [YOCTO #3194] (Bitbake rev: 660a449bdfd154fed556024f166e69c6931ff634) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/builddetailspage: remove "back" buttonCristiana Voicu2012-09-281-2/+0
| | | | | | | | | | | | When a build fails, there should not be a back button on the screen. All available actions are provided within the failure notification, so no back button is needed. [YOCTO #3104] (Bitbake rev: 03f978d21c7bfbf5f1afc741a43766030f2882a8) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: knotty: Allow displaying of status when no tasks are activeRichard Purdie2012-09-281-2/+5
| | | | | | | | | | | | The console can appear to hang when no tasks are executing even if bitbake is iterating through a large number of tasks behind the scenes. This patch tweaks the footer code to display a status even when no tasks are active to give the user better feedback about what is happening. (Bitbake rev: 0a950ee14fce3a0cb938c22d7c717dc93ce6e25f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: parse/ConfHandler: Add negative lookahead to spot some quoting problemsRichard Purdie2012-09-281-1/+1
| | | | | | | | | | | | | | | | | | | | Syntax like: FOO = "bar" # eek" would result in FOO taking the value 'bar" #eek' which is clearly not the intention. Whilst our metadata is riddled with mixtures of even quotes like: FOO = "d.getVar("X")" odd numbers of quotes seem rare. This patch adds detection of one odd quote which we don't have any of in OE-Core so it seems a valid sanity improvement. (Bitbake rev: 5f892d9b083550e20e37576070ec7d1a94cc88fe) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: set modal flag on progress dialogRoss Burton2012-09-281-1/+2
| | | | | | | | | | | The entire interface isn't usable whilst the progress dialog is up so we might as well set the modal flag so that some WMs (such as GNOME 3) can do nice things with the dialog (such as pin it to the titlebar). (Bitbake rev: 9a19fe8e8c65b75dbbb4ae5401df6d6838495bdd) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>