Displaying 20 results from an estimated 800 matches similar to: "memory mgmt etc"
2007 May 21
0
[1024] trunk/wxruby2/swig: Memory mgmt: defs and implementation of new memory management; strip
<!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 Jul 04
0
[1108] trunk/wxruby2/swig: Revised mem mgmt for Sizers to address more GC crashes in Sizers demo
<!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 May 21
0
[1021] trunk/wxruby2/rake/rakewx.rb: Memory mgmt: don''t run fixdeleting anymore
<!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
5
Fix for crash at exit
Hi
This is a very small patch that seems to solve that "Exit the app and
get a segfault in return" problem.
Another thing: bigdemo.rb:395 does
item = event.get_item()
if item.is_ok
but get_item typemaps TreeItemId into a plain integer, so it doesn''t
have is_ok method anymore, is there
any wxruby2''yish solution to this kind of problem ?
A.K.
In case
2006 Nov 13
0
[738] trunk/wxruby2/Changelog: bigdemo fix, fix tarball & gem
<!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 Jan 23
2
maybe fix for MSW segfaults
Hi
Have been wrestling with the frequent GC segfaults on Windows.
Seems they occur b/c Windows sends Events (UpdateUIEvents, I think) with
the same pointer repeatedly. These get wrapped in a ruby Event object as
they are processed, and a mapping stored through SWIG''s trackobjects.
However, the ruby object isn''t referenced anywhere, so gets swept and
destroyed by GC when it
2005 May 19
1
Problems installing wxRuby on Mac OS X 10.3.9
I tried to install wxRuby on my Mac, but I get the following error.
g++ -fno-common -g -O2
-pipe -fno-common `wx-config --cxxflags` -I.
-I/usr/local/lib/ruby/1.8/powerpc-darwin7.9.0
-I/usr/local/lib/ruby/1.8/powerpc-darwin7.9.0 -I. -x objective-c++
-c htmleasyprinting.cpp
htmleasyprinting.cpp: In static member function `static VALUE
WxHtmlEasyPrinting::PrinterSetup(int, VALUE*,
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:
2006 Sep 22
1
trackobjects and SWIG 1.3.30
I have some conditional code based on the SWIG version. Current
versions of SWIG 1.3.30 still don''t fix %trackobjects correctly so I''m
going to remove the test for now so it builds correctly with my version
of SWIG. Hopefully before 1.3.30 is released we''ll have a better
trackobjects in SWIG.
Roy
_______________________________________________
wxruby-users
2007 Mar 18
0
[890] branches/wxruby2/wxwidgets_282/swig/fixdeleting.rb: Fix crash on exit (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:
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:
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 May 22
0
[1032] trunk/wxruby2/swig: Preserve Sizers associated with Windows from GC; fix several sample
<!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:
2006 Nov 12
0
[728] trunk/wxruby2/Changelog: HTML classes, Window[ChangeDestroy]Event, sample fix, client_data
<!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:
2006 Nov 21
0
[747] trunk/wxruby2/Changelog: get_item stuff, evt_toolbar, also correct a commit from 0.0.37 that I missed
<!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:
2006 Nov 07
0
[722] trunk/wxruby2/swig: Wx::Choice fixes for get_client_data (AF)
<!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 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 Jul 05
0
[1109] trunk/wxruby2/swig: Move marking of MenuBar from direct %markfunc to via mark_wxFrame, so
<!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:
2006 Nov 13
0
[734] trunk/wxruby2/samples/bigdemo/bigdemo.rb: Remove debug output line I forgot to remove before I did a commit.
<!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 Jan 22
0
[850] trunk/wxruby2/samples/bigdemo/bigdemo.rb: Fix crasher when selecting first-level category in tree
<!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: