similar to: FXlistBox.fillItems() segmentation fault - Found Work-around

Displaying 20 results from an estimated 100 matches similar to: "FXlistBox.fillItems() segmentation fault - Found Work-around"

2005 Mar 23
2
FXListBox size behavior?
The default behavior of FXListBox seems to be to grow and shrink in width depending on the length of the selected entry in the list. This is a problem when the list contains items of varying width, because if a short item is picked then the longer entries are obscured in the drop-down list. Is this deliberate, an oversight, or a bug? Its certainly not how I''d choose it to act. Is
2006 Apr 25
5
FXListBox ...connect(SEL_COMMAND)
Hi, I think I got a problem with the FXListBox widget. ( ruby 1.8.4 (2005-12-24) [i386-mswin32]) ) FXListBox.new(parent, nil, 0) do |libo4| libo4.appendItem("0 very weird") libo4.appendItem("1 very weird") libo4.appendItem("2 very weird") libo4.appendItem("3 very weird") libo4.appendItem("4 very
2004 Oct 04
1
Making a FXListBox open up
How would I programatically make a FXListBox pop open? I have searched through the Fox mailing list archive, but did not find anything. Thanks. Jamey Confidentiality Notice: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. If you are not the intended recipient(s), you are hereby notified
2012 Mar 08
5
FXRuby 1.6.23 released
Hi fxruby hackers, new version 1.6.23 is out with the following changes. Unfortunately the fxruby.org homepage is down and I don''t have access to it. Therefore I''ve moved the documentation to http://rubydoc.info/github/larskanis/fxruby/1.6/frames and converted to yard. Have fun! === 1.6.23 / 2012-03-08 * Add YARD documentation support * Use generated Manifest.txt * Support
2003 Aug 24
0
Tcltk changes in R 1.8.0
I have committed a set of changes to the tcltk package for R-1.8.0. The most important changes are 1) Support for Tcl arrays, which should come in handy for people playing with things like the tkTable extension. Basically these work like tclVar objects but can be subscripted (notice that these beasts are associative - like a Perl hash - rather than objects of set dimensions). Basic
2005 May 17
1
returning an empty list.
I would like to return an empty list from a C function. This I would do as: if (file.exists()) { /* do something */ } else { SEXP empty_list; PROTECT(empty_list = NEW_LIST(0)); UNPROTECT(1); return empty_list; } The PROTECT, UNPROTECT lines seemed like overkill to me, but as far as I understood the documentation this seemed like the correct usage. It seems like I could
2007 May 02
0
Selected value in a combobox
I''m using ActiveScaffold. In the file house_helper.rb I have written the code: def house_form_column(record, input_name) ... list = House.find(:all, :include => ''city'') new_list=... ... list do |element| if record = element.name selec=element.id end end select_tag ''X'',options_for_select(new_list, selected=selec),
2007 Mar 29
0
[927] branches/wxruby2/wxwidgets_282/swig/classes: Changed the version of InsertItem that puts the item before current selection to InsertItemBefore
<!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:
2003 Nov 18
1
How to return a big treelike list from .Call Interface (protect stack overflow)
I try to create a big treelike list structure using the RDefines/RInternal macros. The tree carries information at each node (attribute list) and at each leaf (vector). My understanding is that for each node I add to the binary tree I have to call PROTECT(newnode = NEW_LIST(2)); and cannot UNPROTECT before I return the whole tree. Same story for node attributes and leaf vectors. However, this
2008 Jul 13
4
How to justify text in text_field_tag
I would like to have the text in a text_field_tag right justified instead of left justified. Is there a way to do this? Thanks, Alex -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2006 May 23
1
protect
I have a few simple questions about the usage of PROTECT, more specifically how careful one needs to be. Simple yes/no answers are fine. Most of the uses I have seen do protection when memory is allocated. But what if one just want to assign a value of another function to a variable. Say eg. that foo is a function that returns a SEXP. Would the following code be fine? SEXP bar;
2001 Sep 10
1
not safe to return vector pointer
Hello All, I recently upgraded from R-1.1.1 to R-1.2.2. I have an R function that uses .Call() to return a list from C code. The C code has the form: SEXP function(SEXP var) { SEXP rlist ; PROTECT(rlist = NEW_LIST(3)) ; VECTOR_PTR(rlist)[0] = NEW_INTEGER(1) ; VECTOR_PTR(rlist)[1] = NEW_STRING(1) ; ... UNPROTECT(1) ; return(rlist) ; } When I try to
2005 Jul 12
1
allocation of large matrix failing
Hello, this is probably something silly which I am doing, but I cannot understand why this allocation is not happening. Here is a my C code which tries to allocate a list of size 333559, and then a matrix of size 8*333559 I thought I might be running into memory problems, but R is not even using that much (I start R with more memory and it stays constant) Also, I start R as I normally do and I
2003 Dec 10
0
C++: SET_LENGTH() Over Many Iterations?
In a C++ extension to R (v 1.8.1), I've been experimenting with a generic "push back" function to tack one value at a time onto the end of an R vector created within the extension. After calling this function a certain number of times Rgui.exe (I'm writing in Windows using Visual Studio .NET 2003) will fail with an Access Violation, which doesn't happen when I pre-allocate
2004 Jan 09
1
Call and memory
I use a large real matrix, X, in C code that is passed from R and transposed in place in the C code. I would like to conserve memory and, if possible, allocate space for only one copy of X -- hence I would like to pass a pointer to the data in the X object to the C code. The Writing R Extensions manual says that neither .Call nor .External copy their arguments. They also say that these
2009 Mar 30
0
gdmgreeter and powersave
I have a bunch of workstations running CentOS 5.2. When the gdmgreeter is displayed, the monitor never blanks or powers off even though I have DPMS enabled in xorg.conf. When a user is logged in it works as expected. I Googled around and saw some references to this happening, but have not found a solution. Am I missing something obvious? The display adapters are Radeon 2400X's and use
2000 Apr 01
1
Bug ? mine or ? in R core
Dear R Gurus, I would very much appreciate some help with this code snippit from my RODBC package. R crashes or exhibits bizarre behaviour when repeatedly fetching large numbers of rows. Examples: > odbcFetchRows(0,max=50000)->xx > odbcFetchRows(0,max=50000)->xx > odbcFetchRows(0,max=50000)->xx > odbcFetchRows(0,max=50000)->xx > odbcFetchRows(0,max=50000)->xx 3rd
2011 Dec 04
0
Core Dump upon IMAP Login with latest HG (2.1) c067025026ed
Dec 4 07:27:41 spectre dovecot: imap-login: Login: user=<tlx at leuxner.net>, method=PLAIN, rip=84.58.184.122, lip=1.2.3.4, mpid=30987, TLS Dec 4 07:27:42 spectre dovecot: imap-login: Login: user=<tlx at leuxner.net>, method=PLAIN, rip=84.58.184.122, lip=1.2.3.4, mpid=30990, TLS Dec 4 07:27:42 spectre dovecot: master: Error: service(imap): child 30990 killed with signal 11 (core
2005 Jul 27
2
SWIGging ConfigBase
Hi all I''m trying to write an .i file for ConfigBase. If I can figure out a few general SWIG things then I think most of it will work. Apols for the noob swig questions. The C++ class has lots of overloaded methods called Read, which return different kinds of values. In wxruby-not-swig these are implemented as read, read_bool, read_int and so on. read() means read_string(). In ruby
2019 Aug 16
0
Wine release 4.14
The Wine development release 4.14 is now available. What's new in this release (see below for details): - New version of the Mono engine with upstream updates. - PE dlls no longer rely on the MinGW runtime. - Exception handling fixes on ARM64. - Various bug fixes. The source is available from the following locations: https://dl.winehq.org/wine/source/4.x/wine-4.14.tar.xz