Displaying 20 results from an estimated 200 matches similar to: "GenericDirCtrl#re_create_tree behaviour"
2008 Jun 06
3
GenericDirCtrl problem
I am having a problem getting any event to happen when I activate a
selection on GenericDirCtrl i.e. double click on it.
Could anyone help me out.
thanks in advance.
Joe
Attachments:
http://www.ruby-forum.com/attachment/2123/Random.rb
--
Posted via http://www.ruby-forum.com/.
2007 Apr 13
0
[950] branches/wxruby2/wxwidgets_282: Changes in GenericDirCtrl API 2.6->2.8, fix TreeItemId mapping, remove cruft
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2008 Jan 22
0
[ wxruby-Bugs-17396 ] Wx::GenericDirCtrl#get_tree_ctrl()
Bugs item #17396, was opened at 2008-01-22 03:48
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=17396&group_id=35
Category: Incorrect behavior
Group: current
Status: Open
Resolution: None
Priority: 3
Submitted By: Mario Steele (eumario)
Assigned to: Nobody (None)
Summary: Wx::GenericDirCtrl#get_tree_ctrl()
Initial Comment:
When grabbing
2008 Jan 22
0
Wx::GenericDirCtrl fixes
Hey All,
Just a couple of things to note. I''ve updated the wxGenericDirCtrl.h file,
to include the ReCreateTree() method, as it was missing, and was very simple
to add. I''ve compiled, and checked to make sure everything looks good, and
it does.
Also, a temporary solution, till wxGenericDirCtrl#get_tree_ctrl() is fixed,
is that you can sub-class Wx::GenericDirCtrl() into your
2008 Jan 21
0
Wx::GenericDirCtrl Segfault Crash
Hey Alex,
Found another GC bug in wxRuby. I ran into this problem, when trying to
implement Wx::GenericDirCtrl into wxRuby. The specific case in which this
is occuring, is when I attach the two event handlers for
evt_tree_item_expanding() and evt_tree_item_activated() when grabbing the
Wx::GenericDirCtrl#get_tree_ctrl(). All I have it doing, is attempting to
catch these events (Which I really
2007 Sep 10
2
syntax II
Hi
Given the warm response to the syntax additions in 1.9.1 I''m considering
moving one or two more syntax extensions into core, and would like your
thoughts. Last ones, I promise. Realise we don''t want much more API
change now, but also we''ll probably also have to live with whatever we
settle on for 2.0 for a little while, so...
1) Setting up event handlers
In
2013 Aug 27
7
[PATCH] Btrfs: fix deadlock in uuid scan kthread
If there''s an ongoing transaction when the uuid scan kthread attempts
to create one, the kthread will block, waiting for that transaction to
finish while it''s keeping locks on the tree root, and in turn the existing
transaction is waiting for those locks to be free.
The stack trace reported by the kernel follows.
[36700.671601] INFO: task btrfs-uuid:15480 blocked for more than
2013 Jun 04
3
[PATCH] Btrfs: fix broken nocow after balance
Balance will create reloc_root for each fs root, and it''s going to
record last_snapshot to filter shared blocks. The side effect of
setting last_snapshot is to break nocow attributes of files.
So it turns out that checking last_snapshot does not always ensure that
a node/leaf/file_extent is shared.
That''s why shared node/leaf needs to search extent tree for number of
2012 Aug 01
17
[PATCH] add crtime to the snapshot list
From: Anand <anand.jain@oracle.com>
This patch adds creation-time to the snapshot list display,
which would help user to better manage the snapshots when
number of snapshots grow substantially. This patch is developed
and on top of the send/receive btrfs and btrfs-progs repo at
git://github.com/ablock84/linux-btrfs.git (send-v2)
git://github.com/ablock84/btrfs-progs.git (send-v2)
2006 Aug 01
18
GenericDirCtrl
A little patch to add Wx::GenericDirCtrl. A non-native control (on OS X
at least) but maybe useful to someone. I have tested it but think it
should just be added to controls.rb sample - will do later when i have
fixed some other probs with that.
Also, I''ve started putting class-specifc style constants in the relevant
.i file, as discussed previosuly - will submit a patch doing this
2012 Nov 01
41
[Request for review] [RFC] Add label support for snapshots and subvols
From: Anand Jain <anand.jain@oracle.com>
(This patch is for the review/test not yet for the integration).
Here is an implementation of the feature to add label to the
subvolume and snapshots. Which would help sysadmin to better manager
the subvol and snapshots.
This can be done in two ways, one - using attr which is user land
only changes but drawback is able to change the label
2013 Sep 22
10
[PATCH] Btrfs: fix sync fs to actually wait for all data to be persisted
Currently the fs sync function (super.c:btrfs_sync_fs()) doesn''t
wait for delayed work to finish before returning success to the
caller. This change fixes this, ensuring that there''s no data loss
if a power failure happens right after fs sync returns success to
the caller and before the next commit happens.
Steps to reproduce the data loss issue:
$ mkfs.btrfs -f /dev/sdb3
$
2007 Sep 17
7
Re : syntax II
Alex Fenton wrote :
>1) Setting up event handlers
>
>In most real apps, I think the most normal way to set up event handlers
>is for the event to be dealt with by a corresponding method. At the
>moment this has to be done using a block:
>
>evt_button(AN_ID) { on_button_click }
>evt_button(my_button.get_id) do | event |
> on_button_click(event)
>end
>evt_size { |
2013 Dec 16
6
[PATCH 0/3] Send: minor cleanups, add RO checks
First two patches are trivial cleanups that I''ve spotted while reading send.c,
can be applied independently.
The third patch contains the important bits, safety checks that the subvolumes
involved in send do not accidentally lose the RO status. I haven''t seen this
documented anywhere that this is mandatory, implied from how I assume send
works. Please let me know if this is
2013 May 14
1
[PATCH] Btrfs-progs: fix missing recow roots when making btrfs filesystem
When making btrfs filesystem. we firstly write root leaf to
specified filed, and then we recow the root. If we don''t recow,
some trees are not in the correct block group.
Steps to reproduce:
dd if=/dev/zero of=test.img bs=1M count=100
mkfs.btrfs -f test.img
btrfs-debug-tree test.img
extent tree key (EXTENT_TREE ROOT_ITEM 0)
leaf 4210688 items 10 free space 3349 generation 4 owner 2
2012 Feb 10
13
can't read superblock (but could mount)
Hi!
I used to have arch linux running on 1 btrfs partition (sda1, incl. /boot).
When switching to 3.2.5 recently the system fails to boot:
(after udevd)
/etc/rc.sysinit: line 15: 117 Bus error mountpoint -q /proc
and so on, no idea.
It used to boot with 3.2.4, but
1) I obviously had some corruption in the tree, when I tried to delete a
certain file I hit e.g. "kernel BUG at
2006 Dec 02
0
[770] trunk/wxsugar/lib/wx_sugar/keyword_classes.rb: Fix some broken ones (Alex Spelling), add some new & missing ones; add
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2011 May 30
5
Damaged super block / fs root
I have accidently damaged the first block(s) of a btrfs partition
and can''t mount it anymore.
I can see that my data is still intact by running a command like:
cat /dev/sda5 | hexdump -C | more
Do any (experimental) tools exist which would allow me to recover the files?
Thank you
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a
2008 May 18
0
[ wxruby-Bugs-20211 ] Unresolved symbol due to linkage error
Bugs item #20211, was opened at 2008-05-18 13:46
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=20211&group_id=35
Category: Compile/build
Group: current
Status: Open
Resolution: None
Priority: 3
Submitted By: Tobias Peters (t-peters)
Assigned to: Nobody (None)
Summary: Unresolved symbol due to linkage error
Initial Comment:
While compiling wxruby
2013 May 20
2
[PATCH] Btrfs: fix estale with btrfs send
This fixes bugzilla 57491. If we take a snapshot of a fs with a unlink ongoing
and then try to send that root we will run into problems. When comparing with a
parent root we will search the parents and the send roots commit_root, which if
we''ve just created the snapshot will include the file that needs to be evicted
by the orphan cleanup. So when we find a changed extent we will try