* [PATCH 0/2] Hob fixes
@ 2011-09-21 1:13 Joshua Lock
2011-09-21 13:06 ` Richard Purdie
0 siblings, 1 reply; 8+ messages in thread
From: Joshua Lock @ 2011-09-21 1:13 UTC (permalink / raw)
To: bitbake-devel
The first patch is another case of my submitting patches with a dumb typo in,
apologies folks, it re-enables the right-click menu for the log messages of
failed tasks.
The second patch fixes the consistency and the URI of the 'Browse folder of
built images" label.
Richard, please consider these for Yocto 1.1 as well as master.
Regards,
Joshua
The following changes since commit 705156e2812afb288632f01416fcbbf9add26bee:
hob: enable package only builds even if an image has been built (2011-09-19 15:28:09 -0700)
are available in the git repository at:
git://github.com/incandescant/bitbake hob
https://github.com/incandescant/bitbake/tree/hob
Joshua Lock (2):
ui/crumbs/runningbuild: fix log messages right-click menu
hob: fix opening of image output dir on image build completion
lib/bb/ui/crumbs/hobeventhandler.py | 5 ++++-
lib/bb/ui/crumbs/runningbuild.py | 8 ++++----
2 files changed, 8 insertions(+), 5 deletions(-)
--
1.7.6.2
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 0/2] Hob fixes
2011-09-21 1:13 Joshua Lock
@ 2011-09-21 13:06 ` Richard Purdie
0 siblings, 0 replies; 8+ messages in thread
From: Richard Purdie @ 2011-09-21 13:06 UTC (permalink / raw)
To: Joshua Lock; +Cc: bitbake-devel
On Tue, 2011-09-20 at 18:13 -0700, Joshua Lock wrote:
> The first patch is another case of my submitting patches with a dumb typo in,
> apologies folks, it re-enables the right-click menu for the log messages of
> failed tasks.
>
> The second patch fixes the consistency and the URI of the 'Browse folder of
> built images" label.
>
> Richard, please consider these for Yocto 1.1 as well as master.
>
> Regards,
> Joshua
>
> The following changes since commit 705156e2812afb288632f01416fcbbf9add26bee:
>
> hob: enable package only builds even if an image has been built (2011-09-19 15:28:09 -0700)
>
> are available in the git repository at:
> git://github.com/incandescant/bitbake hob
> https://github.com/incandescant/bitbake/tree/hob
>
> Joshua Lock (2):
> ui/crumbs/runningbuild: fix log messages right-click menu
> hob: fix opening of image output dir on image build completion
Merged to master, thanks.
Richard
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 0/2] Hob fixes
@ 2012-03-26 14:33 Shane Wang
0 siblings, 0 replies; 8+ messages in thread
From: Shane Wang @ 2012-03-26 14:33 UTC (permalink / raw)
To: bitbake-devel
These are some fixes for Hob.
The following changes since commit db529f9f7d9015656c67c548975d918a1908de1a:
documentation/poky-ref-manual/development.xml: another env var clarification (2012-03-26 12:13:49 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib shane/hob
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=shane/hob
Shane Wang (2):
Hob: Set one of deployable images or runnable images as the default
toggled item
Hob: show (package, task) pair which is being executed on the build
details screen
bitbake/lib/bb/ui/crumbs/builddetailspage.py | 23 ++++++---
bitbake/lib/bb/ui/crumbs/builder.py | 12 +++-
bitbake/lib/bb/ui/crumbs/imagedetailspage.py | 72 ++++++++++++++++---------
bitbake/lib/bb/ui/crumbs/runningbuild.py | 7 +++
4 files changed, 78 insertions(+), 36 deletions(-)
--
1.7.6
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 0/2] Hob fixes
@ 2012-04-12 14:19 Shane Wang
2012-04-12 14:22 ` [PATCH 1/2] Hob: fix the missing functions Shane Wang
2012-04-12 14:22 ` [PATCH 2/2] Hob: forbid users to exit Hob directly when Hob is busy Shane Wang
0 siblings, 2 replies; 8+ messages in thread
From: Shane Wang @ 2012-04-12 14:19 UTC (permalink / raw)
To: bitbake-devel
The two patche are going to fix:
- Hob can not be launched because a function is missing when being merged.
- Walkaround for exit Hob issue when Hob is parsing recipes.
The following changes since commit 58d2ff3955f5ab8712516651ad6cc51d86bc1ba1:
package_rpm.bbclass: Use the correct macros file to avoid empty solvedb path issues (2012-04-12 08:22:00 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib shane/hob_0412
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=shane/hob_0412
Shane Wang (2):
Hob: fix the missing functions
Hob: forbid users to exit Hob directly when Hob is busy
bitbake/lib/bb/ui/crumbs/builder.py | 6 ++++++
bitbake/lib/bb/ui/crumbs/packageselectionpage.py | 8 ++++++--
2 files changed, 12 insertions(+), 2 deletions(-)
--
1.7.6
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/2] Hob: fix the missing functions
2012-04-12 14:19 [PATCH 0/2] Hob fixes Shane Wang
@ 2012-04-12 14:22 ` Shane Wang
2012-04-12 14:22 ` [PATCH 2/2] Hob: forbid users to exit Hob directly when Hob is busy Shane Wang
1 sibling, 0 replies; 8+ messages in thread
From: Shane Wang @ 2012-04-12 14:22 UTC (permalink / raw)
To: bitbake-devel
The patch is to correct 7e5d41ab223b73c1c7b2cf7e4dd13289a2dc2e8b
(Bitbake rev: b6e68019494044305ab28492a517d1eafea851c3) to fix the
missing functions.
[Yocto #2281]
Signed-off-by: Shane Wang <shane.wang@intel.com>
---
bitbake/lib/bb/ui/crumbs/packageselectionpage.py | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py
index dce4874..104d49d 100755
--- a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py
+++ b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py
@@ -239,7 +239,11 @@ class PackageSelectionPage (HobPage):
if (not cell) or (not tree):
return
to_render_cells = []
+ view_model = tree.get_model()
+ self.get_excluded_rows(to_render_cells, view_model, view_model.get_iter_first())
- def after_fadeout_checkin_include(self, table, ctrl, cell, tree):
- tree.set_model(self.recipe_model.tree_model(self.pages[0]['filter']))
+ cell.fadeout(tree, 1000, to_render_cells)
+ def after_fadeout_checkin_include(self, table, ctrl, cell, tree):
+ tree.set_model(self.package_model.tree_model(self.pages[0]['filter']))
+ tree.expand_all()
--
1.7.6
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/2] Hob: forbid users to exit Hob directly when Hob is busy
2012-04-12 14:19 [PATCH 0/2] Hob fixes Shane Wang
2012-04-12 14:22 ` [PATCH 1/2] Hob: fix the missing functions Shane Wang
@ 2012-04-12 14:22 ` Shane Wang
1 sibling, 0 replies; 8+ messages in thread
From: Shane Wang @ 2012-04-12 14:22 UTC (permalink / raw)
To: bitbake-devel
When Hob is busy with generating data, exiting Hob is not allowed.
That should be reasonable because at that time the mouse cursor is not a pointer.
If users want to exit, they can click "Stop" first and then do exit.
That is also a walkaround for [Yocto #2142]
Signed-off-by: Shane Wang <shane.wang@intel.com>
---
bitbake/lib/bb/ui/crumbs/builder.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index 10b9a77..e3f2d40 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -274,6 +274,9 @@ class Builder(gtk.Window):
# Indicate whether user has customized the image
self.customized = False
+ # Indicate whether the UI is working
+ self.sensitive = True
+
# create visual elements
self.create_visual_elements()
@@ -584,6 +587,7 @@ class Builder(gtk.Window):
self.get_root_window().set_cursor(gtk.gdk.Cursor(gtk.gdk.LEFT_PTR))
else:
self.get_root_window().set_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH))
+ self.sensitive = sensitive
def handler_generating_data_cb(self, handler):
@@ -738,6 +742,8 @@ class Builder(gtk.Window):
self.build_details_page.show_issues()
def destroy_window_cb(self, widget, event):
+ if not self.sensitive:
+ return True
lbl = "<b>Do you really want to exit the Hob image creator?</b>"
dialog = CrumbsMessageDialog(self, lbl, gtk.STOCK_DIALOG_INFO)
button = dialog.add_button("Cancel", gtk.RESPONSE_NO)
--
1.7.6
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 0/2] Hob fixes
@ 2012-04-14 18:58 Shane Wang
2012-04-14 22:59 ` Richard Purdie
0 siblings, 1 reply; 8+ messages in thread
From: Shane Wang @ 2012-04-14 18:58 UTC (permalink / raw)
To: bitbake-devel
The fixes include:
- remember settings and layers between Hob sessions.
- continue to fix another case to forget user selection when settings are changed.
The following changes since commit 276b86509ba29046828d283f15ae44ae0850d1d0:
Hob: Use BB_DEFAULT_TASK as build task instead of hardcoded "build" (2012-04-14 14:43:24 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib shane/hob_0413
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=shane/hob_0413
Shane Wang (2):
Hob: remember layers and settings between Hob sessions
Hob: reset user recipe selection and package selection after settings
are changed
bitbake/lib/bb/ui/crumbs/builddetailspage.py | 16 +-
bitbake/lib/bb/ui/crumbs/builder.py | 170 ++++++++++++-------
bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 1 -
bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | 4 +-
bitbake/lib/bb/ui/crumbs/template.py | 24 +++-
5 files changed, 136 insertions(+), 79 deletions(-)
--
1.7.6
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 0/2] Hob fixes
2012-04-14 18:58 [PATCH 0/2] Hob fixes Shane Wang
@ 2012-04-14 22:59 ` Richard Purdie
0 siblings, 0 replies; 8+ messages in thread
From: Richard Purdie @ 2012-04-14 22:59 UTC (permalink / raw)
To: Shane Wang; +Cc: bitbake-devel
On Sun, 2012-04-15 at 02:58 +0800, Shane Wang wrote:
> The fixes include:
> - remember settings and layers between Hob sessions.
> - continue to fix another case to forget user selection when settings are changed.
>
> The following changes since commit 276b86509ba29046828d283f15ae44ae0850d1d0:
>
> Hob: Use BB_DEFAULT_TASK as build task instead of hardcoded "build" (2012-04-14 14:43:24 +0100)
>
> are available in the git repository at:
> git://git.pokylinux.org/poky-contrib shane/hob_0413
> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=shane/hob_0413
>
> Shane Wang (2):
> Hob: remember layers and settings between Hob sessions
> Hob: reset user recipe selection and package selection after settings
> are changed
>
> bitbake/lib/bb/ui/crumbs/builddetailspage.py | 16 +-
> bitbake/lib/bb/ui/crumbs/builder.py | 170 ++++++++++++-------
> bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 1 -
> bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | 4 +-
> bitbake/lib/bb/ui/crumbs/template.py | 24 +++-
> 5 files changed, 136 insertions(+), 79 deletions(-)
Merged to master, thanks.
Richard
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-04-14 23:08 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-12 14:19 [PATCH 0/2] Hob fixes Shane Wang
2012-04-12 14:22 ` [PATCH 1/2] Hob: fix the missing functions Shane Wang
2012-04-12 14:22 ` [PATCH 2/2] Hob: forbid users to exit Hob directly when Hob is busy Shane Wang
-- strict thread matches above, loose matches on Subject: below --
2012-04-14 18:58 [PATCH 0/2] Hob fixes Shane Wang
2012-04-14 22:59 ` Richard Purdie
2012-03-26 14:33 Shane Wang
2011-09-21 1:13 Joshua Lock
2011-09-21 13:06 ` Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.