Displaying 20 results from an estimated 2000 matches similar to: "Bitmap memory leaks (Bug 251)?"
2007 May 10
11
wxRuby2 0.0.40
Congratulations, wxRuby2 0.0.40
but,where is 0.0.40 mswin32.gem?
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2007 Apr 29
8
wxruby unfriendly to other threads?
I''ve seen a few e-mails about multithreading with respect to wxruby
but nothing recent. Unless I''m mistaken, and that may be, there
still appear to be problems.
The following code seems to hang my spawned thread in favor of the
wxruby event loop:
Thread.new do
puts "in thread"
loop do
sleep 5
puts "looping"
end
end
puts "main
2007 Sep 14
7
Posted this in "dev" last night but I''m not sure that anyone reads it
I''ve been using RSpec in anger for perhaps a total of a few days
and just started playing with Story Runner. Love it.
I also started working on a patch, which ought to be simple, to
allow for Scenarios without supplied blocks to be treated as pending
-- much like "it" in Spec::DSL::ExampleAPI.
That said, I noticed something that seemed odd and chatted with Rein
2007 Sep 12
12
Philosophical questions
Disclaimer: The following are observations by a relatively new user
(couple of weeks) of RSpec and not intended as RSpec trollbait.
Also, forgive me if similar topics have been discussed elsewhere on
the mailing list. I at least did the due diligence of a quick search.
That said...
I''ve been positively thrilled with RSpec for use outside of Rails.
It has been in my attempts
2007 May 03
1
memory leaks
Have tracked down a fairly serious cause of memory leakage in wxRuby2.
swig/fixdeleting.rb adds a hash mapping from pointer address to ruby
VALUE in every director initialiser using GcMapPtrToValue.
The problem is that being a value in this global hash means that every
Wx::Bitmap (for example, and others) are always marked in ruby''s GC mark
phase, so they are never collected until
2007 May 21
13
First drop of new memory management
Hi
Just a quick update on memory leaks etc. I''ve just dropped a bunch of
patches with a new approach to linking ruby''s GC to Wx''s memory
handling. Still some work to do - eg bigdemo.rb falls over quite quickly
- but working well for me on other samples.
Briefly, it disposes of fixdeleting. For almost all objects that aren''t
Windows, they should now be
2007 Jun 25
0
[1070] trunk/wxruby2/swig/fixdeleting.rb: Remove old, now unused, fixdeleting script
<!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:
2007 Mar 17
0
[887] branches/wxruby2/wxwidgets_282/swig/fixdeleting.rb: Deleting fix for specific Director classes (Artur Kuptel)
<!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:
2005 Aug 08
4
wxruby2 swig retooling "complete"
I just re-integrated fixdeleting.rb, the last of the post-processors.
Running minimal.rb no longer segfaults on exit. Running dialogs.rb and
immediately exiting doesn''t segfault, but bringing up a dialog and then
exiting does.
So there are still memory problems, but fewer than yesterday :-/ I''m not
sure how it compares to last week.
I probably won''t have much time
2005 Aug 12
5
Functions that return objects...
I was investigating why the find dialog causes an error when you close
it. It seems that wxRuby2 is returning a new ruby object when you call
Event.get_dialog. This causes some big problems when you''re expecting
you''re going to get back the same ruby pointer that you put in. In a
brief check over the source I don''t see anything that preserves the
original ruby
2005 Aug 18
3
wxDebug
For debug builds we define __WXDEBUG__ and WXDEBUG=1. In the swig code
we add a check for wxDEBUG to directors. My guess is we mean for one of
those defines to be the other. Which one should we change? wxDEBUG->
WXDEBUG or WXDEBUG-> wxDebug?
Roy
2005 Aug 14
2
Object map
I''ve spent a couple hours tracking through the code and reading Swig
documentation to try to find out about tracking C objects back to Ruby
objects. It''s not so easy to do. I took at look at wxPython and their
source is a mess! I wasn''t able to glean anything from them on how they
do it. My current hypothesis is to trap SWIG_NewPointerObj calls and
build a map.
2007 May 07
9
0.0.40 tagged
I''ve tagged 0.0.40 in subversion and created the release on rubyforge.
Roy, Sean, please could you compile and upload the binary gems when you
have a moment - thanks in advance. Drop me a line off list so I know
when to make an announcement.
cheers
alex
2004 Aug 20
8
wxruby-swig: where does wxclasses-2.4.2.xml comes from?
Was trying to understand more about the internals of wxruby-swig, where
does the big chunk of XML comes from? I saw something similiar in
Python, is that massaged out of there?
The codes produced by extractxml.rb and wxclasses-2.4.2.xml is quite
different from the original header files. Just for example the WxDialog
class.
OnXXX are non-virtual in WxWidgets, but virtual in wxruby-swig
2007 Jul 05
8
when can publish the next version?
when can publish the next version?
i am waiting...
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2008 Jul 28
12
Segfault with GridCellChoiceEditor
I have a problem.
In my application I have a few Grid objects in a Notebook. The Grid objects
are populated via GridTableBase. Certain Grid cells need to have a choice
interface (I''m artificially enforcing foreign key constraints). All this
works to the point where you try to edit the value for that cell. The
choice box renders (i.e. the drop down arrow appears) then the application
2009 Feb 15
4
Compatibility Issues?
I''m running Ruby 1.9.1 (Win32) and I installed the
wxruby-1.9.10-x86-mswin32-60 gem.
But when I try to run a script with it, I get an error, "This
application has failed to start because msvcrt-ruby18.dll was not
found."
I also get this output:
C:/Program
Files/Ruby/lib/ruby/gems/1.9.1/gems/wxruby-1.9.10-x86-mswin32-60/lib/wx.rb:12:in
`require'': 126: The specified
2006 Jul 24
6
MiniFrame.i
Hi
Another little patch, adding MiniFrame (a frame with small title bar and
buttons which doesn''t appear in the desktop taskbar).
Also a sample - not very interesting, happy to roll this into something
else if that''s better.
cheers
alex
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
2005 Aug 07
4
Reswigged link error
After reswigging I get link problems:
Functions.obj : error LNK2001: unresolved external symbol _mWxruby2
Mac.obj : error LNK2001: unresolved external symbol _mWxruby2
Events.obj : error LNK2001: unresolved external symbol _mWxruby2
...
Which is intriguing since it seems to be defined in wx.cpp
2006 Oct 02
14
0.0.36 tagged and released
Hi
I''m pleased to let you know that wxruby2-preview 0.0.36 is now available
on Rubyforge. Binary gems to follow...
To check out a clean copy from SVN and build from source:
svn co svn://rubyforge.org/var/svn/wxruby/tags/wxruby2/0.0.36
cd 0.0.36
rake gem WXRUBY_VERSION=0.0.36
From my reading of SVN docs it''s probably wise for developers to
checkout anonymously as a bit of